问答详情
源自:3-3 自动化生成项目中的html页面(下)

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

https://img3.mukewang.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'


提问者:爬爬鸭 2018-10-15 09:45

个回答

  • weixin_慕运维1466510
    2019-10-19 16:22:55

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

  • weixin_慕仙2439656
    2019-04-20 14:29:00

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

  • littlemin
    2018-11-03 22:00:32

    文件路径错了吧