-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
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
attempt fixing storybook build #1801
Conversation
Your Render PR Server URL is https://storage-ui-stage-pr-1801.onrender.com. Follow its progress at https://dashboard.render.com/static/srv-c6kcton6d9kiat317fn0. |
Your Render PR Server URL is https://files-ui-stage-pr-1801.onrender.com. Follow its progress at https://dashboard.render.com/static/srv-c6kctp76d9kiat317g3g. |
Your Render PR Server URL is https://chainsafe-components-stage-pr-1801.onrender.com. Follow its progress at https://dashboard.render.com/static/srv-c6kcv9f6d9kiat317h3g. |
Your Render PR Server URL is https://storage-ui-stage-pr-1801.onrender.com. Follow its progress at https://dashboard.render.com/static/srv-c6kcvdpg7hpfa6e8uq20. |
Your Render PR Server URL is https://chainsafe-components-stage-pr-1801.onrender.com. Follow its progress at https://dashboard.render.com/static/srv-c6kcve9g7hpfa6e8uqeg. |
Your Render PR Server URL is https://files-ui-stage-pr-1801.onrender.com. Follow its progress at https://dashboard.render.com/static/srv-c6kcvehg7hpfa6e8uqj0. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I get the following, any clue why? I'm on node 16
$ (export NODE_OPTIONS=--openssl-legacy-provider; build-storybook)
| /home/user/.nvm/versions/node/v16.5.0/bin/node: --openssl-legacy-provider is not allowed in NODE_OPTIONS
error Command failed with exit code 9.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
| `yarn build:storybook` failed with exit code 9
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
This flag was only added in Node 17, so makes sense that it isn't working here. (Un)fortunately since Render is using 17, the only way we are going to get this to build on Render is with this flag enabled. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok I guess I'll upgrade then if I need it :)
Add the --openssl-legacy-provider flag to ensure compatibility with Node 17