Closed TracyGH closed 2 weeks ago
Hello @TracyGH
I see your point. I actually managed to build and serve using node 12.13.0 but that was on the end of June when I committed the last change.
If node version 14.21.3 worked with you then this is great. it is mentioned in the ReadME in Compatibility section that node version 14 is also compatible.
Additionally, I am in the process of updating the Calendar's node version to SPFx version 1.16.1. Following this update, node version 16.20.2 will be required. We will ensure the ReadMe file is updated accordingly to facilitate your use of the Calendar webpart.
@TracyGH thanks for bringing this up to us. I personally test every pull request sample with the version of node stated by the author of the PR to ensure they work.
As @mohammadamer stated, you can use any of the versions of node supported in the README document.
I'll go ahead and close this issue, but feel free to open a new issue if you have any further issues building the sample using a supported version of node.
Disclaimer
Yes
Sample
https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-calendar
Contributor(s)
@Abderahman88 @Eli-Schei @joaojmendes @derhallim @mohammadamer @nanddeepn
What happened?
After successfully running npm install in the react-calendar sample directory, I attempted to run
gulp build
orgulp serve
. Both produced the same behavior indicated in this issue created 3 weeks ago, which was closed without a comment or resolution.See below.
Steps to reproduce
node -v
gulp build
orgulp serve
.Expected behavior
I expected to be able to run the recommended version of Node (12.13.0) and have the project
gulp build
andgulp serve
successfully. If that is not the case, shouldn't the compatibility section and .nvmrc file be updated?Target SharePoint environment
SharePoint Online
Developer environment
Windows
Browsers
What version of Node.js is currently installed on your workstation?
Several, including v12.13.0
What version of Node.js is required by the sample?
v12.13.0
Paste the results of SPFx doctor
I received lots of warnings when installing the CLI for Microsoft 365 and was unable to run the
m365 setup
command. Please see below for the full error.Additional environment details
No response