cannot install stylus using node
-
27-10-2019 - |
题
I have downloaded the stylus .zip from Github and have placed it into the same directory as the node executable. After that I run the following code:
install stylus
But I do not get a response. The command prompt reads
...
Has anybody had this problem installing stylus before? I have Windows. Please help me figure out whats wrong.
EDIT: I have updated my PATH variable as well
解决方案
It is recommended to install Node.js packages through NPM, like so:
npm install stylus
- for local usage (for your project)
or
npm install stylus -g
- install it globally, use it everywhere
不隶属于 StackOverflow