简体   繁体   中英

Why "npm run dev" locks on "ready on localhost" in next.js?

I have a problem. I just got a project from TFS. The code was working properly in my last system and now that I got it from TFS it does not compile. and stays on " ready on localhost..." I tried to install next, react and react-dom, but the problem still exists. can anybody tell me what's wrong in getting the project from TFS? Should I install any other dependencies for the project or not? Thanks.

npm state message

解决:1.删除node模块和packa 3.npm run build 3.你会在控制台看到webpack错误 3. npm run dev

您是否从目录中运行npm install以下拉节点模块

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM