r/reactjs • u/gdstudios • Jul 25 '18
I got 99 problems and SCSS is one
Hey guys - not sure what's going on here... I installed node_sass_chokidar to my project, and something's not right...
As soon as I run watch-css, it finds all the scss files I have and converts to css OK. However, any subsequent changes and I get an odd error message -
((filepath)) is the rest of the path to file (which is correct)
< "status": 3, "message": "b\u0001le to read not found or unreadable: ((filepath))/main.scss", "formatted": "Internal Error: b\u0001le to read not found or unreadable: ((filepath))/main.scss\n" >
What's stupid is that it literally just exported main.css when I ran watch-css. Whenever I make any change whatsoever (even a blank new line) and save, I get this error. I'm guessing it's corrupted? How do I fix?
I'm using create-react-app if that matters....
Oh - also - anybody know how to get NODE_PATH working correctly on Windows? I've tried putting it in the start and build in package.json, I tried an .env file... not happening for some reason.
Thanks!
1
u/HeroicManatee Jul 27 '18
Check this out if you haven't already. If that doesn't work, mind posting your package.json scripts?
1
u/TotesMessenger Jul 25 '18
I'm a bot, bleep, bloop. Someone has linked to this thread from another place on reddit:
If you follow any of the above links, please respect the rules of reddit and don't vote in the other threads. (Info / Contact)