Skip to content
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

fix(project): run bootstrap script fail in linux #944

Merged
merged 1 commit into from
Sep 10, 2021

Conversation

BlackHole1
Copy link
Collaborator

agora-electron-sdk has npm install hook, it will read process.env.npm_config_*
but our scripts to modify npmrc in preinstall.

modifying npmrc in preinstall will not refresh the current process.env_npm_config_* immediately.
this will cause agora-electron-sdk to use the default value, and agora-electron-sdk does not support linux, resulting in an error.

so just let them execute in two processes.

agora-electron-sdk has npm install hook, it will read
`process.env.npm_config_*`
but our scripts to modify npmrc in preinstall.
modifying npmrc in preinstall will not refresh the current
`process.env_npm_config_*` immediately.
this will cause agora-electron-sdk to use the default value, and
agora-electron-sdk does not support linux, resulting in an error.
so just let them execute in two processes.
@BlackHole1 BlackHole1 linked an issue Sep 10, 2021 that may be closed by this pull request
@BlackHole1 BlackHole1 merged commit fe534f7 into netless-io:main Sep 10, 2021
@BlackHole1 BlackHole1 deleted the fix-linux-install-fail branch September 10, 2021 04:06
Copy link

@ALTURKA ALTURKA left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

question(web): run start failed
3 participants