Arcath / sass-watch

Watch a SASS file and compile to CSS
5 stars 0 forks source link

sass-watch tries to save css to wrong directory -> Error: Error: ENOENT, open #3

Open OKNoah opened 9 years ago

OKNoah commented 9 years ago

This problem just started, maybe has to do with hitting "update all" recently in Atom preferences

  Command failed: /bin/sh -c /Users/my-username/.atom/packages/sass-watch/node_modules/.bin/node-sass "/Users/my-username/Documents/dev/my-project/public/css/style.scss" "/Users/my-username/Documents/dev/my-project/public/css/style.css"
  Rendering Complete, saving .css file...
  Error: Error: ENOENT, open '/Users/my-username/Documents/dev/my-project/public/app/Users/my-username/Documents/dev/my-project/public/css/style.css'
mistermark commented 9 years ago

Same here.

Command failed: /bin/sh -c /Users/mister/.dotfiles/atom/packages/sass-watch/node_modules/.bin/node-sass "/Users/mister/Code/css/theme-options.scss" "/Users/mister/Code/css/theme-options.css"
env: node: No such file or directory
Arcath commented 9 years ago

@mistermark that is a different error, do you have node installed on your machine?

mistermark commented 9 years ago

Yes, i have, but by nvm. So Atom might not have access to it yet, unless an nvm use is done.

Calinou commented 9 years ago
Command failed: /bin/sh -c /home/calinou/.atom/packages/sass-watch/node_modules/.bin/node-sass "/home/calinou/Projets/Web/scss/style.scss" "/home/calinou/Projets/Web/scss/style.css"
Rendering Complete, saving .css file...
Error: Error: ENOENT, open '/home/calinou/home/calinou/Projets/Web/scss/style.css'

The node path is currect (/usr/bin). I'm using Debian jessie 64-bit.

Node: v0.10.29
npm: v2.5.1
Atom version 0.189.0
Arcath commented 9 years ago

I have changed to using the bundled node binary in atom should remove the need for node to even be installed on the system.

Let me know if it helps.

StephaneTrebel commented 9 years ago

Hi, I confirm that it tries to write to the home directory : Error: Error: ENOENT, open '/home/stephane/mnt/themepaleo_v2/css/style.css' In my case it should have written to /mnt/themepaleo_v2/css/style.css instead

RoM4iK commented 9 years ago

Okay, how to save outside of home dir?