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.

Format of package.json is incorrect for dependencies and devDependencies

See original GitHub issue

Hello, I’m experiencing this error https://github.com/electron-userland/electron-builder/issues/3050 attempting to build Babylon into Electron. This is because the dependencies and devDependencies are an empty Array []. This should be {} (or removed). Here’s the snippet from the latest release:

{
    // ...
    "dependencies": [],
    "devDependencies": [],
    // ...
}

If someone could fix this in the packaging, that would be awesome.

Thanks for a great library.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
deltakoshcommented, Oct 28, 2019

I’ll check with seb and I’ll build a new npm package 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

npm install won't install devDependencies - node.js
I don't understand why npm install doesn't install devDependencies too, but installs only dependencies. What could be the reason? How can I fix ......
Read more >
Adding dependencies to a package.json file
To add dependencies and devDependencies to a package.json file from the command line, you can install them in the root directory of your...
Read more >
npm install not installing dependencies listed in package. ...
I'm opening this issue because: npm is crashing. npm is producing an incorrect install. npm is doing something I don't understand.
Read more >
Installing Dev Dependencies with npm: Beginners' Guide
NPM installs devDependencies within the package.json file. The 'npm install' command should add all the dependencies and devDependencies ...
Read more >
Common npm mistakes
With npm 2, if your package.json listed a peer dependency, when someone installed your package, that dependency was also automatically installed ...
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