Error:
{ Error: EPERM: operation not permitted, scandir 'D:\MyWork\ReactJs\learnearn\node_modules\fsevents\node_modules\dashdash\node_modules'
33244 error at Error (native)
33244 error stack: 'Error: EPERM: operation not permitted, scandir \'D:\\MyWork\\ReactJs\\learnearn\\node_modules\\fsevents\\node_modules\\dashdash\\node_modules\'\n at Error (native)',
33244 error errno: -4048,
33244 error code: 'EPERM',
33244 error syscall: 'scandir',
33244 error path: 'D:\\MyWork\\ReactJs\\learnearn\\node_modules\\fsevents\\node_modules\\dashdash\\node_modules' }
33245 error Please try running this command again as root/Administrator.
check for npm version
> npm -v
5.4.2
well, there is a problem with this version
downgrade to 5.0.4
> npm install -g npm@5.0.4
> create-react-app myApp
now you will be able to create project successfully
No comments:
Post a Comment