輸入webpack回車報錯,顯示配置文件錯誤
No configuration file found and no output filename configured via CLI option.
A configuration file could be named 'webpack.config.js' in the current directory
.
Use --help to display the CLI options.
何解??
No configuration file found and no output filename configured via CLI option.
A configuration file could be named 'webpack.config.js' in the current directory
.
Use --help to display the CLI options.
何解??
2017-05-25
舉報
2017-05-26
你配置的里面寫的路徑名有問題,而且默認(rèn)的webpack配置文件名是webpack.config.js,你有webpack.config.js文件嗎?你試試這樣寫呢