为了账号安全,请及时绑定邮箱和手机立即绑定

ERROR in Entry module not found: Error: Can't resolve './src' in '...'

https://img1.sycdn.imooc.com//5bc3f1180001b68d09280894.jpg

Insufficient number of arguments or no entry found.

Alternatively, run 'webpack(-cli) --help' for usage info.


Hash: 524609c9e3faeade8d70

Version: webpack 4.18.0

Time: 49ms

Built at: 2018-10-15 09:40:40


WARNING in configuration

The 'mode' option has not been set, webpack will fallback to 'production' for this value. Set 'mode' option to 'development' or 'production' to enable defaults for each environment.

You can also set it to 'none' to disable any default behavior. Learn more: https://webpack.js.org/concepts/mode/


ERROR in Entry module not found: Error: Can't resolve './src' in '/Users/pangd/Documents/WebProjects/WebpackStudy'


正在回答

4 回答

查看一下文件映射路径,多半路径写错了

0 回复 有任何疑惑可以回复我~

楼主解决了吗?怎么解决的?

0 回复 有任何疑惑可以回复我~

文件路径错了吧

0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消

ERROR in Entry module not found: Error: Can't resolve './src' in '...'

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信