Skip to content
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

Error: Cannot find package.json in the C:\_DEV\_theProject #1707

Closed
azurinko opened this issue Jun 19, 2017 · 6 comments
Closed

Error: Cannot find package.json in the C:\_DEV\_theProject #1707

azurinko opened this issue Jun 19, 2017 · 6 comments
Labels

Comments

@azurinko
Copy link

Error: Cannot find package.json in the C:_DEV_theProject

C:\_DEV\_theProject (master) ([email protected])
λ ls
LICENSE.md  README.md  index.html  main.js  node_modules/  package-lock.json  package.json  renderer.js

package.json :

{
  "name": "Test",
  "version": "1.0.0",
  "description": "A minimal Electron application",
  "main": "main.js",
  "scripts": {
    "pack": "build --dir",
    "dist": "build"
  },
  "repository": "https://github.com/electron/electron-quick-start",
  "keywords": [
    "test",
    "project",
    "demo"
  ],
  "author": "GitHub",
  "license": "CC0-1.0",
  "devDependencies": {
    "electron": "~1.6.2"
  },
  "dependencies": {
    "sqlite3": "^3.1.8"
  }
}
@ert78gb
Copy link

ert78gb commented Jun 19, 2017

I have a same issue with 19.5.1 version on MAC.
I create a build with js api.
My working version: 18.3.0

@develar
Copy link
Member

develar commented Jun 20, 2017

Please attach sample app.

@ert78gb
Copy link

ert78gb commented Jun 20, 2017

https://github.com/ert78gb/agent/tree/issue-250-update-dialog

The build script path is script/release.js

develar added a commit to develar/electron-builder that referenced this issue Jun 20, 2017
develar added a commit to develar/electron-builder that referenced this issue Jun 20, 2017
@develar develar added the bug label Jun 20, 2017
@ert78gb
Copy link

ert78gb commented Jun 20, 2017

Thx. I will test it instantly when the release will available

@develar
Copy link
Member

develar commented Jun 20, 2017

19.6.0

@ert78gb
Copy link

ert78gb commented Jun 20, 2017

19.6.1 LGTM.
create a warning Warning: author is missed in the package.json . but I will fix it :)

You are great

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants