equal-jade
equal-jadeโ€ข2y ago

Create refine-app error

Hello, I'm following the quick start guide and I can't seem to get past the npm create refine-app my-project step. I get the following error:
Error: EPERM: operation not permitted, rename 'C:\git\ahyousif\refine\1670599922280-7985225482361904\superplate-core-plugins-master' -> 'C:\Users\mrari\AppData\Local\Temp\d-2022119-17804-gejygv.gvm3d'
Emitted 'error' event on GithubDownloader instance at:
at C:\Users\mrari\AppData\Local\npm-cache\_npx\678fa4c4b5e44e85\node_modules\github-download\lib\github-download.js:
Error: EPERM: operation not permitted, rename 'C:\git\ahyousif\refine\1670599922280-7985225482361904\superplate-core-plugins-master' -> 'C:\Users\mrari\AppData\Local\Temp\d-2022119-17804-gejygv.gvm3d'
Emitted 'error' event on GithubDownloader instance at:
at C:\Users\mrari\AppData\Local\npm-cache\_npx\678fa4c4b5e44e85\node_modules\github-download\lib\github-download.js:
I thought maybe it's my machine (windows 10) but I get the same result on my laptop (windows 11)
11 Replies
Omer
Omerโ€ข2y ago
Hey @luchasi , Thank you for contacting us! There will be a fix release about it in 10-15 minutes. I'll let you know when it's released ๐Ÿ’ฏ Hey again @luchasi , Could you try with next channel? npm create refine-app@next my-project if you keep getting error you can try this command npm create refine-app@next my-project -- -d git
equal-jade
equal-jadeโ€ข2y ago
Thank you for responding Omer. The second command: npm create refine-app@next my-project -- -d git worked for me
Omer
Omerโ€ข2y ago
The error in the first command still persists, right?
equal-jade
equal-jadeโ€ข2y ago
Yes, the error occurs with the two following: npm create refine-app my-project npm create refine-app@next my-project
Omer
Omerโ€ข2y ago
Thank you ๐Ÿ‘
equal-jade
equal-jadeโ€ข2y ago
No problem ! ๐Ÿ™‚
equal-jade
equal-jadeโ€ข2y ago
This is somewhat of a related question, what is the command for the material ui tutorial? This link shows mantine in the first step: https://refine.dev/docs/tutorials/material-ui-tutorial/ Also refine-material is not a valid preset:
No description
equal-jade
equal-jadeโ€ข2y ago
i found that it was refine-mui
Omer
Omerโ€ข2y ago
Do you want to create a PR?โšก๏ธ
equal-jade
equal-jadeโ€ข2y ago
GitHub
[BUG] Updated first step to show create command by ahyousif ยท Pull ...
IMPORTANT: Please do not create a Pull Request without creating an issue first. Any change needs to be discussed before proceeding. Failure to do so may result in the rejection of the pull request....
Omer
Omerโ€ข2y ago
Hey @luchasi ๐Ÿ‘‹ , I hope you are very well! We made a change to the CLI. We want to make sure everything is working correctly. Could you please test it for us? npm create refine-app@next my-project