sp-dev-fx-webparts
sp-dev-fx-webparts copied to clipboard
react-caml2table doesn't build
Disclaimer
Yes
Sample
react-caml2table
Contributor(s)
@tanddant
What happened?
The sample will not run complaining of multiple modules not found. I have tried running npm i using all three node versions listed as compatible (12, 14, 16) deleting the node_modules folder every time inbetween. It's a shame. I thought this would make for a great dev tool.
Steps to reproduce
- Clone the samples repo
- cd into react-caml2table and run npm i
- gulp serve
Expected behavior
The sample should build and run.
Target SharePoint environment
SharePoint Online
Developer environment
Windows
Browsers
- [ ] Internet Explorer
- [ ] Microsoft Edge
- [ ] Google Chrome
- [ ] FireFox
- [ ] Safari
- [ ] mobile (iOS/iPadOS)
- [ ] mobile (Android)
- [X] not applicable
- [ ] other (enter in the "Additional environment details" area below)
What version of Node.js is currently installed on your workstation?
16.20.2, 14.18.2, 12.22.10
What version of Node.js is required by the sample?
12, 14, 16
Paste the results of SPFx doctor
file:///C:/Users/ComputerServices/AppData/Roaming/nvm/v12.22.10/node_modules/@pnp/cli-microsoft365/dist/cli/cli.js:294 c.aliases?.find(a => a === cli.currentCommandName))?.file ?? ''; ^
SyntaxError: Unexpected token '.' at Loader.moduleStrategy (internal/modules/esm/translators.js:140:18)
Additional environment details
No response
Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.
Hi there @erikstagg
The sample was built in Node v14.19.3 - are you able to test with that specific version, just to verify 😊
Hi @Tanddant
14.19.3 gives me the same error. This time only eslint which seems to be the common one missing across all the versions I've tried.
Oops! Something went wrong! :( ESLint: 8.7.0 Error: Failed to load plugin '@typescript-eslint' declared in '.eslintrc.js » @microsoft/eslint-config-spfx/lib/profiles/react » ./default': Cannot find module 'eslint'
@erikstagg interesting, I'm in the middle of a move, so I don't actually have my computer available to try myself, but I'll take a look once I'm settled in again 😊
No worries. thanks!
@hugoabernier Are you able to assign med to this one?