webpack-dev-server start error because can't find moudle 37

when I tried to start a server with webpack-dev-server, an error has occurred。
image.png

so I go to index.ts,and look line32. It is just a 'import'
image.png

I debug when the error happen again

image.png

when I print on Devtool, I found it's because 'I[g]' didn't exist. so how can i find the lost module and resolve this problem?

image.png

ps:when I start a server with Nginx after build, it can work right.

阅读 1.1k
撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题