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
/usr/src/app/node_modules/cli-table3/src/utils.js:1
const stringWidth = require('string-width');
^
Error [ERR_REQUIRE_ESM]: require() of ES Module /usr/src/app/node_modules/string-width/index.js from /usr/src/app/node_modules/cli-table3/src/utils.js not supported.
Instead change the require of index.js in /usr/src/app/node_modules/cli-table3/src/utils.js to a dynamic import() which is available in all CommonJS modules.
at Object.<anonymous> (/usr/src/app/node_modules/cli-table3/src/utils.js:1:21)
at Object.<anonymous> (/usr/src/app/node_modules/cli-table3/src/table.js:2:15)
at Object.<anonymous> (/usr/src/app/node_modules/cli-table3/index.js:1:18)
at Object.<anonymous> (/usr/src/app/node_modules/@storybook/core-server/dist/index.js:113:7796)
at Object.<anonymous> (/usr/src/app/node_modules/@storybook/cli/dist/generate.js:11:4494)
at Object.<anonymous> (/usr/src/app/node_modules/@storybook/cli/bin/index.js:9:1)
at Object.<anonymous> (/usr/src/app/node_modules/storybook/index.js:3:1) {
code: 'ERR_REQUIRE_ESM'
}
Node.js v18.17.0
error Command failed with exit code 1.
To Reproduce
I had updated everything else and it still worked, when I got to upgrade storybook, I get the error above.
Describe the bug
I get following in my Companies CI pipeline
To Reproduce
I had updated everything else and it still worked, when I got to upgrade storybook, I get the error above.
This is my
package.json
I don't patch anything currently. I tried updating everything so you can probably just do a yarn install
System
Additional context
No response
The text was updated successfully, but these errors were encountered: