Skip to content

fix(runtime): resolve app entry from ApplicationPath in runMainApplication - #58

Closed
NathanWalker wants to merge 1 commit into
mainfrom
fix/runtime-app-entry-resolution
Closed

fix(runtime): resolve app entry from ApplicationPath in runMainApplication#58
NathanWalker wants to merge 1 commit into
mainfrom
fix/runtime-app-entry-resolution

Conversation

@NathanWalker

Copy link
Copy Markdown
Contributor

runMainApplication hardcoded ./app/index.js, which does not exist in
CLI-built apps (they ship app/bundle.js with package.json main: "bundle").
Boot from the configured application directory instead, so the module
resolver's existing directory handling picks the entry from package.json
main and still falls back to index.* for plain layouts.

Found while bringing @nativescript/core up on the ios-quickjs runtime flavor. The seven fixes in this series were validated together on the iOS 26.5 simulator (combined branch: fix/run-main-application-entry): a SolidJS + dominative app boots, renders, and runs stably with all of them applied. Each PR is independent and cherry-picked onto main.

🤖 Generated with Claude Code

…ation

runMainApplication hardcoded ./app/index.js, which does not exist in
CLI-built apps (they ship app/bundle.js with package.json main: "bundle").
Boot from the configured application directory instead, so the module
resolver's existing directory handling picks the entry from package.json
main and still falls back to index.* for plain layouts.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Aug 9, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 292ef006-2f2c-4601-8919-b4a5a87fad84

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant