pankod / superplate

A well-structured production-ready frontend boilerplate with Typescript, React Testing Library, styled-component, React Query, .env, Axios, Bundle Analyzer, Prettier and 30+ plugins. superplate creates projects for React.js, Next.js, and refine. https://pankod.github.io/superplate/
https://pankod.github.io/superplate/
2.77k stars 140 forks source link

Failed to install the packages #348

Open thejuprasad opened 11 months ago

thejuprasad commented 11 months ago

✔ Downloaded remote source successfully. √ Choose a project template · refine-react √ What would you like to name your project?: · client ? Choose your backend service to connect: ... √ Choose your backend service to connect: · data-provider-custom-json-rest

√ Do you want to use a UI Framework?: · mui √ Do you want to add example pages?: · inferencer √ Do you need any Authentication logic?: · auth-provider-google
√ Do you need i18n (Internationalization) support?: · no superplate-cli has encountered an error.

If you think this is caused by a bug. Please check out: https://github.com/pankod/superplate/issues

ERROR SAOError: Failed to install packages in C:\Users\tthej\NodeJS\Refine_app/client at ChildProcess. (C:\Users\tthej\AppData\Local\npm-cache_npx\98c66fac912b1cba\node_modules\create-refine-app\node_modules\sao\dist\chunk.T-GsVNZ1.js:6885:16) at ChildProcess.emit (node:events:513:28) at cp.emit (C:\Users\tthej\AppData\Local\npm-cache_npx\98c66fac912b1cba\node_modules\create-refine-app\node_modules\sao\dist\chunk.T-GsVNZ1.js:460:27) at maybeClose (node:internal/child_process:1091:16) at ChildProcess._handle.onexit (node:internal/child_process:302:5) { sao: true }

image

MustafaBongalon commented 10 months ago

how can I get this resolved?

MustafaBongalon commented 10 months ago

I encountered the same error, can someone help me out with this issue Plz?

AaheliBasu commented 9 months ago

how to solve this problem?

BigJoe17 commented 4 months ago

Same here having same issues

HANJAD commented 4 months ago

help us

YannKamche commented 3 months ago

I was able to fix it. Here are the couple of things I tried. I don't really know what fixed it but it seemed to work😅 ✅Re-installed nodejs and npm in my pc ✅Re-installed TypeScript and ts-node globally npm install -g typescript. npm install -g ts-node. ✅Ensured I had a stable internet connection ✅Set up your refine project again with the command in the video Hurray. It worked😂