custom-react-scripts icon indicating copy to clipboard operation
custom-react-scripts copied to clipboard

SASS problem

Open oarashi opened this issue 8 years ago • 3 comments

Using latest version of npm (5.0.3) and node (8.1.1).

I've run into a critical problem with SASS.

Application works perfect in UNIX* system, but crashes in Windows.

In process of building it crashes because cannot find 57 binding.node for node-sass.

Tried CRA without custom scripts - build had problem only with decorators and throw no error about node-sass.

Can You please help me to solve these problem?

oarashi avatar Jun 19 '17 08:06 oarashi

Did you commit your node_modules directory?

If so, you will need to rebuild the node-sass binary for your new environment (Windows):

npm rebuild node-sass

jmcrthrs avatar Jun 20 '17 12:06 jmcrthrs

@jmcrthrs Thank you for responding. I've tried to run npm rubuild node-sass already but it didn't work. Here is an error log that I see after creating new CRA (with custom scripts) project and run npm start: https://gist.github.com/oarashi/f52db8f0fa2f1b4f9d688f2359f8f667

oarashi avatar Jun 21 '17 08:06 oarashi

Thanks @oarashi, can you please try with the latest version?

kitze avatar Aug 10 '17 10:08 kitze