我将我的 React 应用程序部署到 azure 并在加载时出现此错误: 编译失败
EACCES:权限被拒绝,打开“/home/site/wwwroot/node_modules/.cache/.eslintcache”
此错误发生在构建期间,无法消除。
我花了几天时间试图纠正它,但没有成功。拜托,我需要帮助。 enter image description here
最佳答案
如果您的代码中有拼写错误并保存了它,则 .eslintcache
不会被清除,并且该错误将持续出现在服务器中。您必须删除 .eslintcache
。克服这个错误。
引用文献:
。 How to deploy React app to azure
。 GitHub问题。
关于javascript - EACCES : permission denied, 打开 '/home/site/wwwroot/node_modules/.cache/.eslintcache',我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/69129979/