1

Getting below error while trying to create an SPFx project with ReactJS, but if I use NO JS Framework it works fine. I have updated the npm to version 6.14.7, updated the @microsoft/SharePoint template as well. Please suggest

Unexpected Error

1 Answer 1

0

Do you run the npm install command as prompted?

Could you share your SPFX creation process for further research?

My project structure: enter image description here

8
  • Installed Node JS version 10.20.X, then npm install yo gulp -g, then npm install @microsoft/generator-sharepoint. then using yeoman utility created a project with react framework yo @microsoft/sharepoint Aug 7, 2020 at 6:49
  • Can you reproduce the issue?
    – Amos
    Aug 7, 2020 at 6:52
  • Ok, I am now doing a fresh installation... Aug 7, 2020 at 7:03
  • Is it still wrong?
    – Amos
    Aug 7, 2020 at 7:20
  • Yes, it is showing the same error again Aug 7, 2020 at 7:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.