。。。每个都要加sudo,而且网上找,也没找到,老师如果知道的话,麻烦给个关键词活着网址,可以吗?
为当前账户添加node_modules目录读写权限即可。
sudo chown -R $(whoami) ~/.npm
老师,Module parse failed: /Users/anbanglee/Desktop/05-1/node_modules/antd/dist/antd.css Unexpected token (14:4)
You may need an appropriate loader to handle this file type.
| * IE on Windows Phone and in iOS.
| */
| html{
| font-family: sans-serif;
| /* 1 */
@ ./js/root.js 21:0-29
这是怎么回事