Skip to content

plasma-ui & plasma-web: update react-scripts #726

Open
Yeti-or opened this issue Sep 7, 2021 · 0 comments
Open

plasma-ui & plasma-web: update react-scripts #726

Yeti-or opened this issue Sep 7, 2021 · 0 comments
Labels
Dependencies Pull requests that update a dependency file Low priority

Comments

@Yeti-or
Copy link
Contributor

Yeti-or commented Sep 7, 2021

storybook brokes on react-scripts >=4.0.0:

> 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'
@Yeti-or Yeti-or added Dependencies Pull requests that update a dependency file Low priority labels Sep 7, 2021
@Yeti-or Yeti-or changed the title plasma-ui: update react-scripts plasma-ui & plasma-web: update react-scripts Sep 7, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Dependencies Pull requests that update a dependency file Low priority
Projects
None yet
Development

No branches or pull requests

1 participant