Cannot find module ‘node_modulesejspostinstall
1、出现原因
拉取新的仓库源码,直接运行yarn install命令出现如题错误
2、解决办法
1)删除node_modules和package-lock.json,并再次尝试安装命令
- 如果1)不起作用,找到其他锁文件,例如yarn.lock。删除它们和node_modules后再次尝试安装命令。
3、参考文章
若本文有帮助到阅读本文的同学,欢迎点赞、关注、收藏,互相学习交流。
本文来自博客园,作者:GoodTimeGGB,转载请注明原文链接:https://www.cnblogs.com/goodtimeggb/articles/17503356.html

浙公网安备 33010602011771号