-
Notifications
You must be signed in to change notification settings - Fork 1.3k
/node-sass/vendor no such file or directory in node-sass@3.13.0 #1812
Comments
@yqb1989 what's the value of |
Thanks @yangblink. The bug isn't that |
Turns out this behaviour is on purpose, although a little confusing. The npm config is only available during the execution of npm scripts, like during In your case you should use the |
run |
Hi, change your node_modules directory permission... |
In my case i didnt realize i needed the node-sass package installed, found that it wasnt in my package.json, simply because on the other app i was running it as, had a remnant node-sass/vendors directory in there with a linux file in it, that didnt get correctly uninstalled i presume so I thougth I had all needed dependency's already. When i switched envs to windows powershell, and ran npm install, the error came up because it didn't have the vendor file it needed any more. Doing a npm install --save-dev node-sass enabled the sass compiling resolving the isssue. I was doing compiling with webpack. |
i'm having problems with the way can anyone advice me what to do here? |
Running |
Uh oh!
There was an error while loading. Please reload this page.
I use
sass_binary_path
to cache my node-sass binary file, and when i installnode-sass@3.13.0
,it's show
Binary found at /Users/blinkyang/test/node-cache/node-sass/darwin-x64-47_binding.node
and install success, but if i run this scriptnode -p "require('node-sass').info"
it's throw an error below:i think it was because the
vendor
folder doesn't create after check hasBinarynpm -v
): 3.8.6node -v
):v5.11.0node -p process.versions
):node -p process.platform
): darwinnode -p process.arch
): x64node -p "require('node-sass').info"
):npm ls node-sass
):The text was updated successfully, but these errors were encountered: