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

node-sass dependency - 'node' is not recognized as an internal [...] #341

Open
ezylot opened this issue Jul 2, 2019 · 1 comment
Open

Comments

@ezylot
Copy link

ezylot commented Jul 2, 2019

I get this error after adding "node-sass": "^4.12.0" to my package.json and running npmInstall.

I really want to do my build without having to install a node on my system, so locally installing node and adding it to the PATH is not a good solution for me (Regardless, I already tried it with a local installation and it works like expected that way)

> Task :nodeSetup
> Task :npmSetup SKIPPED
> Task :npmInstall

> node-sass@4.12.0 install C:\Users\fschoeffl\Documents\Projects\Microfluicid-Systems-Simulator\node_modules\node-sass
> node scripts/install.js

'node' is not recognized as an internal or external command,
operable program or batch file.
npm WARN microfluicid-systems-simulator@1.0.0 No description
npm WARN microfluicid-systems-simulator@1.0.0 No license field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! node-sass@4.12.0 install: node scripts/install.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the node-sass@4.12.0 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\fschoeffl\AppData\Roaming\npm-cache_logs\2019-07-02T12_57_09_889Z-debug.log

> Task :npmInstall FAILED

I use the id ("com.moowork.node") version "1.3.1" plugin in my gradle file, with following configuration

node {
version = "10.16.0"
download = true
}

It worked pretty well so far with things like "typescript": "^3.5.1", "spectrum-colorpicker": "^1.8.0", "eslint": "^5.16.0", ... so there seems to be something wrong with node-sass

Someone has experienced something familiar?

@klexzi
Copy link

klexzi commented Oct 12, 2020

currently facing the same issue on a windows machine

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

No branches or pull requests

2 participants