We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
steps to reproduce
yarn add --dev canvas # this will work yarn install # this will fail yarn --modules-folder cached/node_modules install
yarn install v1.22.19 warning package.json: No license field warning No license field [1/4] Resolving packages... [2/4] Fetching packages... [3/4] Linking dependencies... [4/4] Building fresh packages... error {HOME}/app/test/cached/node_modules/canvas: Command failed. Exit code: 127 Command: node-pre-gyp install --fallback-to-build --update-binary Arguments: Directory: {HOME}/app/test/cached/node_modules/canvas Output: /bin/sh: line 1: node-pre-gyp: command not found
The text was updated successfully, but these errors were encountered:
manually setting the environments PATH resolves the issue; but that shouldn't be necessary.
Sorry, something went wrong.
Could you elaborate on your workaround @james-lawrence ? I've recently run into the same issue. Thanks.
sure. not the exact command we're running but these are all the values we needed to adjust.
BUILD_PATH={dir} PATH=${PATH}:{dir}/node_modules/.bin yarn --modules-folder ${dir}/console/node_modules --cache-folder {dir}/console/cached --cwd ${dir}/console build
No branches or pull requests
steps to reproduce
The text was updated successfully, but these errors were encountered: