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.

package.json missing "engine" property

See original GitHub issue

Could you please specify a engine constraint in your package.json


   "engine": "node >= 0.4.1"

Issue Analytics

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

github_iconTop GitHub Comments

colinskowcommented, Mar 14, 2016

OK I will definitely do that for the next release, which I hope to get working on in the next few days. I will go over all the pending pull requests and issues.

I’m relatively new to Javascript and this is my first major open source project, so thanks for all your help!

colinskowcommented, Mar 21, 2016

Official NPM documentation specifies “engines” as the correct field.

I am going to add this:

"engines" : {
    "node" : ">=4.0.0"

It should work on both LTS and latest version, and be tested against both.

Read more comments on GitHub >

github_iconTop Results From Across the Web

package.json - npm Docs
json are the name and version fields as they will be required. The name and version together form an identifier that is assumed...
Read more >
Detect when version is incompatible with `engines` field in ...
Node should inspect the applicable package.json file (the same file it already looks to for main and exports fields) to see if a...
Read more >
Error "npm WARN package.json: No repository field"
In Simple word- package.json of your project has not property of repository ... In the case when you are developing with no publishing...
Read more >
package.json: engines & engineStrict - and how to use them
But no. Or… In this post I'll show you how to use the package.json file to make sure that you get warnings and...
Read more >
package.json Quick Start Guide | phoenixNAP KB
The engines property in a package.json file describes the Node.js version and other runtime environments compatible with the package. The object ...
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 Post

No results found

github_iconTop Related Hashnode Post

No results found