npm run dev 无法运行
来源:3-4 koa路由和cookie

慕小庄
2019-11-16
求救:
➜ koa2-learn git:(master) ✗ npm run dev
> koa2-learn@0.1.0 dev /Applications/MAMP/htdocs/vue-ssr-koa2/20191111-william-stack/vue-koa2-learn/koa2-learn
> nodemon bin/www
sh: /Applications/MAMP/htdocs/vue-ssr-koa2/20191111-william-stack/vue-koa2-learn/koa2-learn/node_modules/.bin/nodemon: Permission denied
npm ERR! code ELIFECYCLE
npm ERR! errno 126
npm ERR! koa2-learn@0.1.0 dev: `nodemon bin/www`
npm ERR! Exit status 126
npm ERR!
npm ERR! Failed at the koa2-learn@0.1.0 dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/zhuangchiehhan/.npm/_logs/2019-11-15T17_17_32_470Z-debug.log
➜ koa2-learn git:(master) ✗
请老师帮忙解惑… 不知道为什么 git 下来之后就这样了
写回答
1回答
-
下载完之后又 npm install 吗
012019-11-17
相似问题