TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
yash patel
1.1k
282
20.8k
react installation
Oct 24 2020 2:15 AM
i have followed the installation steps as given in the below website
https://www.tutorialspoint.com/reactjs/reactjs_environment_setup.htm
every thing worked fine and i followed each and every step carefully
but when giving the last command npm start
i m getting the errror
i m getting the below error
C:\Users\Yesh Depani\Desktop\reactApp>npm start
>
[email protected]
start C:\Users\Yesh Depani\Desktop\reactApp
> webpack-dev-server --mode development --open --hot
internal/modules/cjs/loader.js:834
throw err;
^
Error: Cannot find module 'webpack-cli/bin/config-yargs'
Require stack:
- C:\Users\Yesh Depani\Desktop\reactApp\node_modules\webpack-dev-server\bin\webpack-dev-server.js
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:831:15)
at Function.Module._load (internal/modules/cjs/loader.js:687:27)
at Module.require (internal/modules/cjs/loader.js:903:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object.<anonymous> (C:\Users\Yesh Depani\Desktop\reactApp\node_modules\webpack-dev-server\bin\webpack-dev-server.js:65:1)
at Module._compile (internal/modules/cjs/loader.js:1015:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1035:10)
at Module.load (internal/modules/cjs/loader.js:879:32)
at Function.Module._load (internal/modules/cjs/loader.js:724:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'C:\\Users\\Yesh Depani\\Desktop\\reactApp\\node_modules\\webpack-dev-server\\bin\\webpack-dev-server.js'
]
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR!
[email protected]
start: `webpack-dev-server --mode development --open --hot`
npm ERR! Exit status 1
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\Yesh Depani\AppData\Roaming\npm-cache\_logs\2020-10-24T07_11_33_676Z-debug.log
C:\Users\Yesh Depani\Desktop\reactApp>
Reply
Answers (
1
)
Getting Error in installation of react
Image is not Loading