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

fix: npm install failure on node v16 #34

Merged
merged 3 commits into from
Sep 28, 2022

Conversation

gitcommitshow
Copy link
Contributor

@gitcommitshow gitcommitshow commented Sep 23, 2022

Description of the change

Now the project strictly checks the node version and shows the error if node version is equal or above v16. The core issue was node-sass dependency we have, it's v4 version does not support node versions higher than node v14.

Type of change

  • Bug fix (non-breaking change that fixes an issue)

Related issues

Fix #33

Checklists

Code review

  • This pull request has a descriptive title and information useful to a reviewer. There may be a screenshot or screencast attached
  • "Ready for review" label attached to the PR and reviewers mentioned in a comment
  • Changes have been reviewed by at least one other engineer
  • Issue from task tracker has a link to this pull request

Currently there are issues in npm install in node v16 as it is not supported by node-sass v4.
So specifying the supported node engine version to be less than node v16.
As node v16+ fails to npm install, putting a strict node version check to make it easier for users to understand that they need node versions below v16.
.npmrc Show resolved Hide resolved
@ameypv-rudder ameypv-rudder merged commit 2483a1a into rudderlabs:master Sep 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

npm install fails on node v16
3 participants