Questions and discussions about using the Shopify CLI and Shopify-built libraries.
Welcome. Let’s get started by naming your app. You can change it later.
✔ Your app's name? · blade-fbt-2
✔ Which template would you like to use? · node
✔ Downloaded template from https://github.com/Shopify/shopify-app-template-node
✔ App initialized
✔ Liquid parsed
✔ Updated package.json
❯ Installing dependencies with npm
✔ Installed dependencies in /
✖ Command failed with exit code 6: npm install
npm WARN deprecated @npmcli/move-file@1.1.2: This functionality has been moved to @npmcli/fs
npm ERR! code 6
npm ERR! path /private/var/folders/q0/jnhdm_xx5f93h9dn8wgjllsw0000gp/T/957f2a072eb8ea6f438e937c33ae22e8/app/web/node_modules/sqlite3
npm ERR! command failed
npm ERR! command sh -c -- node-pre-gyp install --fallback-to-build
npm ERR! node-pre-gyp info it worked if it ends with ok
npm ERR! node-pre-gyp info using node-pre-gyp@1.0.10
npm ERR! node-pre-gyp info using node@18.12.1 | darwin | x64
npm ERR! node-pre-gyp info check checked for "/private/var/folders/q0/jnhdm_xx5f93h9dn8wgjllsw0000gp/T/957f2a072eb8ea6f438e937c33ae2…
npm ERR! node-pre-gyp http GET https://github.com/TryGhost/node-sqlite3/releases/download/v5.1.4/napi-v6-darwin-unknown-x64.tar.gz
npm ERR! node-pre-gyp info install unpacking napi-v6-darwin-unknown-x64/node_sqlite3.node
npm ERR! node-pre-gyp ERR! Completion callback never invoked!
npm ERR! node-pre-gyp ERR! System Darwin 22.1.0
npm ERR! node-pre-gyp ERR! command "/usr/local/Cellar/node@18/18.12.1/bin/node" "/private/var/folders/q0/jnhdm_xx5f93h9dn8wgjllsw000…
npm ERR! node-pre-gyp ERR! cwd /private/var/folders/q0/jnhdm_xx5f93h9dn8wgjllsw0000gp/T/957f2a072eb8ea6f438e937c33ae22e8/app/web/nod…
npm ERR! node-pre-gyp ERR! node -v v18.12.1
npm ERR! node-pre-gyp ERR! node-pre-gyp -v v1.0.10
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/blade/.npm/_logs/2022-12-31T13_52_14_797Z-debug-0.log
◼ Installing dependencies in /web/frontend/
◼ Clean up
◼ Initializing a Git repository...
── external error ──────────────────────────────────────────────────────────────────────────
Error coming from `npm install`
Command failed with exit code 6: npm install
npm WARN deprecated @npmcli/move-file@1.1.2: This functionality has been moved to @npmcli/fs
npm ERR! code 6
npm ERR! path /private/var/folders/q0/jnhdm_xx5f93h9dn8wgjllsw0000gp/T/957f2a072eb8ea6f438e937c33ae22e8/app/web/node_modules/sqlite3
npm ERR! command failed
npm ERR! command sh -c -- node-pre-gyp install --fallback-to-build
npm ERR! node-pre-gyp info it worked if it ends with ok
npm ERR! node-pre-gyp info using node-pre-gyp@1.0.10
npm ERR! node-pre-gyp info using node@18.12.1 | darwin | x64
npm ERR! node-pre-gyp info check checked for "/private/var/folders/q0/jnhdm_xx5f93h9dn8wgjllsw0000gp/T/957f2a072eb8ea6f438e937c33ae22e8/app
/web/node_modules/sqlite3/lib/binding/napi-v6-darwin-unknown-x64/node_sqlite3.node" (not found)
npm ERR! node-pre-gyp http GET https://github.com/TryGhost/node-sqlite3/releases/download/v5.1.4/napi-v6-darwin-unknown-x64.tar.gz
npm ERR! node-pre-gyp info install unpacking napi-v6-darwin-unknown-x64/node_sqlite3.node
npm ERR! node-pre-gyp ERR! Completion callback never invoked!
npm ERR! node-pre-gyp ERR! System Darwin 22.1.0
npm ERR! node-pre-gyp ERR! command "/usr/local/Cellar/node@18/18.12.1/bin/node"
"/private/var/folders/q0/jnhdm_xx5f93h9dn8wgjllsw0000gp/T/957f2a072eb8ea6f438e937c33ae22e8/app/web/node_modules/.bin/node-pre-gyp"
"install" "--fallback-to-build"
npm ERR! node-pre-gyp ERR! cwd
/private/var/folders/q0/jnhdm_xx5f93h9dn8wgjllsw0000gp/T/957f2a072eb8ea6f438e937c33ae22e8/app/web/node_modules/sqlite3
npm ERR! node-pre-gyp ERR! node -v v18.12.1
npm ERR! node-pre-gyp ERR! node-pre-gyp -v v1.0.10
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/blade/.npm/_logs/2022-12-31T13_52_14_797Z-debug-0.log
────────────────────────────────────────────────────────────────────────────────────────────
npm ERR! code 1
npm ERR! path /Users/blade/Projects/blade-fbt
npm ERR! command failed
npm ERR! command sh -c -- create-app
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/blade/.npm/_logs/2022-12-31T13_51_13_906Z-debug-0.log
Solved! Go to the solution
This is an accepted solution.
I tried to reinstall sqlite3 by 7pm install sqlite3, and it said:
npm WARN deprecated @npmcli/move-file@1.1.2: This functionality has been moved to @npmcli/fs
npm WARN deprecated node-pre-gyp@0.17.0: Please upgrade to @mapbox/node-pre-gyp: the non-scoped node-pre-gyp package is deprecated and only the @mapbox scoped package will recieve updates in the future
I noticed the deprecated node-pre-gyp@0.17.0 may cause problem, and re-install it by:
npm uninstall node-pre-gyp --save
npm install @mapbox/node-pre-gyp --save
after that, init again using :
npm init @Shopify/app@latest
It works !!!!
I'm using iMac (Intel Core i5) with macOS Ventura 13.0.1
This is an accepted solution.
I tried to reinstall sqlite3 by 7pm install sqlite3, and it said:
npm WARN deprecated @npmcli/move-file@1.1.2: This functionality has been moved to @npmcli/fs
npm WARN deprecated node-pre-gyp@0.17.0: Please upgrade to @mapbox/node-pre-gyp: the non-scoped node-pre-gyp package is deprecated and only the @mapbox scoped package will recieve updates in the future
I noticed the deprecated node-pre-gyp@0.17.0 may cause problem, and re-install it by:
npm uninstall node-pre-gyp --save
npm install @mapbox/node-pre-gyp --save
after that, init again using :
npm init @Shopify/app@latest
It works !!!!