[英]npm ERR! code EPERM and errno -4048 on windows 10
I'm writing code using WebStorm. 我正在使用WebStorm编写代码。 Today I tryed to install redux-form and from that moment the code it's broken. 今天,我尝试安装redux-form,从那时起,它的代码已损坏。 Also if the yarn install
goes well I i get this error into browser on localhost 另外,如果yarn install
顺利,我会在本地主机的浏览器中收到此错误
C:/Users/WebstormProjects/.....reducer.ts
(7,40): Could not find a declaration file for module 'redux-form'. 'C:/Users/WebstormProjects.....index.js' implicitly has an 'any' type.
Try `npm install @types/redux-form` if it exists or add a new declaration (.d.ts) file containing `declare module 'redux-form';`
The code have no semantic error and I also installed as the error says npm install @types/redux-form
but the situation it's the same. 该代码没有语义错误,我也安装了该错误,因为错误显示npm install @types/redux-form
但情况相同。 Can someone help me?? 有人能帮我吗??
(Posted on behalf of the question author). (代表问题作者发布)。
I solved the problem deleting the directory with node modules and do: npm install
, installing the redux-form and later installing types for this component. 我解决了使用节点模块删除目录并执行以下操作的问题: npm install
,安装redux-form以及以后为该组件安装类型。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.