Questions and discussions about using the Shopify CLI and Shopify-built libraries.
✔ ~/git/cheito/cheito-store [master L|✔]
11:19 $ npm run dev
> [email protected] dev /Users/jsandoval/git/cheito/cheito-store
> shopify app dev
✔ Dependencies installed
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] dev: `shopify app dev`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/jsandoval/.npm/_logs/2022-09-18T15_20_00_026Z-debug.log
The full logs are:
```
Solved! Go to the solution
This is an accepted solution.
Fixed. This helped me: https://shopify.dev/apps/tools/cli/commands#auth-logout
Also, I did this, but I think this is unnecessary (only for me needed): https://shopify.dev/apps/tools/cli/commands#ngrok-auth
The same for me 😞
what is your node version?
Hi Oehc123,
To report issues with the Shopify CLI 3.x or to check up on resolutions for previous problems we recommend visiting the Shopify CLI 3.x Public GitHub repository's issue board here: [Shopify CLI 3.x GitHub issue board]
For starting new projects you may want to consider trying a newer version of node such as the 16.x series, as the 14.x series will be considered 'end-of-life' in spring 2023 [NodeJS Release Schedule].
Hope you have a great day,
Jon551 | API Support @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog
Hello @jon551 ,
Thanks so much for getting back.
I did not see any issues related to this topic in guthub issues as suggested 😞
unfotunatly, upgrading node version did not help fully.
I dont see the error anymore, but I get no output or error logs after the `npm run dev` command.
I would expect this command to start de server as in the documentation.
please see attached my logs:
✔ ~/git/joseDev 15:03 $ npm init @shopify/app@latest Welcome. Let's get started by naming your app. You can change it later. ✔ Your app's name? · commercial-projection-app ✔ Which template would you like to use? · node ✔ Downloaded template from https://github.com/Shopify/shopify-app-template-node#cli_three ✔ App initialized ✔ Liquid parsed ✔ Updated package.json ✔ Dependencies installed with npm ✔ Installed dependencies in / ✔ Installed dependencies in /web/ ✔ Installed dependencies in /web/frontend/ ✔ Completed clean up ✔ Git repository initialized commercial-projection-app is ready for you to build! Remember to cd commercial-projection-app Check the setup instructions in your README file To preview your project, run npm run dev To add extensions, run npm run scaffold extension For more details on all that you can build, see the docs: shopify.dev ✨ For help and a list of commands, enter npm run shopify app -- --help ✔ ~/git/joseDev 15:03 $ cd commercial-projection-app/ ✔ ~/git/joseDev/commercial-projection-app [master L|…46] 15:03 $ npm run dev > [email protected] dev > shopify app dev ✔ Dependencies installed ✘-1 ~/git/joseDev/commercial-projection-app [master L|…46] 15:04 $
```
16:16 $ node -v
v16.17.0
```
@jon551 , why is the command not starting the server as expected in the documentation https://shopify.dev/apps/getting-started/create
?
Thanks
This is an accepted solution.
Fixed. This helped me: https://shopify.dev/apps/tools/cli/commands#auth-logout
Also, I did this, but I think this is unnecessary (only for me needed): https://shopify.dev/apps/tools/cli/commands#ngrok-auth
Wow @Dzonotonas ,
I am not sure ow you came up with that idea, but that solved.
I spet 3days trying to figure it out,
I installed and uninstalled so many tings 😞
I am glad is working now
Thanks so much for taking the time and sharing