-
-
Notifications
You must be signed in to change notification settings - Fork 40
Application entry point file not found using --bundle #588
Comments
@jgerryl the error
|
@jgerryl another thing we noticed is that you are setting the extended activity as application entry
Remove the line
Details here |
Hi @NickIliev thanks for your response, already done it but it gives another error. I'm using lazy load so need to install awesome-typescript-loader and angular-router-loader as you can see in my webpack.config.js.
and bunch of error like
I try this in ts.config file but still got the same error
And i do this to app.module.ts
should i open new issue on this? |
Just want to share i solve error Module build failed and error when click a button by changing tsconfig.json and add include property and change files property like this
so the remain errors are [at-loader] and Unable to instantiate Activity ComponentInfo{com.myApp.id/com.kre.NativeScriptActivity}: com.tns.NativeScriptException: Failed to create Java Script extend wrapper for class 'com/kre/NativeScriptActivity'. Anyone have a suggestions? Because when i use tns run android --bundle --env.uglify it stopped. Thanks |
+1 |
@jgerryl not exactly sure which of the errors you have encoutered are resolved - can you clarify the case and also test by updating to [email protected] and following the updated instructions and examples as done here |
@NickIliev i already tried couple times from the link you gave still no good result. I already update to [email protected] too. But i still get protected OnStart and other. Guess this is the problem of TypeScript.. Do i need to update TypeScript to 2.9.2? But if i update some angular cli or any other angular cannot use TS 2.9.2 Only this issue is resolved by using include
|
@jgerryl you could contact me in the community slack (username: |
Hello, did you guys solve this problem ? i have the same |
Facing same issue |
@c13andka @btulsi-ygrene can you guys share sample projects that are reproducing the issue? Please make sure that your project is updated to latest version of |
upgrading from 0.14.2 => 0.14.3 resolved the issue. not sure what about 0.14.2 caused the issue. |
@btulsi-ygrene i'll try this solution Thanks |
Issue Checklist
Tell us about the problem
I'm trying to use nativescript-dev-webpack. i run
tns build android --bundle
successfully but then got error when usingtns run android --bundle
. I'm using custom main activity and it works fine. unfortunately it app size is too big. I'm following issue #559 but still got another error "application entry point file not found. please specify the file in package.json otherwise make sure the file index.js or bootstrap.js exists." I check my app/package.json in app folder said main : main.js and i check main.js exists.error
Local environment
Project data
The text was updated successfully, but these errors were encountered: