-
Notifications
You must be signed in to change notification settings - Fork 157
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 the error could not not resolve module "node:os" from cosmiconfig preventing to build the UI #3987
Conversation
website/package.json
Outdated
@@ -50,6 +50,7 @@ | |||
"yarn-audit-fix": "^9.2.1" | |||
}, | |||
"resolutions": { | |||
"htmlnano": "2.0.3", |
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.
Don't think we need it here, the website (docusaurus) doesn't seem to use htmlnano
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.
Thanks, good point, will remove it and test the docs.
@@ -117,5 +117,8 @@ | |||
}, | |||
"alias": { | |||
"yaml": "yaml/browser/dist/index.js" | |||
}, | |||
"resolutions": { | |||
"htmlnano": "2.0.3" |
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.
Does running yarn
locally give some changes to the yarn.lock we should add too?
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.
Will add it, the PR is not up for review yet, I was just testing the main fix. Will submit it for review tomorrow.
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.
Updated yarn.lock
. To the final testing now.
Nice one! |
@foot thanks for reproducing the error and checking the fix! It's great that it works as expected. I am polishing the PR now and will raise it probably even today. |
7d2e73e
to
a72ef7f
Compare
Tested the app locally with Tilt and also with Also confirmed that the website does not need this fix indeed. |
9c18623
to
6db93d4
Compare
…module "node:os"` in the `cosmiconfig` package. Update the `yarn.lock` file.
6db93d4
to
6506857
Compare
@opudrovs Any idea what I'm not familiar with either of these packages. |
@jpellizzari it looks like
|
Closes #3986
Fixes the following error preventing to build the UI:
based on a suggestion from the following issue:
parcel-bundler/parcel#9224