Even I ran npm install it is failing and please find the attached screenshot and logs.
199213-logs.txt
Even I ran npm install it is failing and please find the attached screenshot and logs.
199213-logs.txt
Hi @sns1 ,
I am currently doing some research on this issue, will let you know as soon as possible
Hi @sns1 ,
To fix this error, you can follow the steps.
1. Delete node modules
npm install rimraf -g
rimraf node_modules
Delete package-lock.json file
clean npm as administrator.
npm cache clean --force
run npm install
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
Hi RaytheonXie,
Thank you for the response.
I did as it is, looks like NPM module got intalled however in the end I see error. Please help further and find attached files
199398-2022-05-06t06-36-31-961z-debug.log
Hi RaythonXie,
I ran the commands mentioned in the blog, but still some issue, please suggest what exactly I need to do?
Hi @sns1 ,
Have you tried the solution I proposed?
If you have any questions or progress, you can contact me in time.
Looking forward to your reply
Have a lucky day!
Thanks,
Raytheon Xie
Please share me the exact command to roll back to 12, I was doing google but it is giving errors for me.
Hi @sns1 ,
1.Go to Control panel> program and features>Node.js then uninstall
2.Go to website: https://nodejs.org/dist/ and download the version and install.
Hi RaytheonXie,
I have uninstalled and installed but still same issue. while generating basic hello web part using yo generator , I am still seeing errors and in visual stuido code also node modules are not there
199710-logg.txt

Hi @sns1 ,
Per your screenshot. Your node version is 18.1.0
If you want to install node 12. You should download this
14 people are following this question.