question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Application entry can't be found

See original GitHub issue

Hey,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 2016-04-29 10 46 43

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: 2016-04-29 10 51 07 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:closed
  • Created 7 years ago
  • Comments:31 (20 by maintainers)

github_iconTop GitHub Comments

18reactions
Vj3k0commented, Apr 29, 2016

Try setting “main” property in your root package.json to be “app/index.js”

1reaction
demetris-manikascommented, May 11, 2016

@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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found