question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

npm ERR! missing script: setup [docker/ubuntu]

See original GitHub issue

I 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:closed
  • Created 5 years ago
  • Comments:5

github_iconTop GitHub Comments

2reactions
sonufrienkocommented, Jul 28, 2018

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”.

1reaction
erubescentcommented, Aug 4, 2018

@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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found