运行`npm start`后出现编译失败的错误

赛斯·马克斯

我在localhost:3000上运行一个React应用程序,并试图在localhost:3001上同时运行另一个应用程序。我以前分别运行它们都很好,但是现在我遇到了错误。

Module not found: Can't resolve './cjs/scheduler.development.js' in '/Users/sethmarks/Desktop/imagerec/node_modules/scheduler'

到底是怎么回事?构建后端后,我现在无法运行应用程序的前端。

路西法

删除您的node_modules /目录,然后运行这些命令

npm cache clean --force 
npm install
npm start

本文收集自互联网,转载请注明来源。

如有侵权,请联系 [email protected] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章