Last active
July 1, 2022 21:49
-
-
Save itsMapleLeaf/e4a1e6a32ff1b57032bb5be1fc800469 to your computer and use it in GitHub Desktop.
bug with nixpacks, pnpm, and engines.node, build log
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
❯ nixpacks build . | |
=== Building (nixpacks v0.1.7) === | |
=> Packages | |
-> nodejs-16_x | |
-> nodePackages.pnpm { nodejs = nodejs-16_x } | |
=> Install | |
-> pnpm i --frozen-lockfile | |
=> Build | |
-> pnpm run build | |
=> Start | |
-> pnpm run start | |
Sending build context to Docker daemon 3.338MB | |
Step 1/11 : FROM ghcr.io/railwayapp/nixpacks:debian-1655126806 | |
---> c0e8d1d7f19b | |
Step 2/11 : WORKDIR /app/ | |
---> Using cache | |
---> 5cf4e599fc8f | |
Step 3/11 : COPY environment.nix /app/ | |
---> Using cache | |
---> f5198d44537f | |
Step 4/11 : RUN nix-env -if environment.nix | |
---> Using cache | |
---> 4332c453df7f | |
Step 5/11 : ARG NPM_CONFIG_PRODUCTION NODE_ENV | |
---> Using cache | |
---> ee97c164dd51 | |
Step 6/11 : ENV NPM_CONFIG_PRODUCTION=$NPM_CONFIG_PRODUCTION NODE_ENV=$NODE_ENV | |
---> Using cache | |
---> a5d14bfcc3bd | |
Step 7/11 : COPY . /app/ | |
---> bc9520bef3f7 | |
Step 8/11 : RUN pnpm i --frozen-lockfile | |
---> Running in 2c19fee7256b | |
WARN Unsupported engine: wanted: {"node":"16.x"} (current: {"node":"v14.19.3","pnpm":"7.1.9"}) | |
Lockfile is up-to-date, resolution step is skipped | |
Progress: resolved 1, reused 0, downloaded 0, added 0 | |
Packages: +935 | |
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ | |
╭─────────────────────────────────────────────────────────────────╮ | |
│ │ | |
│ Update available! 7.1.9 → 7.4.1. │ | |
│ Changelog: https://github.com/pnpm/pnpm/releases/tag/v7.4.1 │ | |
│ Run "pnpm add -g pnpm" to update. │ | |
│ │ | |
│ Follow @pnpmjs for updates: https://twitter.com/pnpmjs │ | |
│ │ | |
╰─────────────────────────────────────────────────────────────────╯ | |
Packages are hard linked from the content-addressable store to the virtual store. | |
Content-addressable store is at: /root/.local/share/pnpm/store/v3 | |
Virtual store is at: node_modules/.pnpm | |
Progress: resolved 935, reused 0, downloaded 32, added 28 | |
Progress: resolved 935, reused 0, downloaded 133, added 128 | |
Progress: resolved 935, reused 0, downloaded 230, added 228 | |
Progress: resolved 935, reused 0, downloaded 479, added 475 | |
Progress: resolved 935, reused 0, downloaded 683, added 682 | |
Progress: resolved 935, reused 0, downloaded 886, added 887 | |
Progress: resolved 935, reused 0, downloaded 934, added 935, done | |
.../[email protected]/node_modules/deasync install$ node ./build.js | |
.../[email protected]/node_modules/deasync install: `linux-x64-node-14` exists; testing | |
.../[email protected]/node_modules/deasync install: Binary is fine; exiting | |
.../[email protected]/node_modules/deasync install: Done | |
.../[email protected]/node_modules/esbuild postinstall$ node install.js | |
.../[email protected]/node_modules/esbuild postinstall$ node install.js | |
.../[email protected]/node_modules/esbuild postinstall: Done | |
.../[email protected]/node_modules/esbuild postinstall: Done | |
dependencies: | |
+ @headlessui/react 1.6.5 | |
+ @heroicons/react 1.0.6 | |
+ @remix-run/node 0.0.0-experimental-d28d77b8 | |
+ @remix-run/react 0.0.0-experimental-d28d77b8 | |
+ clsx 1.1.1 | |
+ daisyui 2.17.0 | |
+ dotenv 16.0.1 | |
+ fast-stable-json-stringify 1.0.0 | |
+ highlight.js 11.5.1 | |
+ isbot 3.5.0 | |
+ match-sorter 6.3.1 | |
+ prettier 2.7.1 | |
+ react 18.2.0 | |
+ react-dom 18.2.0 | |
+ react-virtuoso 2.16.1 | |
+ redis 4.1.0 | |
+ remix-typed 0.3.0 | |
+ type-fest 2.15.1 | |
+ zod 3.17.3 | |
devDependencies: | |
+ @remix-run/dev 0.0.0-experimental-d28d77b8 | |
+ @remix-run/serve 0.0.0-experimental-d28d77b8 | |
+ @types/prettier 2.6.3 | |
+ @types/react 18.0.14 | |
+ @types/react-dom 18.0.5 | |
+ eslint 8.18.0 | |
+ npm-run-all 4.1.5 | |
+ tailwindcss 3.1.4 | |
+ typescript 4.7.4 | |
+ vitest 0.16.0 | |
Removing intermediate container 2c19fee7256b | |
---> 7413727e4ad4 | |
Step 9/11 : RUN pnpm run build | |
---> Running in 8c2cbc37afb9 | |
WARN Unsupported engine: wanted: {"node":"16.x"} (current: {"node":"v14.19.3","pnpm":"7.1.9"}) | |
> fontme@ build /app | |
> pnpm run tailwind --minify && remix build | |
WARN Unsupported engine: wanted: {"node":"16.x"} (current: {"node":"v14.19.3","pnpm":"7.1.9"}) | |
> fontme@ tailwind /app | |
> tailwindcss -o app/tailwind.css "--minify" | |
🌼 daisyUI components 2.17.0 https://github.com/saadeghi/daisyui | |
✔︎ Including: base, components, themes[29], utilities | |
Done in 554ms. | |
Building Remix app in production mode... | |
Built in 399ms | |
Removing intermediate container 8c2cbc37afb9 | |
---> 8affb052e28d | |
Step 10/11 : COPY . /app/ | |
---> 92e19e6c52c7 | |
Step 11/11 : CMD pnpm run start | |
---> Running in 17fefca80126 | |
Removing intermediate container 17fefca80126 | |
---> b0f23139dc6b | |
Successfully built b0f23139dc6b | |
Successfully tagged 88363c56-9aae-4ede-a896-107edf59d1f7:latest | |
=== Successfully Built! === | |
Run: | |
docker run -it 88363c56-9aae-4ede-a896-107edf59d1f7 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
❯ docker run -it 88363c56-9aae-4ede-a896-107edf59d1f7 | |
WARN Unsupported engine: wanted: {"node":"16.x"} (current: {"node":"v14.19.3","pnpm":"7.1.9"}) | |
> fontme@ start /app | |
> echo "Running Node $(node -v)" && remix-serve build | |
Running Node v14.19.3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment