macbook pro m1 中的权限被拒绝

时间:2021-06-14 04:45:34

标签: javascript reactjs macos permissions apple-m1

我带来了一个新的 macbook pro m1 并复制了一个我目前在 Windows 笔记本电脑上工作的 react 项目,但它没有运行并显示权限被拒绝的消息,并且节点模块文件夹在 vs 中以灰色显示代码。这个项目同时在我的窗口中完美运行。

bimalboby@Bimals-MacBook-Pro netflix % npm start

> netflix@0.1.0 start /Users/bimalboby/Desktop/Projects/Netflix-clone/netflix
> react-scripts start

sh: /Users/bimalboby/Desktop/Projects/Netflix-clone/netflix/node_modules/.bin/react-scripts: Permission denied
npm ERR! code ELIFECYCLE
npm ERR! errno 126
npm ERR! netflix@0.1.0 start: `react-scripts start`
npm ERR! Exit status 126
npm ERR! 
npm ERR! Failed at the netflix@0.1.0 start 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/bimalboby/.npm/_logs/2021-06-14T04_42_21_515Z-debug.log
bimalboby@Bimals-MacBook-Pro netflix % 

0 个答案:

没有答案