You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
C:\Users\xxx\best-resume-ever\build\dev-server.js
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:957:15)
at Function.Module._load (internal/modules/cjs/loader.js:840:27)
at Module.require (internal/modules/cjs/loader.js:1019:19)
at require (internal/modules/cjs/helpers.js:77:18)
at Object. (C:\Users\xxx\best-resume-ever\config\dev.env.js:1:13)
at Module._compile (internal/modules/cjs/loader.js:1133:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1153:10)
at Module.load (internal/modules/cjs/loader.js:977:32)
at Function.Module._load (internal/modules/cjs/loader.js:877:14)
at Module.require (internal/modules/cjs/loader.js:1019:19) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'C:\Users\xxx\best-resume-ever\config\dev.env.js',
'C:\Users\xxx\best-resume-ever\config\index.js',
'C:\Users\xxx\best-resume-ever\build\dev-server.js'
]
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! best-resume-ever@1.0.0 dev: node build/dev-server.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the best-resume-ever@1.0.0 dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\green\AppData\Roaming\npm-cache_logs\2021-01-15T06_54_15_018Z-debug.log
The text was updated successfully, but these errors were encountered:
As in salomonelli#385, salomonelli#421 and salomonelli#425, I was able to make this repo work out for me
doing this steps:
```md
I'm still learning VueJS and trying to improve my skills. Yesterday I was able to figure out (after search on the web) on how to make `npm run dev` works.
I've done this steps:
1. ### NPM Update
`npm update`
2. ### NPM install webpack-merge
`npm i webpack-merge`
3. ### Edit package json
```json
"scripts":{
...
"dev": "NODE_OPTIONS='--openssl-legacy-provider' node build/dev-server.js"
...
}
```
After that, I was able to run the server on localhost.
```
Case
IS IT A:
Issue
execute the command with"npm dev run"
Info
$ npm run dev
npm
internal/modules/cjs/loader.js:960
throw err;
^
Error: Cannot find module 'webpack-merge'
Require stack:
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:957:15)
at Function.Module._load (internal/modules/cjs/loader.js:840:27)
at Module.require (internal/modules/cjs/loader.js:1019:19)
at require (internal/modules/cjs/helpers.js:77:18)
at Object. (C:\Users\xxx\best-resume-ever\config\dev.env.js:1:13)
at Module._compile (internal/modules/cjs/loader.js:1133:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1153:10)
at Module.load (internal/modules/cjs/loader.js:977:32)
at Function.Module._load (internal/modules/cjs/loader.js:877:14)
at Module.require (internal/modules/cjs/loader.js:1019:19) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'C:\Users\xxx\best-resume-ever\config\dev.env.js',
'C:\Users\xxx\best-resume-ever\config\index.js',
'C:\Users\xxx\best-resume-ever\build\dev-server.js'
]
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! best-resume-ever@1.0.0 dev:
node build/dev-server.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the best-resume-ever@1.0.0 dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\green\AppData\Roaming\npm-cache_logs\2021-01-15T06_54_15_018Z-debug.log
The text was updated successfully, but these errors were encountered: