Closed myVictor closed 5 years ago
Did you do npm install -g watchify
? A global install is required to run watchify
from the command line. The npm bin folder also needs to be in your PATH
environment variable.
If you did npm install watchify
, you have a local installation. You can run a local watchify
with npx
, by doing:
npx watchify main.js -o static/bundle.js
在win10运行watchify main.js -o static/bundle.js这个命令报错,报错信息如标题。