Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trouble creating a hydrogen project on Windows 11 #2578

Open
joelschout opened this issue Sep 30, 2024 · 4 comments
Open

Trouble creating a hydrogen project on Windows 11 #2578

joelschout opened this issue Sep 30, 2024 · 4 comments
Labels
Bug Something isn't working SEV-3

Comments

@joelschout
Copy link

What is the location of your example repository?

No response

Which package or tool is having this issue?

Hydrogen

What version of that package or tool are you using?

latest

What version of Remix are you using?

No response

Steps to Reproduce

i run the command npm create @shopify/hydrogen@latest -- --quickstart in a project folder on C:\Users{your-user-name}\OneDrive\Documents\Projetct\Shopify and got an error.

i have installed node 20.17.0

Expected Behavior

i expected to install the project without any problems, i tried it on a windows 10 pc and i had no problems with it

Actual Behavior

it got me this error:

Failed to initialize project: ENOENT: no such file or directory, open       │
│  'c:\Users\Jo%C3%ABl\AppData\Local\npm-cache\_npx\e1eac94ad41cc36f\node_mod  │
│  ules\@shopify\create-hydrogen\dist\assets\hydrogen\starter\app\root.tsx'    │
│                                                                              │
│  Error: ENOENT: no such file or directory, open                              │
│  'c:\Users\Jo%C3%ABl\AppData\Local\npm-cache\_npx\e1eac94ad41cc36f\node_mod  │
│  ules\@shopify\create-hydrogen\dist\assets\hydrogen\starter\app\root.tsx'    │
│      at async open (node:internal/fs/promises:639:25)                        │
│      at async readFile (node:internal/fs/promises:1242:14)                   │
│      at async ELr                                                            │
│  (file:///C:/Users/Jo%C3%ABl/AppData/Local/npm-cache/_npx/e1eac94ad41cc36f/  │
│  node_modules/@shopify/create-hydrogen/dist/create-app.js:1789:5605)         │
│      at async Vre                                                            │
│  (file:///C:/Users/Jo%C3%ABl/AppData/Local/npm-cache/_npx/e1eac94ad41cc36f/  │
│  node_modules/@shopify/create-hydrogen/dist/create-app.js:1789:4932)         │
│      at async Promise.all (index 0)     

npm error code 1
npm error path C:\Users\username\OneDrive\Documents\Projects
npm error command failed
npm error command C:\WINDOWS\system32\cmd.exe /d /s /c create-hydrogen --quickstart
npm error A complete log of this run can be found in: C:\Users\username\AppData\Local\npm-cache_logs\2024-09-30T17_50_20_244Z-debug-0.log

@scottdixon
Copy link
Contributor

Thanks for the report @joelschout

Can you confirm you've got additional tools installed?

@joelschout
Copy link
Author

I did not, they are installing. I will try again after they are finished.

@joelschout
Copy link
Author

i have installed it, still the same error and issue

@scottdixon scottdixon added Bug Something isn't working SEV-3 labels Oct 2, 2024
@guidance-mattfc
Copy link

I am getting the same issue. Any thoughts?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working SEV-3
Projects
None yet
Development

No branches or pull requests

3 participants