olmokramer / atom-stylus-autocompile

Compile .styl files on save in Atom
MIT License
5 stars 4 forks source link

Can't find 'nib' and more #17

Open frog42 opened 7 years ago

frog42 commented 7 years ago

Everything was working great until about 3 days ago. Now autocompile can't find any of my installed packages (nib, jeet, rupture, axis).

I have this at the top of my style.styl file: "// out: style.css, libs: nib jeet rupture axis"

I can run "stylus -u nib -u jeet -u rupture -u axis style.styl" from command line and have no trouble compiling.

I haven't changed anything about my system and have been using autocompile every day, which makes things very weird.

All my packages are installed through npm, which is managed by nvm. I have not updated either of those recently. Any idea how autocompile could spontaneously stop finding these packages?

frog42 commented 7 years ago

OK, further testing results:

If I use "apm install stylus-autocompile" I get a different package than if I git clone from this repository manually and do "apm install". If I use the git clone method, there is an option in settings for a PATH. But when I add my PATH and save, it says "missing path".