-
Notifications
You must be signed in to change notification settings - Fork 14
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
New version of 'string-width' breaks build #63
Comments
@svitovyda how did you fix this? I am having the same issue. The temporary solution is to keep deleting the yarn.lock every time before yarn install. |
Hi, is this still an issue? My builds break the same way @svitovyda mentioned. The workaround @sidiqmd provided is working, but quite annoying. |
I can confirm that adding the following to package.json will resolve the issue:
but would be great if this would get fixed! |
Worked for me 👌 |
Worked for me 👌 |
I am using
Using the package.json |
Where in the package.json are you adding it |
@TabotCharlesBessong, you can see a lot of examples on GitHub. Be aware, that |
@TabotCharlesBessong You must remove node_modules, yarn.lock and package-lock.json before running yarn or npm install |
If this project does require string-width < 5 for it to work, due to CommonJS vs ESM, could we not prevent transitive dependency issues with other packages by changing package.json to something like:
And then in the code:
I'm kinda new to all this CommonJS/ESM and package resolution issues though so maybe it doesn't work. |
Hello all, I found a solution and would like to share how to resolve it:
It should work. Happy coding! 2024-06-03 |
anywhere
Worked for me, using Nuxt 3 + Storyblok (latest versions to this date) |
Hi!
I'm not using none of your or
gauge
norstring-width
directly in our project, and a simpleyarn upgrade
pulled into my project new version ofstring-width
and that causes this error onyarn install
:Can you please limit the version
string-width
in your dependencies for the current major version to 4?The text was updated successfully, but these errors were encountered: