Skip to content
This repository has been archived by the owner on Mar 16, 2021. It is now read-only.

node-sass fails to install #87

Closed
Castria opened this issue Nov 8, 2019 · 1 comment
Closed

node-sass fails to install #87

Castria opened this issue Nov 8, 2019 · 1 comment

Comments

@Castria
Copy link
Contributor

Castria commented Nov 8, 2019

I tried running npm install on this but it threw out a 404 error message when trying to install node-sass (I assume this is a dependency of some module being used).

A potential fix is found at the below page.

sass/node-sass#2779 (comment)

For anyone who is still having this issue, Node recently moved 12.x to LTS, and it seems like Azure DevOps is now using Node 12.x instead of Node 10.x for builds when the node version isn't specified.

To resolve the issue, I added a Node.js Tool Installer task build step to our build pipeline to specify which version of Node to use for Node commands.

@Castria
Copy link
Contributor Author

Castria commented Nov 11, 2019

For anyone else getting this issue, adding "node-sass": "^4.13.0" to the package.json devDependencies seems to sort the issue for now.

@Castria Castria closed this as completed Nov 12, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant