sp-dev-fx-extensions icon indicating copy to clipboard operation
sp-dev-fx-extensions copied to clipboard

NPM Errors

Open chasquad opened this issue 1 year ago • 3 comments

Sample

React-Application-Announcements

Author(s)

@MartinCyr @MikeMyers

What happened?

Cloned the repository. Then I did npm install. This is where I got these errors.

Steps to reproduce

  1. Cloned Repository
  2. Navigated to my cloned repository location
  3. Used PowerShell did command npm install

Expected behavior

Expected no errors. 2024-02-28T21_21_02_217Z-debug-0.log

Target SharePoint environment

SharePoint Online

Developer environment

None

Browsers

  • [ ] Internet Explorer
  • [X] Microsoft Edge
  • [ ] Google Chrome
  • [ ] FireFox
  • [ ] Safari
  • [ ] mobile (iOS/iPadOS)
  • [ ] mobile (Android)
  • [ ] not applicable
  • [ ] other (enter in the "Additional environment details" area below)

Node.js version

v18.19.0

Additional environment details

No response

chasquad avatar Feb 28 '24 21:02 chasquad

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.

ghost avatar Feb 28 '24 21:02 ghost

@martincyr @thespooler

I may not have done the @ mentions correctly when I submitted the issue. Sorry .. I'm new!

chasquad avatar Mar 11 '24 12:03 chasquad

This sample was written in the SPFx 1.10 days, so it requires NodeJS version 8 or 10. You were building it using Node 18, and for SPFx, node and npm versions matters. I will be submitting a PR to get it running with more recent version of SPFx.

thespooler avatar Mar 13 '24 13:03 thespooler