Code Monkey home page Code Monkey logo

Comments (8)

elitan avatar elitan commented on August 15, 2024 1

Cool. I'll push out a proper release then 🎉

from cli.

elitan avatar elitan commented on August 15, 2024

Can you test the solution proposed here: #77 (comment) ?

from cli.

moklick avatar moklick commented on August 15, 2024

The error still occurs:

nhost dev

✖ Nhost is starting...first run takes longer
Error! Command failed: docker-compose -f ./.nhost/docker-compose.yaml up -d --build
Creating network "nhost_default" with the default driver
Pulling nhost-graphql-engine (fedormelexin/graphql-engine-arm64:1.3.3)...
Building nhost-api
#2 [internal] load .dockerignore
#2 sha256:4a0f02aab2de35bd9f59061f6ee28a3463b137babfafbb3236818c91f76aed24
#2 transferring context: 2B done
#2 ...

#1 [internal] load build definition from Dockerfile-api
#1 sha256:953cf39bee660f7833472a12bddf67d925f179fde631610ec42a1b136ce683ef
#1 transferring dockerfile: 162B 0.0s done
#1 DONE 0.3s

#2 [internal] load .dockerignore
#2 sha256:4a0f02aab2de35bd9f59061f6ee28a3463b137babfafbb3236818c91f76aed24
#2 DONE 0.5s

#3 [internal] load metadata for docker.io/nhost/nodeapi:v0.2.6
#3 sha256:f676c9da183169d422c61dd15d06b5123805a5df9af7ffbfdc5826d436a5d0bc
#3 DONE 1.6s

#4 [1/4] FROM docker.io/nhost/nodeapi:v0.2.6@sha256:3b8e9fce5e61eff92a7e5cd19b8f5a2fb28e044adaa05b44da6ff7c61e69c899
#4 sha256:5dbb7c58875933a0e1ed988c5fec1266949bd7b67b518c2f28e24d1d164c5579
#4 DONE 0.0s

#6 [internal] load build context
#6 sha256:4a646442832d90d6e5877ce9332ac49cb94f5ee24d3dcfaeadae07eab800f0e2
#6 transferring context: 9.50kB 0.0s done
#6 DONE 0.2s

#5 [2/4] WORKDIR /usr/src/app
#5 sha256:3aad981cec18f58edff37180d22aa1f39d45f6bde46c5a6df4d3f09a8a7969e2
#5 CACHED

#7 [3/4] COPY api ./api
#7 sha256:55af934a6f3bd06bb4dc6c56dc38460c17b8757e801390d9f97e5835ef3a99af
#7 CACHED

#8 [4/4] RUN ./install.sh
#8 sha256:a106c90a0d34cd8529d5b2d2a69593be40b15230d208d19ec80086456e6c4f06
#8 0.717 install.sh: applet not found
#8 ERROR: executor failed running [/bin/sh -c ./install.sh]: exit code: 127
------
 > [4/4] RUN ./install.sh:
------
executor failed running [/bin/sh -c ./install.sh]: exit code: 127
Service 'nhost-api' failed to build

Error! Command failed: docker-compose -f ./.nhost/docker-compose.yaml up -d --build
Creating network "nhost_default" with the default driver
Pulling nhost-graphql-engine (fedormelexin/graphql-engine-arm64:1.3.3)...
Building nhost-api
#2 [internal] load .dockerignore
#2 sha256:4a0f02aab2de35bd9f59061f6ee28a3463b137babfafbb3236818c91f76aed24
#2 transferring context: 2B done
#2 ...

#1 [internal] load build definition from Dockerfile-api
#1 sha256:953cf39bee660f7833472a12bddf67d925f179fde631610ec42a1b136ce683ef
#1 transferring dockerfile: 162B 0.0s done
#1 DONE 0.3s

#2 [internal] load .dockerignore
#2 sha256:4a0f02aab2de35bd9f59061f6ee28a3463b137babfafbb3236818c91f76aed24
#2 DONE 0.5s

#3 [internal] load metadata for docker.io/nhost/nodeapi:v0.2.6
#3 sha256:f676c9da183169d422c61dd15d06b5123805a5df9af7ffbfdc5826d436a5d0bc
#3 DONE 1.6s

#4 [1/4] FROM docker.io/nhost/nodeapi:v0.2.6@sha256:3b8e9fce5e61eff92a7e5cd19b8f5a2fb28e044adaa05b44da6ff7c61e69c899
#4 sha256:5dbb7c58875933a0e1ed988c5fec1266949bd7b67b518c2f28e24d1d164c5579
#4 DONE 0.0s

#6 [internal] load build context
#6 sha256:4a646442832d90d6e5877ce9332ac49cb94f5ee24d3dcfaeadae07eab800f0e2
#6 transferring context: 9.50kB 0.0s done
#6 DONE 0.2s

#5 [2/4] WORKDIR /usr/src/app
#5 sha256:3aad981cec18f58edff37180d22aa1f39d45f6bde46c5a6df4d3f09a8a7969e2
#5 CACHED

#7 [3/4] COPY api ./api
#7 sha256:55af934a6f3bd06bb4dc6c56dc38460c17b8757e801390d9f97e5835ef3a99af
#7 CACHED

#8 [4/4] RUN ./install.sh
#8 sha256:a106c90a0d34cd8529d5b2d2a69593be40b15230d208d19ec80086456e6c4f06
#8 0.717 install.sh: applet not found
#8 ERROR: executor failed running [/bin/sh -c ./install.sh]: exit code: 127
------
 > [4/4] RUN ./install.sh:
------
executor failed running [/bin/sh -c ./install.sh]: exit code: 127
Service 'nhost-api' failed to build


⠋ stopping Nhost
Writing logs to ./.nhost/nhost.log

✖ Failed to start docker-compose

from cli.

elitan avatar elitan commented on August 15, 2024

I think it's related to this:

nhost/api-handler#7

I'll push out a new api-handler and a new CLI release this week.

from cli.

moklick avatar moklick commented on August 15, 2024

Ok, that sounds great! I will watch this issue. Thanks for the fast reply.

from cli.

elitan avatar elitan commented on August 15, 2024

@moklick Can you try npm install -g nhost@next with this latest version and see if that works?

I don't have an M1 yet :( Waiting for the 16"! :D

from cli.

moklick avatar moklick commented on August 15, 2024

oh wow it works :) This is really nice! Thanks!

from cli.

elitan avatar elitan commented on August 15, 2024

Fixed in 353a59e

from cli.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.