Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

frontend container throwing error during start #550

Closed
palamvmw opened this issue Nov 2, 2022 · 3 comments
Closed

frontend container throwing error during start #550

palamvmw opened this issue Nov 2, 2022 · 3 comments
Labels
bug Something isn't working

Comments

@palamvmw
Copy link

palamvmw commented Nov 2, 2022

Bug Report

Which version of the demo you are using? (please provide either a specific
commit
hash

or a specific
0.9.6).

Symptom

Following the instructions here , I tried reaching the url http://localhost:8080/
and saw the following error on console.

37 verbose stack     at ChildProcess.emit (node:events:513:28)
37 verbose stack     at maybeClose (node:internal/child_process:1100:16)
37 verbose stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:304:5)
38 verbose pkgid frontend@0.1.0
39 verbose cwd /app
40 verbose Linux 5.10.124-linuxkit
41 verbose node v16.18.0
42 verbose npm  v8.19.2
43 error path /app
44 error command failed
45 error signal SIGKILL
46 error command sh -c -- node --require ./Instrumentation.js server.js
47 verbose exit 1
48 timing npm Completed in 13060ms
49 verbose code 1
50 error A complete log of this run can be found in:
50 error     /home/nextjs/.npm/_logs/2022-11-01T22_19_14_173Z-debug-0.log

I expected to see the demo frontend application.

Reproduce

Follow the instructions here

Additional Context

Creating the /app directory in dockerfile fixed the issue locally for me

@palamvmw palamvmw added the bug Something isn't working label Nov 2, 2022
@austinlparker
Copy link
Member

Are you on an Apple Silicon machine, or were you trying to build using docker compose build?

@palamvmw
Copy link
Author

palamvmw commented Nov 2, 2022

Yes, I am on Apple M1 and build the images locally

@cartersocha
Copy link
Contributor

Apple silicon issues have hopefully been solved in #536. Please run docker system prune -a then run a fresh docker compose build. Closing for now pending confirmation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants