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

Handle node dependencies using --unsafe-perm. #462

Merged
merged 1 commit into from
Jul 19, 2018

Conversation

dianakhuang
Copy link
Contributor

@dianakhuang dianakhuang commented Jul 16, 2018

This is for dealing with issues within docker and running everything from the docker root.

Other places where this issue has been mentioned (along with this fix): npm/npm#17431
sass/node-sass#2006

We need a more robust solution, but this is blocking any updates to package.json or package-lock.json.

@dianakhuang dianakhuang force-pushed the diana/node-dependencies branch 4 times, most recently from 11fb933 to 7fb5553 Compare July 18, 2018 19:17
@dianakhuang dianakhuang changed the title WIP: Update node dependencies in an attempt to fix errors. Handle node dependencies using --unsafe-perm. Jul 18, 2018
Makefile Outdated
@@ -20,7 +20,7 @@ production-requirements: ## Install requirements for production
pip install -r requirements.txt

requirements: ## Install requirements for local development
npm install
npm install --unsafe-perm
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe a comment for why this otherwise bad-looking flag is added here, for future archeologists?

Copy link
Contributor

@mikix mikix left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@dianakhuang dianakhuang merged commit f150a06 into master Jul 19, 2018
@dianakhuang dianakhuang deleted the diana/node-dependencies branch July 19, 2018 19:25
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.

2 participants