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(packages/sui-ssr): fix ssr lock file update for npm 7 #1170

Merged
merged 1 commit into from May 26, 2021

Conversation

rmoralp
Copy link
Contributor

@rmoralp rmoralp commented May 26, 2021

Description

We have experienced some troubleshooting with --package-lock-only option in npm 7.
image

As we can see in npm CLI issue: npm/cli#2747 "the right behaviour is what npm 6 eventually did - package-lock-only implies package-lock. This was an unintentional breaking change in v7."

For that reason, this PR requires a clean install (deleting lock file and adding node_modules) in order to generate a correctly new lock file and use it for the release.

'--progress false',
'--no-bin-links',
'--ignore-scripts'
]
Copy link
Contributor Author

Choose a reason for hiding this comment

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

ℹ️ Improve readability and will avoid extra spaces when joining the array.

@rmoralp rmoralp merged commit bea3c96 into master May 26, 2021
@rmoralp rmoralp deleted the fix/ssr-npm7-lock-update branch May 26, 2021 12:41
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.

None yet

6 participants