-
Notifications
You must be signed in to change notification settings - Fork 272
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
Error after ''npm init saas-boilerplate''. I have all requirements #430
Comments
Hello @giuseppe-coco,
after
so the code will look like:
Then, please run |
I had the same issue; this resolved it for me. I'm not sure how the line was missing for me since I've used the 'starter kit' setup. |
I modified the code as you wrote, but when I run |
Hey guys, I am getting the same issue. I tried all 3 methods with npm, pnpm and yarn as well. All the requirements stated are there in my local machine. ( windows 10 64bit ) Here's the complete log below,
Device and OS info below, Any help would be appreciated. Thanks in advance |
Describe the bug
postinstall$ node packages/internal/cli/scripts/build.js
│ node:events:492
│ throw er; // Unhandled 'error' event
│ ^
│ Error: spawn pnpm ENOENT
│ at ChildProcess._handle.onexit (node:internal/child_process:286:19)
│ at onErrorNT (node:internal/child_process:484:16)
│ at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
│ Emitted 'error' event on ChildProcess instance at:
│ at ChildProcess._handle.onexit (node:internal/child_process:292:12)
│ at onErrorNT (node:internal/child_process:484:16)
│ at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
│ code: 'ENOENT',
│ syscall: 'spawn pnpm',
│ path: 'pnpm',
│ spawnargs: [ 'run', 'build' ]
│ }
│ Node.js v20.9.0
└─ Failed in 179ms at C:\Users\ccpep\Desktop\saas-boilerplate
Installing dependencies... !
Error: Command failed: pnpm i --frozen-lockfile
npm ERR! code 1
npm ERR! path C:\Users\ccpep\Desktop\saas-boilerplate
npm ERR! command failed
npm ERR! command C:\Windows\system32\cmd.exe /d /s /c create-saas-boilerplate
npm ERR! A complete log of this run can be found in: C:\Users\ccpep\AppData\Local\npm-cache_logs\2023-11-12T16_27_29_802Z-debug-0.log
Steps to reproduce
System Info
Logs
No response
Validations
The text was updated successfully, but these errors were encountered: