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.

Breaking changes for engine strict in version 1.3.1

See original GitHub issue

For projects that use engine strict, the version 1.3.1 of @shelf/jest-mongodb is a breaking change.

Steps:

$ node -v
v12.19.0

$ npm -v
6.14.8

$ echo engine-strict=true >> .npmrc
$ npm i -s @shelf/jest-mongodb

Error:

npm ERR! code ENOTSUP
npm ERR! notsup Unsupported engine for mongodb-memory-server@7.0.0: wanted: {"node":">=12.22.0"} (current
: {"node":"12.19.0","npm":"6.14.8"})
npm ERR! notsup Not compatible with your version of node/npm: mongodb-memory-server@7.0.0
npm ERR! notsup Not compatible with your version of node/npm: mongodb-memory-server@7.0.0
npm ERR! notsup Required: {"node":">=12.22.0"}
npm ERR! notsup Actual:   {"npm":"6.14.8","node":"12.19.0"}

Previous versions did not have this requirement.

Issue Analytics

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

github_iconTop GitHub Comments

2reactions
vladgolubevcommented, Jul 7, 2021

@hasezoey thanks for the detailed explanation 👍🏻

I’m going to revert to a compatible version in 1.x and publish version 2.x that requires node 12+

Read more comments on GitHub >

github_iconTop Results From Across the Web

[BUG] engine strict is not working with npm version 8.11.0 #5037
I have searched the existing issues This issue exists in the latest npm version I am using the latest npm Current Behavior "engines": ......
Read more >
standard-engine | Yarn - Package Manager
All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning. 15.0.0 2022-04-20. In addition to...
Read more >
Changelog - npm Docs
Support has been dropped for Node.js versions less than v10. On the "Breaking" in "Breaking Changes". The Semantic Versioning specification precisely defines ...
Read more >
Changelog | Meteor API Docs
Patch release to update Node and npm versions. Breaking Changes. N/A. Migration Steps. N/A. Meteor Version Release. meteor ...
Read more >
Changelog - hapi.dev
Resolve undefined environment variables to the empty string in the cli. 7.0.0 · Release Notes additional information. breaking changes. #2023. 7.0.
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