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
> npm install --save-dev react-scripts@>=3.0.0
+ react-scripts@4.0.3
> npm run build:storybook
info => Loading Webpack configuration from `node_modules/react-scripts`
info => Removing existing JavaScript and TypeScript rules.
info => Modifying Create React App rules.
info => Using default Webpack4 setup
ERR! => Failed to build the preview
ERR! ./src/helpers/StoryDecorators.tsx
ERR! Cannot find module: 'react/jsx-runtime'. Make sure this package is installed.
ERR!
ERR! You can install this package by running: npm install react/jsx-runtime.
ERR! ModuleNotFoundError: Module not found: Error: Can't resolve 'react/jsx-runtime' in '/Users/a18587443/Projects/plasma/packages/plasma-ui/src/helpers'
ERR! at /Users/a18587443/Projects/plasma/packages/plasma-ui/node_modules/webpack/lib/Compilation.js:925:10
ERR! at /Users/a18587443/Projects/plasma/packages/plasma-ui/node_modules/webpack/lib/NormalModuleFactory.js:401:22
ERR! at /Users/a18587443/Projects/plasma/packages/plasma-ui/node_modules/webpack/lib/NormalModuleFactory.js:130:21
ERR! at /Users/a18587443/Projects/plasma/packages/plasma-ui/node_modules/webpack/lib/NormalModuleFactory.js:224:22
ERR! at /Users/a18587443/Projects/plasma/packages/plasma-ui/node_modules/neo-async/async.js:2830:7
ERR! at /Users/a18587443/Projects/plasma/packages/plasma-ui/node_modules/neo-async/async.js:6877:13
ERR! at /Users/a18587443/Projects/plasma/packages/plasma-ui/node_modules/webpack/lib/NormalModuleFactory.js:214:25
ERR! at /Users/a18587443/Projects/plasma/packages/plasma-ui/node_modules/webpack/node_modules/enhanced-resolve/lib/Resolver.js:213:14
ERR! at /Users/a18587443/Projects/plasma/packages/plasma-ui/node_modules/webpack/node_modules/enhanced-resolve/lib/Resolver.js:285:5
ERR! at eval (eval at create (/Users/a18587443/Projects/plasma/packages/plasma-ui/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:13:1)
ERR! at /Users/a18587443/Projects/plasma/packages/plasma-ui/node_modules/webpack/node_modules/enhanced-resolve/lib/UnsafeCachePlugin.js:44:7
ERR! at /Users/a18587443/Projects/plasma/packages/plasma-ui/node_modules/webpack/node_modules/enhanced-resolve/lib/Resolver.js:285:5
ERR! at eval (eval at create (/Users/a18587443/Projects/plasma/packages/plasma-ui/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:13:1)
ERR! at /Users/a18587443/Projects/plasma/packages/plasma-ui/node_modules/webpack/node_modules/enhanced-resolve/lib/Resolver.js:285:5
ERR! at eval (eval at create (/Users/a18587443/Projects/plasma/packages/plasma-ui/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:25:1)
ERR! at /Users/a18587443/Projects/plasma/packages/plasma-ui/node_modules/webpack/node_modules/enhanced-resolve/lib/DescriptionFilePlugin.js:67:43
ERR! ModuleNotFoundError: Module not found: Error: Can't resolve 'react/jsx-runtime' in '/Users/a18587443/Projects/plasma/packages/plasma-ui/src/helpers'
The text was updated successfully, but these errors were encountered:
storybook brokes on
react-scripts >=4.0.0
:The text was updated successfully, but these errors were encountered: