error building: executor failed running [/bin/bash -o pipefail -c ${BUILD_COMMAND}]

Hi There!

I think I am having a similar issue than this post , but cannot find the answer.

I am deploying a rails app, here is the build log:

`#25 26.16 I, [2022-12-12T20:44:56.862740 #1]  INFO -- : Writing /app/public/assets/rails_admin/fa-solid-900-33e728329ea58ca0ddc5f1002bb9a744a02d5679b12103ca30373e687aed1698.svg
#25 26.16 I, [2022-12-12T20:44:56.863556 #1]  INFO -- : Writing /app/public/assets/rails_admin/fa-solid-900-33e728329ea58ca0ddc5f1002bb9a744a02d5679b12103ca30373e687aed1698.svg.gz
#25 26.66 Compiling...
#25 28.83 Compilation failed:
#25 28.83 Internal Error: tripr-web@workspace:.: This package doesn't seem to be present in your lockfile; run "yarn install" to update the lockfile
#25 28.83     at pQ.getCandidates (/root/.volta/tools/image/yarn/3.3.0/bin/yarn.js:435:5146)
#25 28.83     at Wf.getCandidates (/root/.volta/tools/image/yarn/3.3.0/bin/yarn.js:391:1264)
#25 28.83     at /root/.volta/tools/image/yarn/3.3.0/bin/yarn.js:439:7695
#25 28.83     at Rf (/root/.volta/tools/image/yarn/3.3.0/bin/yarn.js:390:8965)
#25 28.83     at ge (/root/.volta/tools/image/yarn/3.3.0/bin/yarn.js:439:7675)
#25 28.83
------
Error failed to fetch an image or build from source: error building: executor failed running [/bin/bash -o pipefail -c ${BUILD_COMMAND}]: exit code: 1`

and here is my docker file:

RUN curl https://get.volta.sh | bash
ENV VOLTA_HOME /root/.volta
ENV PATH $VOLTA_HOME/bin:/usr/local/bin:$PATH
RUN volta install node@${NODE_VERSION} yarn@${YARN_VERSION} && \
    gem update --system --no-document && \
    gem install -N bundler -v ${BUNDLER_VERSION}

any ideas what may be happening?

Super thanks (:

Can you share your package.json file?

Hi @rubys !
Thanks for replying!
Here is my package.json (:

{
  "name": "tripr-web",
  "private": true,
  "dependencies": {
    "@nathanvda/cocoon": "^1.2.14",
    "@rails/actioncable": "^6.0.0",
    "@rails/actiontext": "^6.1.4-4",
    "@rails/activestorage": "^6.0.0",
    "@rails/ujs": "^6.0.0",
    "@rails/webpacker": "5.4.3",
    "rails_admin": "3.0.0-rc",
    "toastr": "^2.1.4",
    "trix": "^1.2.0",
    "turbolinks": "^5.2.0",
    "webpack": "^4.46.0",
    "webpack-cli": "^3.3.12"
  },
  "version": "0.1.0",
  "devDependencies": {
    "webpack-dev-server": "^3"
  }
}