安装包报错Operation not permitted mkdir
在运行npm install antd --save时候发生报错,Operation not permitted mkdir \path\node_modules\@types’’
原因是:编程软件可能会对文件系统对象进行锁定,阻止对其进行更新。关闭了VSCode,再进行安装就没问题了。
参考:https://stackoverflow.com/questions/54751720/operation-not-permitted-mkdir-path-node-modules-types