Answer the question
In order to leave comments, you need to log in
Webpack 5 - why does npm run give an error?
E:\[Develop]\Projects\exel>npm run start
> [email protected] start E:\[Develop]\Projects\exel
> webpack
(node:139716) [DEP_WEBPACK_TEMPLATE_PATH_PLUGIN_REPLACE_PATH_VARIABLES_HASH] DeprecationWarning: [hash] is now [fullhash ] (also consider using [chunkhash] or [contenthash], see documentation for details)
(Use `node --trace-deprecation ...` to show where the warning was created)
[webpack-cli] [Error: EISDIR: illegal operation on a directory, open 'E:\[Develop]\Projects\exel\dist'] {
errno: -4068,
code: 'EISDIR',
syscall: 'open',
path: 'E:\\[Develop]\ \Projects\\exel\\dist'
}
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! [email protected]:
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the [email protected] start 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\User\AppData\Roaming\npm-cache\_logs\2021-04-22T17_41_39_074Z-debug.log
E:\[Develop]\Projects\exel>
Just getting started with Webpack. Tell me how to fix errors
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question