You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The reason will be displayed to describe this comment to others. Learn more.
Another option (and perhaps a better one) is to change package.json this line: "packageManager": "[email protected]",
Set it to 9.0.1 instead. Otherwise this only fixes Docker, but no other deployment methods. For example, render.com uses 9.0.1 so if deployed as node it will still fail cc @HenryHengZJ
The reason will be displayed to describe this comment to others. Learn more.
Another option (and perhaps a better one) is to change package.json this line: "packageManager": "[email protected]",
Set it to 9.0.1 instead. Otherwise this only fixes Docker, but no other deployment methods. For example, render.com uses 9.0.1 so if deployed as node it will still fail cc @HenryHengZJ
Not sure if package manager version can be ^ instead, which would be even better.
The field packageManager doesn't support the ^. Opened a PR here to address your concerns. Thank you for your suggestion!
d07bd96
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.
Another option (and perhaps a better one) is to change
package.json
this line:"packageManager": "[email protected]",
Set it to
9.0.1
instead. Otherwise this only fixes Docker, but no other deployment methods. For example, render.com uses 9.0.1 so if deployed asnode
it will still fail cc @HenryHengZJd07bd96
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.
Not sure if package manager version can be
^
instead, which would be even better.d07bd96
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.
The field
packageManager
doesn't support the^
. Opened a PR here to address your concerns. Thank you for your suggestion!d07bd96
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.
Awesome!!
d07bd96
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.
deployed using
node
on render, seeing this error:works fine on local machine
d07bd96
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.
Hey Henry, I just cloned the repo fresh and tried and it worked for me:
It's possible a package was broken when you tried it. Also when you deploy try a new instance, or if you use
Manual Deploy
try the clear cache one.d07bd96
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.
perfect, cleaning cache works!