I can not find where is package const { dev } = require('../dist/webpack-dev-env.js'); I tried to install it , nothing works , please help
frontend_1 | Error: Cannot find module '../dist/webpack-dev-env.js'
frontend_1 | Require stack:
frontend_1 | - /home/mediacms.io/mediacms/frontend/packages/scripts/scripts/development.js
frontend_1 | at Function.Module._resolveFilename (internal/modules/cjs/loader.js:902:15)
frontend_1 | at Function.Module._load (internal/modules/cjs/loader.js:746:27)
frontend_1 | at Module.require (internal/modules/cjs/loader.js:974:19)
frontend_1 | at require (internal/modules/cjs/helpers.js:93:18)
frontend_1 | at Object.<anonymous> (/home/mediacms.io/mediacms/frontend/packages/scripts/scripts/development.js:1:17)
frontend_1 | at Module._compile (internal/modules/cjs/loader.js:1085:14)
frontend_1 | at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
frontend_1 | at Module.load (internal/modules/cjs/loader.js:950:32)
frontend_1 | at Function.Module._load (internal/modules/cjs/loader.js:790:12)
frontend_1 | at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:76:12) {
frontend_1 | code: 'MODULE_NOT_FOUND',
frontend_1 | requireStack: [
frontend_1 | '/home/mediacms.io/mediacms/frontend/packages/scripts/scripts/development.js'
frontend_1 | ]
frontend_1 | }
frontend_1 | npm ERR! code ELIFECYCLE
frontend_1 | npm ERR! errno 1
frontend_1 | npm ERR! mediacms-frontend@0.9.1 start: `mediacms-scripts development --config=./config/mediacms.config.js --host=0.0.0.0 --port=8088`
frontend_1 | npm ERR! Exit status 1
frontend_1 | npm ERR!
frontend_1 | npm ERR! Failed at the mediacms-frontend@0.9.1 start script.
frontend_1 | npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
frontend_1 |
frontend_1 | npm ERR! A complete log of this run can be found in:
frontend_1 | npm ERR! /root/.npm/_logs/2022-01-04T16_13_48_109Z-debug.log