You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Step 1: npm create @shopify/hydrogen@latest
Step 2: Link your Shopify account
Step 3: Select a shop to log in to:
Step 4: New storefront name:
Step 5: Select Javascript
Expected Behavior
I expect to select JavaScript or Typescript and continue with the installation.
Actual Behavior
NPM Version: v16.14.2
Once we get to Step 5 the installation exits and present an error message. The prompt exists before any selection is made.
Failed to initialize project: ENOENT: no such file or directory, open │
│ '/Users/pbj/Sites/hydrogen-test/<project-name>/package.json' │
│ │
│ Error: ENOENT: no such file or directory, open │
│ '/Users/pbj/Sites/hydrogen-test/<project-name>/package.json'
npm ERR! code 1
npm ERR! path /Users/pbj/Sites/hydrogen-test
npm ERR! command failed
npm ERR! command sh -c create-hydrogen
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/pbj/.npm/_logs/2023-11-01T14_05_54_133Z-debug-0.log
and NPM logs
0 verbose cli [
0 verbose cli '/Users/pbj/.nvm/versions/node/v16.14.2/bin/node',
0 verbose cli '/Users/pbj/.nvm/versions/node/v16.14.2/bin/npm',
0 verbose cli 'create',
0 verbose cli '@shopify/hydrogen@latest'
0 verbose cli ]
1 info using [email protected]
2 info using [email protected]
3 timing npm:load:whichnode Completed in 0ms
4 timing config:load:defaults Completed in 3ms
5 timing config:load:file:/Users/pbj/.nvm/versions/node/v16.14.2/lib/node_modules/npm/npmrc Completed in 1ms
6 timing config:load:builtin Completed in 1ms
7 timing config:load:cli Completed in 2ms
8 timing config:load:env Completed in 1ms
9 timing config:load:file:/Users/pbj/Sites/hydrogen-test/.npmrc Completed in 3ms
10 timing config:load:project Completed in 8ms
11 timing config:load:file:/Users/pbj/.npmrc Completed in 3ms
12 timing config:load:user Completed in 4ms
13 timing config:load:file:/Users/pbj/.nvm/versions/node/v16.14.2/etc/npmrc Completed in 0ms
14 timing config:load:global Completed in 0ms
15 timing config:load:validate Completed in 1ms
16 timing config:load:credentials Completed in 1ms
17 timing config:load:setEnvs Completed in 1ms
18 timing config:load Completed in 24ms
19 timing npm:load:configload Completed in 24ms
20 timing npm:load:setTitle Completed in 6ms
21 timing config:load:flatten Completed in 4ms
22 timing npm:load:display Completed in 7ms
23 verbose logfile /Users/pbj/.npm/_logs/2023-11-01T14_05_54_133Z-debug-0.log
24 timing npm:load:logFile Completed in 8ms
25 timing npm:load:timers Completed in 0ms
26 timing npm:load:configScope Completed in 0ms
27 timing npm:load Completed in 48ms
28 silly logfile start cleaning logs, removing 1 files
29 http fetch GET 200 https://registry.npmjs.org/@shopify%2fcreate-hydrogen 430ms (cache revalidated)
30 timing arborist:ctor Completed in 2ms
31 timing arborist:ctor Completed in 0ms
32 timing arborist:ctor Completed in 0ms
33 timing command:create Completed in 48602ms
34 verbose stack Error: command failed
34 verbose stack at ChildProcess.<anonymous> (/Users/pbj/.nvm/versions/node/v16.14.2/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/index.js:64:27)
34 verbose stack at ChildProcess.emit (node:events:526:28)
34 verbose stack at maybeClose (node:internal/child_process:1092:16)
34 verbose stack at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5)
35 verbose cwd /Users/pbj/Sites/hydrogen-test
36 verbose Darwin 23.0.0
37 verbose argv "/Users/pbj/.nvm/versions/node/v16.14.2/bin/node" "/Users/pbj/.nvm/versions/node/v16.14.2/bin/npm" "create" "@shopify/hydrogen@latest"
38 verbose node v16.14.2
39 verbose npm v8.5.0
40 error code 1
41 error path /Users/pbj/Sites/hydrogen-test
42 error command failed
43 error command sh -c create-hydrogen
44 verbose exit 1
45 timing npm Completed in 48873ms
46 verbose code 1
47 error A complete log of this run can be found in:
47 error /Users/pbj/.npm/_logs/2023-11-01T14_05_54_133Z-debug-0.log
The text was updated successfully, but these errors were encountered:
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?
2.1.0
Steps to Reproduce
Step 1:
npm create @shopify/hydrogen@latest
Step 2:
Link your Shopify account
Step 3:
Select a shop to log in to:
Step 4:
New storefront name:
Step 5:
Select Javascript
Expected Behavior
I expect to select
JavaScript
orTypescript
and continue with the installation.Actual Behavior
NPM Version:
v16.14.2
Once we get to Step 5 the installation exits and present an error message. The prompt exists before any selection is made.
and NPM logs
The text was updated successfully, but these errors were encountered: