java.lang.RuntimeException

Unable to create application com.tns.NativeScriptApplication: com.tns.NativeScriptException: Application entry point file not found. Please specify the file in package.json otherwise make sure the file index.js or bootstrap.js exists.\nIf using typescript make sure your entry point file is transpiled to javascript.


Solutions on the web56479

Solution icon of github
via GitHub by chaitanya9186
, 7 months ago
Unable to create application com.tns.NativeScriptApplication: com.tns.NativeScriptException: Application entry point file not found. Please specify the file in package.json otherwise make sure the file index.js or bootstrap.js exists.\nIf using typescript make sure your entry point file is transpiled to javascript.

Solution icon of github
Unable to create application com.tns.NativeScriptApplication: com.tns.NativeScriptException: Application entry point file not found. Please specify the file in package.json otherwise make sure the file index.js or bootstrap.js exists.\nIf using typescript make sure your entry point file is transpiled to javascript.

Solution icon of github
via GitHub by michaellee8
, 7 months ago
Unable to create application com.tns.NativeScriptApplication: com.tns.NativeScriptException: Application entry point file not found. Please specify the file in package.json otherwise make sure the file index.js or bootstrap.js exists.\nIf using typescript make sure your entry point file is transpiled to javascript.

Solution icon of github
Unable to create application com.tns.NativeScriptApplication: com.tns.NativeScriptException: Application entry point file not found. Please specify the file in package.json otherwise make sure the file index.js or bootstrap.js exists.\nIf using typescript make sure your entry point file is transpiled to javascript.

Solution icon of stackoverflow
Unable to create application com.tns.NativeScriptApplication: com.tns.NativeScriptException: Application entry point file not found. Please specify the file in package.json otherwise make sure the file index.js or bootstrap.js exists.\nIf using typescript make sure your entry point file is transpiled to javascript.

Solution icon of github
via GitHub by Pourya8366
, 7 months ago
Unable to create application com.tns.NativeScriptApplication: com.tns.NativeScriptException: Application entry point file not found. Please specify the file in package.json otherwise make sure the file index.js or bootstrap.js exists.\nIf using typescript make sure your entry point file is transpiled to javascript.

Solution icon of github
via GitHub by pluservice
, 4 months ago
Unable to create application com.tns.NativeScriptApplication: com.tns.NativeScriptException: Application entry point file not found. Please specify the file in package.json otherwise make sure the file index.js or bootstrap.js exists.\nIf using typescript make sure your entry point file is transpiled to javascript.

Solution icon of github
Unable to create application com.tns.NativeScriptApplication: com.tns.NativeScriptException: metadata file (treeNodeStream.dat) couldn't be opened!

Solution icon of github
Unable to create application com.tns.NativeScriptApplication: com.tns.NativeScriptException: JavaScript object for Java ID 0 not found. Attempting to call method onCreate

Solution icon of github
via GitHub by Kisun
, 1 year ago
File not found on the server. Make sure the database name is correct.

Stack trace

  • java.lang.RuntimeException: Unable to create application com.tns.NativeScriptApplication: com.tns.NativeScriptException: Application entry point file not found. Please specify the file in package.json otherwise make sure the file index.js or bootstrap.js exists.\nIf using typescript make sure your entry point file is transpiled to javascript. at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4412) at android.app.ActivityThread.access$1500(ActivityThread.java:139) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1270) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:136) at android.app.ActivityThread.main(ActivityThread.java:5086) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:515) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601) at dalvik.system.NativeStart.main(Native Method) Caused by: com.tns.NativeScriptException: Application entry point file not found. Please specify the file in package.json otherwise make sure the file index.js or bootstrap.js exists.\nIf using typescript make sure your entry point file is transpiled to javascript. at com.tns.Module.bootstrapApp(Module.java:341) at com.tns.Runtime.run(Runtime.java:573) at com.tns.NativeScriptApplication.onCreate(NativeScriptApplication.java:17) at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1030) at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4409) ... 10 more Caused by: com.tns.NativeScriptException: Failed to find module: "./", relative to: app// at com.tns.Module.resolvePathHelper(Module.java:159) at com.tns.Module.bootstrapApp(Module.java:339) ... 14 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.