I can't seem to run npm install to create refine app

npm create refine-app@latest client C:\Users\Admin\AppData\Local\npm-cache_npx\98c66fac912b1cba\node_modules\execa\node_modules\cross-spawn\lib\util\resolveCommand.js:29 pathExt: withoutPathExt ? path.de SyntaxError: Unexpected end of input at internalCompileFunction (node:internal/vm:73:18) at wrapSafe (node:internal/modules/cjs/loader:1176:20) at Module._compile (node:internal/modules/cjs/loader:1218:27) at Module._extensions..js (node:internal/modules/cjs/loader:1308:10) at Module.load (node:internal/modules/cjs/loader:1117:32) at Module._load (node:internal/modules/cjs/loader:958:12) at Module.require (node:internal/modules/cjs/loader:1141:19) at require (node:internal/modules/cjs/helpers:110:18) at Object.<anonymous> (C:\Users\Admin\AppData\Local\npm-cache_npx\98c66fac912b1cba\node_modules\execa\node_modules\cross-spawn\lib\parse.js:4:24)
at Module._compile (node:internal/modules/cjs/loader:1254:14) Node.js v18.15.0 npm ERR! code 1 npm ERR! path C:\Users\Admin\Desktop\Property Management System npm ERR! command failed npm ERR! command C:\Windows\system32\cmd.exe /d /s /c create-refine-app client npm ERR! A complete log of this run can be found in: C:\Users\Admin\AppData\Local\npm-cache_logs\2023-04-10T10_06_17_865Z-debug-0.log
14 Replies
kapa.ai
kapa.ai2y ago
Hi @thomaspycharm. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave: Sorry @thomaspycharm, I seem to be having a bit of trouble. Don't worry though, I've pinged my supprt and they will try to fix me up! :technologist: Perhaps try again in 15mins?
foreign-sapphire
foreign-sapphire2y ago
it's a long shot but worth to try, is it working ? npx create refine-app@latest client
afraid-scarlet
afraid-scarlet2y ago
npx create refine-app@latest client npm ERR! could not determine executable to run npm ERR! A complete log of this run can be found in: C:\Users\Admin\AppData\Local\npm-cache_logs\2023-04-10T11_05_29_769Z-debug-0.log
foreign-sapphire
foreign-sapphire2y ago
we will investigage. can you share us this file too ?C:\Users\Admin\AppData\Local\npm-cache_logs\2023-04-10T11_05_29_769Z-debug-0.log
afraid-scarlet
afraid-scarlet2y ago
Omer
Omer2y ago
Hey @thomaspycharm , You can try creating a project using https://refine.new
refine.new - Open-source enterprise application platform for seriou...
Enterprise-grade, production-ready, and highly scalable web apps in minutes.
foreign-sapphire
foreign-sapphire2y ago
this is should be with - sorry npx create-refine-app@latest client i don't think is related to npm but worth to try. im still investigating oh yeah. refine.new it's a great way to start 🚀
afraid-scarlet
afraid-scarlet2y ago
Let me try this I will really appreciate your help
foreign-sapphire
foreign-sapphire2y ago
is this work ?
afraid-scarlet
afraid-scarlet2y ago
Yes it did but unlike creating from the terminal it doesn't allow me to have the options of choosing interchanging between dark and light themes, custom layouts and the i18n But it worked fine
foreign-sapphire
foreign-sapphire2y ago
custom layouts and dark themes comes default. are you using remix ? currently remix don't have i18n
afraid-scarlet
afraid-scarlet2y ago
Wow thats soo cool No I am working on a react project How do I remove the header that requests a tar on github a star*
foreign-sapphire
foreign-sapphire2y ago
you can remove this component on app.tsx<GitHubBanner />
afraid-scarlet
afraid-scarlet2y ago
worked like a charm Thank you for your support