Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Seems not to work using SPFx 1.20 with node 18.20.5 #20

Open
MichelLaplane opened this issue Jan 9, 2025 · 0 comments
Open

Seems not to work using SPFx 1.20 with node 18.20.5 #20

MichelLaplane opened this issue Jan 9, 2025 · 0 comments

Comments

@MichelLaplane
Copy link

running npm install gives this error:
npm error code 1
npm error path D:\Dev\HugoBernier1\react-diagram-webparts-master\node_modules\deasync
npm error command failed
npm error command C:\WINDOWS\system32\cmd.exe /d /s /c node ./build.js
npm error node:internal/child_process:414
npm error throw errnoException(err, 'spawn');
npm error ^
npm error
npm error Error: spawn EINVAL
npm error at ChildProcess.spawn (node:internal/child_process:414:11)
npm error at Object.spawn (node:child_process:761:9)
npm error at build (D:\Dev\HugoBernier1\react-diagram-webparts-master\node_modules\deasync\build.js:76:5)
npm error at Object. (D:\Dev\HugoBernier1\react-diagram-webparts-master\node_modules\deasync\build.js:67:3)
npm error at Module._compile (node:internal/modules/cjs/loader:1364:14)
npm error at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)
npm error at Module.load (node:internal/modules/cjs/loader:1203:32)
npm error at Module._load (node:internal/modules/cjs/loader:1019:12)
npm error at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
npm error at node:internal/main/run_main_module:28:49 {
npm error errno: -4071,
npm error code: 'EINVAL',
npm error syscall: 'spawn'
npm error }
npm error
npm error Node.js v18.20.5
npm error A complete log of this run can be found in: C:\Users\miche\AppData\Local\npm-cache_logs\2025-01-09T20_31_41_252Z-debug-0.log.

Trying to run using gulp serve then gives this error :
[21:35:43] Local gulp not found in D:\Dev\HugoBernier1\react-diagram-webparts-master
[21:35:43] Try running: npm install gulp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant