You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Setup a nuxt.js project on Vercel, add vue-material to the dependencies and deploy. The problem happens during the build, where the @nuxt/vercel-builder tries to install devDependencies and fails with this message:
...
[17:02:52.479] [log] Running with @nuxt/vercel-builder version 0.22.1
[17:02:52.479] [log] ----------------- Prepare build -----------------
[17:02:52.480] [log] Downloading files...
[17:02:52.488] [log] Working directory: /vercel/path2
[17:02:52.511] [log] Using yarn
[17:02:52.513] [info] Prepare build took: 33.743406 ms
[17:02:52.513] [log] ----------------- Install devDependencies -----------------
[17:02:52.514] [log] Using cached node_modules_dev
[17:02:52.859] yarn install v1.22.17
[17:02:52.974] [1/5] Resolving packages...
[17:02:53.614] [2/5] Fetching packages...
[17:02:54.971] [3/5] Linking dependencies...
[17:04:20.904] [4/5] Building fresh packages...
[17:04:21.802] error /vercel/path2/node_modules/vue-material: Command failed.
[17:04:21.802] Exit code: 127
[17:04:21.802] Command: opencollective-postinstall
[17:04:21.803] Arguments:
[17:04:21.803] Directory: /vercel/path2/node_modules/vue-material
[17:04:21.803] Output:
[17:04:21.803] /bin/sh: opencollective-postinstall: command not found
[17:04:21.803] info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
[17:04:22.003] Error: Command "yarn install" exited with 127
...
What is expected?
No errors.
What is actually happening?
I am not sure why this error occurs, but I found this issue with opencollective-postinstall and I believe that a workaround such as the ones proposed in there would work around the issue, e.g. using "postinstall": "opencollective-postinstall || true" or "postinstall": "opencollective-postinstall || exit 0".
The text was updated successfully, but these errors were encountered:
Steps to reproduce
Setup a nuxt.js project on Vercel, add
vue-material
to the dependencies and deploy. The problem happens during the build, where the@nuxt/vercel-builder
tries to install devDependencies and fails with this message:What is expected?
No errors.
What is actually happening?
I am not sure why this error occurs, but I found this issue with opencollective-postinstall and I believe that a workaround such as the ones proposed in there would work around the issue, e.g. using
"postinstall": "opencollective-postinstall || true"
or"postinstall": "opencollective-postinstall || exit 0"
.The text was updated successfully, but these errors were encountered: