Sentry-javascript: minor update to 3.18 breaks build due to incompatible node version

Created on 2 Oct 2017  ยท  2Comments  ยท  Source: getsentry/sentry-javascript

Do you want to request a feature or report a bug?
bug

What is the current behavior?
when running yarn install I get the following error message

error [email protected]: The engine "node" is incompatible with this module. Expected version "^8.4.0".
error Found incompatible module

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via https://jsfiddle.net or similar.

nvm use 6.9.2
yarn init -y
yarn add raven-js

What is the expected behavior?
yarn install / yarn add should not fail with node version 6.9.2

Which versions of Raven.js, and which browser and OS are affected by this issue? Did this work in previous versions of Raven.js? Are you using the CDN (http://ravenjs.com)? Are you using hosted Sentry or on-premises? If on-premises, which version (e.g. 8.7.0)?
works fine with 3.12, breaks with 3.18.

Most helpful comment

6 ฮป: nvm use 6.9.2
yNow using node v6.9.2 (npm v3.10.9)
6 ฮป: yarn init -y
yarn init v1.1.0
warning The yes flag has been set. This will automatically answer yes to all questions which may have security implications.
success Saved package.json
โœจ  Done in 0.06s.
6 ฮป: yarn add raven-js
yarn add v1.1.0
info No lockfile found.
[1/4] ๐Ÿ”  Resolving packages...
[2/4] ๐Ÿšš  Fetching packages...
[3/4] ๐Ÿ”—  Linking dependencies...
[4/4] ๐Ÿ“ƒ  Building fresh packages...
success Saved lockfile.
success Saved 1 new dependency.
โ””โ”€ [email protected]
โœจ  Done in 0.70s.

Sorry for the inconvenience, it was broken here https://github.com/getsentry/raven-js/commit/38e853a71cf36fe6c2be583a9c79f14c3664cd6d#diff-b9cfc7f2cdf78a7f4b91a753d10865a2 because of small npm issue during their minor release. All fixed now :)

All 2 comments

I'm on it

6 ฮป: nvm use 6.9.2
yNow using node v6.9.2 (npm v3.10.9)
6 ฮป: yarn init -y
yarn init v1.1.0
warning The yes flag has been set. This will automatically answer yes to all questions which may have security implications.
success Saved package.json
โœจ  Done in 0.06s.
6 ฮป: yarn add raven-js
yarn add v1.1.0
info No lockfile found.
[1/4] ๐Ÿ”  Resolving packages...
[2/4] ๐Ÿšš  Fetching packages...
[3/4] ๐Ÿ”—  Linking dependencies...
[4/4] ๐Ÿ“ƒ  Building fresh packages...
success Saved lockfile.
success Saved 1 new dependency.
โ””โ”€ [email protected]
โœจ  Done in 0.70s.

Sorry for the inconvenience, it was broken here https://github.com/getsentry/raven-js/commit/38e853a71cf36fe6c2be583a9c79f14c3664cd6d#diff-b9cfc7f2cdf78a7f4b91a753d10865a2 because of small npm issue during their minor release. All fixed now :)

Was this page helpful?
0 / 5 - 0 ratings