-
-
Notifications
You must be signed in to change notification settings - Fork 197
Main entry is missing. App cannot be started. Verify app bootstrap. #4942
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@job111. please follow the issue template and provide the required versions and logs in order to allow us to investigate it further. Most probably the issue is caused by some Webpack compilation errors. |
I'm having the same issue. Here's the stacktrace when loading to emulator: EDIT: It's also happening when I try to run on my device. NOTE: This is on a freshly migrated Angular project. All the tns.html files have nothing added to them. Version 6.1.0 steps to reproduce: run tns run anroid, emulator or physical device.
Here's my package.json
|
Hey @ace-zhang18, The problem is the way the files are imported. The following import is not correct:
It should be:
Currently NativeScript CLI has an issue when webpack's compilation is not successful - for example when there is a syntax error in the code. In a such situation CLI goes ahead and tries to deploy the application on device. More info can be found here. I'm closing this issue as a duplicate to #3785. |
started facing this problem after migrating to Cli 6.6.0
The text was updated successfully, but these errors were encountered: