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

spawn error ENOENT ? #66

Open
paulinedev opened this issue Feb 12, 2018 · 4 comments
Open

spawn error ENOENT ? #66

paulinedev opened this issue Feb 12, 2018 · 4 comments

Comments

@paulinedev
Copy link

D:\Nodejs\sass>learn-sass verify stylesheet.scss

Result -->
events.js:137
throw er; // Unhandled 'error' event
^ Error: spawn C:\Users\pauli\AppData\Roaming\npm\node_modules\learn-sass\node_modules\node-sass\bin\node-sass ENOENT
at _errnoException (util.js:1003:13)
at Process.ChildProcess._handle.onexit (internal/child_process.js:201:19)
at onErrorNT (internal/child_process.js:389:16)
at process._tickCallback (internal/process/next_tick.js:152:19)

node : 9.5
npm : 5.6
window : 10

Help ?

@Phaidonas
Copy link

I have also these same error

@GregorBiswanger
Copy link

I have also these same error on end of 2019...

Windows 10
Nodejs 12.13.1

@GregorBiswanger
Copy link

GregorBiswanger commented Dec 12, 2019

I found a workaround

Install global learn-sass and node-sass.

Go to the global path of learn-sass:
C:\Users\Gregor\AppData\Roaming\npm\v10.14.1\node_modules\learn-sass

and edit the line 115 in execute.js

this.sassExec = path.resolve(__dirname, '../../node-sass.cmd');

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

5 participants
@Phaidonas @GregorBiswanger @AndresDevelop @paulinedev and others