EPERM, operation not permitted error, config store

后端 未结 7 1459
名媛妹妹
名媛妹妹 2020-12-30 03:53

I know this is a common error with node but all my troubleshooting techniques seem to be failing.

  • Windows 7 (32-bit)
  • Node@0.10.10
7条回答
  •  盖世英雄少女心
    2020-12-30 04:37

    running npm cache clean --force helped me. npm cache clean by itself with node 5+ gives this warning:

    npm ERR! As of npm@5, the npm cache self-heals from corruption issues and data extracted from the cache is guaranteed to be valid. If you want to make sure everything is consistent, use 'npm cache verify' instead. npm ERR! npm ERR! If you're sure you want to delete the entire cache, rerun this command with --force.

    NPM cache documentation.

    Note: my real problem was the package-lock.json file. I had done some things locally and thought they were removed, but got to the build agent and got this error. It would probably help to delete the node_modules folder and do a fresh npm install.

提交回复
热议问题