refinedev/refine

[BUG] installer reports incorrect version of node, but I am using the correct version

toddrimes opened this issue · 6 comments

Describe the bug

run npm create refine-app@latest
installer starts and asks questions
get the error
note that node --version shows I am using the correct version (screenshot)

Steps To Reproduce

  1. run npm create refine-app@latest
  2. installer starts and asks questions
  3. get the error
  4. note that node --version shows I am using the correct version (screenshot)

Expected behavior

completed install

Packages

Screenshot 2024-08-26 at 7 47 58 PM

Additional Context

No response

Hey @toddrimes I couldn't reproduce the issue.

Screenshot 2024-08-27 at 14 14 06

Which yarn version are you using? And are you using nvm?

Hi. Yes, I'm using nvm. And you can see my node version at the bottom of the screenshot.
I have yarn 1.22.22. Would that cause the error I'm seeing?

Since you can't reproduce it, what should I do?

I also do not get the error with the refine-vite template. Please note I chose (and still prefer) refine-nextjs in my initial screenshot.

Hm - I tried again using npm instead of yarn and it succeeded. Thank you!

D'oh! Now I get the same error when I do 'npm run dev':

Screenshot 2024-08-27 at 2 51 43 PM