我正在使用带有webpack的Elm 0.16,偶尔(有时经常安静),我收到下面的错误消息
webpack: bundle is now INVALID
Error reading build artifact elm-stuff\build-artifacts\0.16.0\user\project\1.0.0\TestProject-Components-ViewManager.elmi
The file was generated by a previous build and may be outdated or corrupt
Remove the file and try again
ERROR in ./src/Main.elm
Module build failed:
@ ./src/index.js 12:10-27
webpack: bundle is now VALID.
这开始随着项目变得更大。
目前,项目在完成以下任一项后编译
index.js
进行任何更新。通常我只需添加一个空格并将其删除并保存。这可能是什么原因以及如何解决?
npm脚本为"dev": "webpack-dev-server --port 3000"