npm ERR! missing script: setup [docker/ubuntu]
See original GitHub issueI am currently setting up a little shop for a client and following the docker tutorial, an error has been encountered and I am not sure where to go from here or how to fix it… 😭
When I was executing the command to Step 6, it gave me this error: `root@ubuntu-s-1vcpu-1gb-sfo2-01:~# sudo docker exec store bash -c “npm run setup” npm ERR! missing script: setup
npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2018-07-28T17_47_23_710Z-debug.log`
When I go to the root folder in FileZilla of my VPS, there is no trace of an npm folder with a log so I’m not really sure what went wrong or what I can do.
Thanks in advanced if anyone is able to help me! 👍 💯
Issue Analytics
- State:
- Created 5 years ago
- Comments:5
Top Results From Across the Web
Can't run official Docker tutorial container: npm ERR! missing ...
The error message means that npm can't find a package.json file which includes a script named start. So make sure that your package.json ......
Read more >On execution of script "npm start" error - "missing ... - GitHub
Hello,. I unable to find the location to add "Start" script. I have attached copy of npm-cli file and read-package-json file.
Read more >[Solved] npm err! missing script: start - ItsJavaScript
The npm err! missing script: start mainly occurs if you have not specified the entry path in package.json to run the application.
Read more >How to fix npm ERR! missing script: start - TechOverflow
You need to tell npm what to do when you run npm start explicitly by editing package.json . First, identify the main file...
Read more >[Solved]-DOCKER: npm ERR! missing script: start-docker
Coding example for the question DOCKER: npm ERR! missing script: start-docker. ... Can't run official Docker tutorial container: npm ERR! missing script: ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @itsmidnightyo Docker image is outdated. I’ll update it when @restmount send me access. For now, you can setup Cezerin from GitHub.
I’ll find a time and write a manual “How to install Cezerin from GitHub”.
@Oliverhowden, I’ve actually installed it successfully on my DigitalOcean VPS running Ubuntu 16.04! Although it took me a while to figure it out and configure nginx, I got it working! 💯
What are you looking to achieve? In my opinion, I find it easier to deploy on your website first and work from there so you don’t have to worry about messing something up in the long run.