Hi,
Since a few days ago when I launch the service I see this error message
[info] Running MyprojectWeb.Endpoint with cowboy 2.8.0 at 0.0.0.0:4000 (http)
[info] Access Myproject.Endpoint at http://localhost:4000
webpack is watching the files…
Hash: fe496fd7c9310a5523b7
Version: webpack 4.41.5
Time: 4940ms
Built at: 07/11/2020 7:26:55 PM
Asset Size Chunks Chunk Names
../favicon.ico 1.23 KiB [emitted]
../images/phoenix.png 13.6 KiB [emitted]
../robots.txt 202 bytes [emitted]
app.js 8.05 KiB ./js/app.js [emitted] ./js/app.js
Entrypoint ./js/app.js = app.js
[0] multi ./js/app.js 28 bytes {./js/app.js} [built]
[./js/app.js] 3.93 KiB {./js/app.js} [built] [failed] [1 error]
ERROR in ./js/app.js
Module build failed (from ./node_modules/babel-loader/lib/index.js):
Error: Cannot find module '@babel/compat-data/corejs3-shipped-proposals'
Require stack:
- /code/assets/node_modules/@babel/preset-env/lib/polyfills/corejs3/usage-plugin.js
- /code/assets/node_modules/@babel/preset-env/lib/index.js
- /code/assets/node_modules/@babel/core/lib/config/files/plugins.js
- /code/assets/node_modules/@babel/core/lib/config/files/index.js
- /code/assets/node_modules/@babel/core/lib/index.js
- /code/assets/node_modules/babel-loader/lib/index.js
- /code/assets/node_modules/loader-runner/lib/loadLoader.js
- /code/assets/node_modules/loader-runner/lib/LoaderRunner.js
- /code/assets/node_modules/webpack/lib/NormalModule.js
- /code/assets/node_modules/webpack/lib/NormalModuleFactory.js
- /code/assets/node_modules/webpack/lib/Compiler.js
- /code/assets/node_modules/webpack/lib/webpack.js
- /code/assets/node_modules/webpack-cli/bin/utils/validate-options.js
- /code/assets/node_modules/webpack-cli/bin/utils/convert-argv.js
- /code/assets/node_modules/webpack-cli/bin/cli.js
- /code/assets/node_modules/webpack/bin/webpack.js
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:966:15)
at Function.Module._load (internal/modules/cjs/loader.js:842:27)
at Module.require (internal/modules/cjs/loader.js:1026:19)
at require (/code/assets/node_modules/v8-compile-cache/v8-compile-cache.js:161:20)
at Object.<anonymous> (/code/assets/node_modules/@babel/preset-env/lib/polyfills/corejs3/usage-plugin.js:10:55)
at Module._compile (/code/assets/node_modules/v8-compile-cache/v8-compile-cache.js:192:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1158:10)
at Module.load (internal/modules/cjs/loader.js:986:32)
at Function.Module._load (internal/modules/cjs/loader.js:879:14)
at Module.require (internal/modules/cjs/loader.js:1026:19)
at require (/code/assets/node_modules/v8-compile-cache/v8-compile-cache.js:161:20)
at Object.<anonymous> (/code/assets/node_modules/@babel/preset-env/lib/index.js:29:44)
at Module._compile (/code/assets/node_modules/v8-compile-cache/v8-compile-cache.js:192:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1158:10)
at Module.load (internal/modules/cjs/loader.js:986:32)
at Function.Module._load (internal/modules/cjs/loader.js:879:14)
at Module.require (internal/modules/cjs/loader.js:1026:19)
at require (/code/assets/node_modules/v8-compile-cache/v8-compile-cache.js:161:20)
at requireModule (/code/assets/node_modules/@babel/core/lib/config/files/plugins.js:165:12)
at loadPreset (/code/assets/node_modules/@babel/core/lib/config/files/plugins.js:83:17)
at createDescriptor (/code/assets/node_modules/@babel/core/lib/config/config-descriptors.js:154:9)
at /code/assets/node_modules/@babel/core/lib/config/config-descriptors.js:109:50
at Array.map (<anonymous>)
at createDescriptors (/code/assets/node_modules/@babel/core/lib/config/config-descriptors.js:109:29)
at createPresetDescriptors (/code/assets/node_modules/@babel/core/lib/config/config-descriptors.js:101:10)
at presets (/code/assets/node_modules/@babel/core/lib/config/config-descriptors.js:47:19)
at mergeChainOpts (/code/assets/node_modules/@babel/core/lib/config/config-chain.js:320:26)
at /code/assets/node_modules/@babel/core/lib/config/config-chain.js:283:7
at Generator.next (<anonymous>)
at buildRootChain (/code/assets/node_modules/@babel/core/lib/config/config-chain.js:120:29)
at buildRootChain.next (<anonymous>)
at loadPrivatePartialConfig (/code/assets/node_modules/@babel/core/lib/config/partial.js:95:62)
at loadPrivatePartialConfig.next (<anonymous>)
at Function.<anonymous> (/code/assets/node_modules/@babel/core/lib/config/partial.js:120:25)
at Generator.next (<anonymous>)
at evaluateSync (/code/assets/node_modules/gensync/index.js:244:28)
@ multi ./js/app.js ./js/app.js[0]
I am using these versions:
$ node --version
v12.18.2
$ elixir --version
Erlang/OTP 22 [erts-10.6.4] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:1] [hipe]
Elixir 1.10.1 (compiled with Erlang/OTP 22)
$ mix deps | grep phoenix | grep locked
locked at 2.0.0 (phoenix_pubsub) c52d948c
locked at 2.14.2 (phoenix_html) 58061c8d
locked at 1.5.3 (phoenix) 8e16febe
locked at 1.2.1 (phoenix_live_reload) 41b4103a
locked at 0.13.3 (phoenix_live_view) c6309a7d
locked at 0.2.5 (phoenix_live_dashboard) 6d6e57f1
locked at 4.1.0 (phoenix_ecto) c5e666a3
$ cat /etc/issue
Debian GNU/Linux 10 \n \l
Any suggestion is welcome.
Thanks