Комментарии:
I did everything as you mentioned , but it is giving me this
My "build": "webpack -d && cp src/index.html dist/index.html && webpack-dev-server --content-base src/ --inline --hot",
PS C:\Users\gaurchah\Documents\webd notes\reactjs> npm start
> [email protected] start
> npm run build
> [email protected] build
> webpack -d && cp src/index.html dist/index.html && webpack-dev-server --content-base src/ --inline --hot
[webpack-cli] Error: Option '-d, --devtool <value>' argument missing
[webpack-cli] Run 'webpack --help' to see available commands and options
PS C:\Users\gaurchah\Documents\webd notes\reactjs>
When I run the npm start I get the error: [webpack-cli] Error: Option 'd, --devtool <value>' argument missing
ОтветитьHi Everyone,
I folowed instruction as said but I'm getting the below error.
Error: Option '-d, --devtool <value>' argument missing
Where I'm missing?
do we need this today (2021) when we have create-react-app?
Ответитьcan you update this video with create-react-app and webpack 5 as per 2021
ОтветитьPOV: You're german and double point sounds legit.
Ответитьhi after running npm start i getting this error
[webpack-cli] Error: Option '-d, --devtool <value>' argument missing
[webpack-cli] Run 'webpack --help' to see available commands and options
can u explain what i did wrong ?
hi after running npm start i getting this error
[webpack-cli] Error: Option '-d, --devtool <value>' argument missing
[webpack-cli] Run 'webpack --help' to see available commands and options
can u explain what i did wrong ?
For those who will try to follow the instructions - this instructions are highly outdated, and not usable anymore. The babel has newer versions, and nothing from described in the video is actual anymore. When you try to start the server, you will get into a spiral of errors.
ОтветитьHello, I accidentally put this comment in the previous video. I am getting an error :
[webpack-cli] Error: Option '-d, --devtool <value>' argument missing
[webpack-cli] Run 'webpack --help' to see available commands and options Note: when I ran npm start it asked me if I wanted to install webpack-cli, I said yes. I think perhaps I have a newer version of webpack, that is requiring some parameters.
why not using: "npm create-react-app"?
Ответить