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
Error: Cannot find module 'C:\Users\Acer\newelection\ethereum_voting_dapp-master\chapter2\node_modules\webpack-dev-server\examples\run-example.js'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:980:15)
at Function.Module._load (internal/modules/cjs/loader.js:862:27)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:74:12)
at internal/main/run_main_module.js:18:47 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] webpack-dev-server: node examples/run-example.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] webpack-dev-server 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\Acer\AppData\Roaming\npm-cache_logs\2020-04-25T21_56_53_268Z-debug.log
i am not able to run npm run dev getting the above error
The text was updated successfully, but these errors were encountered:
Check the package.json file and check it it contains webpack-dev-server.
If it doesn't you can install it by using the command npm install webpack-dev-server --save-dev .
For further details check the following page
PS C:\Users\Acer\newelection\ethereum_voting_dapp-master\chapter2\node_modules\webpack-dev-server> npm run webpack-dev-server
internal/modules/cjs/loader.js:983
throw err;
^
Error: Cannot find module 'C:\Users\Acer\newelection\ethereum_voting_dapp-master\chapter2\node_modules\webpack-dev-server\examples\run-example.js'
er.js:980:15)
at Function.Module._load (internal/modules/cjs/loader.js:862:27)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:74:12)
at internal/main/run_main_module.js:18:47 {
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] webpack-dev-server:
node examples/run-example.js
npm ERR! Exit status 1
PS C:\Users\Acer\newelection\ethereum_voting_dapp-master\chapter2\node_modules\webpack-dev-server> npm run webpack-dev-server
internal/modules/cjs/loader.js:983
throw err;
^
Error: Cannot find module 'C:\Users\Acer\newelection\ethereum_voting_dapp-master\chapter2\node_modules\webpack-dev-server\examples\run-example.js'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:980:15)
at Function.Module._load (internal/modules/cjs/loader.js:862:27)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:74:12)
at internal/main/run_main_module.js:18:47 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] webpack-dev-server:
node examples/run-example.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] webpack-dev-server 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\Acer\AppData\Roaming\npm-cache_logs\2020-04-25T21_56_53_268Z-debug.log
i am not able to run npm run dev getting the above error
The text was updated successfully, but these errors were encountered: