npm create cloudflare: "no such file or directory lstat"
When attempting to create a new project using
npm create cloudflare@latest
npm create cloudflare@latest
, I get the following error after choosing the options I wanted:
PS E:\cf-projects> npm create cloudflare@latestusing create-cloudflare version 2.21.3╭ Create an application with Cloudflare Step 1 of 3│├ In which directory do you want to create your application?│ dir ./alterion-dev│├ What type of application do you want to create?│ type Website or web app│├ Which development framework do you want to use?│ framework Solid│├ Continue with Solid via `npx create-solid@0.5.5 -p alterion-dev -s`│npm ERR! code ENOENTnpm ERR! syscall lstatnpm ERR! path C:\Users\eslac\AppData\Roaming\npmnpm ERR! errno -4058npm ERR! enoent ENOENT: no such file or directory, lstat 'C:\Users\eslac\AppData\Roaming\npm'npm ERR! enoent This is related to npm not being able to find a file.npm ERR! enoentnpm ERR! A complete log of this run can be found in: C:\Users\eslac\AppData\Local\npm-cache\_logs\2024-05-28T02_57_29_983Z-debug-0.log╰ ERROR Errornpm ERR! code 1npm ERR! path E:\cf-projectsnpm ERR! command failednpm ERR! command C:\Windows\system32\cmd.exe /d /s /c create-cloudflarenpm ERR! A complete log of this run can be found in: C:\Users\eslac\AppData\Local\npm-cache\_logs\2024-05-28T02_56_57_300Z-debug-0.logPS E:\cf-projects>
PS E:\cf-projects> npm create cloudflare@latestusing create-cloudflare version 2.21.3╭ Create an application with Cloudflare Step 1 of 3│├ In which directory do you want to create your application?│ dir ./alterion-dev│├ What type of application do you want to create?│ type Website or web app│├ Which development framework do you want to use?│ framework Solid│├ Continue with Solid via `npx create-solid@0.5.5 -p alterion-dev -s`│npm ERR! code ENOENTnpm ERR! syscall lstatnpm ERR! path C:\Users\eslac\AppData\Roaming\npmnpm ERR! errno -4058npm ERR! enoent ENOENT: no such file or directory, lstat 'C:\Users\eslac\AppData\Roaming\npm'npm ERR! enoent This is related to npm not being able to find a file.npm ERR! enoentnpm ERR! A complete log of this run can be found in: C:\Users\eslac\AppData\Local\npm-cache\_logs\2024-05-28T02_57_29_983Z-debug-0.log╰ ERROR Errornpm ERR! code 1npm ERR! path E:\cf-projectsnpm ERR! command failednpm ERR! command C:\Windows\system32\cmd.exe /d /s /c create-cloudflarenpm ERR! A complete log of this run can be found in: C:\Users\eslac\AppData\Local\npm-cache\_logs\2024-05-28T02_56_57_300Z-debug-0.logPS E:\cf-projects>
Not quite sure what to do from here... I recall being able to create a cloudflare project with react, like, last week, but now this is broken.