簡體   English   中英

運行“npm start”后出現編譯失敗錯誤

[英]I'm getting a failed to compile error after running `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

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM