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.

Frontend failed to build

See original GitHub issue

How to reproduce the behaviour

I run sudo docker-compose -f docker-copose.prod.yml up i got this error ERROR: Service ‘frontend’ failed to build: The command ‘/bin/sh -c npm run build’ returned a non-zero code: 1 so after i was change node version in frontend/Dockerfile file from 13.2 to 13.6 and then go out of doccano folder and then run prune volumes with this command

sudo docker system prune -a --volumes

and again run sudo docker-compose -f docker-compose.prod.yml up

command but i got still same error . Please tell me what i have to do now to fix this error.

Your Environment

  • Operating System:18.04
  • Python Version Used:3.6
  • When you install doccano: one month back
  • How did you install doccano (Heroku button etc): git clone + docker-compose

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
Hironsancommented, Mar 9, 2020

OK. I confirmed the problem.

0reactions
sharmila-polamuricommented, Mar 11, 2020

Thank you , it is working now .

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error: failed to solve with frontend when building docker ...
I tried searching to see if anyone encountered this challenge and I could not retrieve anything. I have a simple docker file: FROM ......
Read more >
Docker error: Service 'app' failed to build - Stack Overflow
This error means that you do not have config/requirements.txt in your current directory where build is run. Adjust your path on the Dockerfile ......
Read more >
[SOLVED] failed to solve with frontend dockerfile.v0
In this article, we have explored the reason behind the error "failed to solve with frontend dockerfile.v0" and presented multiple ways (5) to...
Read more >
ERROR: Service 'mfe' failed to build : Build failed
I'm getting this error when plugin of mfe is enabled, but when I disabled it working fine. Case, I'm working on tutor, and...
Read more >
docker build failed to solve with frontend dockerfile.v0 - You.com
Table of contents: The Error: failed to solve with frontend dockerfile.v0. Fix 1: Disable Buildkit of Docker. Fix 2: Ensure Dockerfile is named...
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