Application entry can't be found
See original GitHub issueHey,all
I followed the two package.json structure in the document, but when I ran npm run build
, it reported an error that Application entry file couldn't be found in package.Seems like a wrong configuration
the package.json in the root of the project is:
...
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"postinstall": "install-app-deps",
"clean": "rimraf dist",
"build": "build"
},
"build": {
"app-bundle-id": "com.smartstudy.toefl",
"app-category-type": "public.app-category.education"
},
...
and the structure of app directory is: the package.json in app directory is:
{
"name": "toefl",
"version": "0.0.1",
"description": "this is toefl-pc",
"main": "./index.js",
"private": true,
"author": "caibirdme",
"license": "ISC",
"dependencies": {
"request": "^2.71.0",
"sequelize": "^3.21.0",
"sqlite3": "^3.1.3"
}
}
version: node 5.10.0 npm 3.8.3 electron 0.37.5 electron-builder 3.13.1
Issue Analytics
- State:
- Created 7 years ago
- Comments:31 (20 by maintainers)
Top Results From Across the Web
Fixed: "Procedure Entry Point Could Not Be Located" Error
The “Procedure Entry Point Could Not Be Located” error is a Windows 10 error that can be caused by many different things. A...
Read more >svchost.exe - Entry Point Not Found - Microsoft Q&A
Entry Point Not Found is an error that indicates that there is a missing or corrupted file within a particular process, which results...
Read more >FIX "Entry Point Not Found" Error In Windows 10/8/7 [Tutorial]
If your Syncios starting unfortunately with the error says “The procedure entry point xmlTextReaderConstName could not be located in the ...
Read more >The Procedure Entry Point Could Not Be Located The ...
The Procedure Entry Point Could Not Be Located The Dynamic Link Library: Fix · Method 1: By Installing the DLL File · Method...
Read more >Error: Application entry point file not found - Stack Overflow
You need tns build android --bundle command as code shared projects work only with --bundle option.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Try setting “main” property in your root package.json to be “app/index.js”
@caibirdme So it seems that electron-builder error message is misleading and should be fixed (I 'll create a PR soon). Can you confirm that the problem still arises on the latest stable release of electron-builder (3.17.1)? Can also you clarify the OS on which your build fails? The output shows building on darwin but in 366 you mention that the error occurs when building on win7-x64. Thanks