Closed saskekizaki closed 1 year ago
mkdir webpack-test cd webpack-test npm init -y npm install --save graphql webpack webpack-cli ./node_modules/.bin/webpack-cli index.js
We are facing the same issue
./node_modules/react-use-set/dist/index.mjs
Can't import the named export 'useCallback' from non EcmaScript module (only default export is available)
FROM alpine FROM ubuntu FROM node*
Any node version from 14.21 to 18.0 same behaviour.
I'm using the rsuite package and having the same problem
Seems like issue is with the "rsuite" package. It doesn't support named imports.
example
import { Slider } from rsuite; // don't do this
import Slider from rsuite/Slider // do this
This error message is not coming from React. We use this bug tracker for bugs in React.
Facing the same issue. Can anyone help here, please??
fyr,https://github.com/facebook/react/issues/26732#issue-1684426716
I am facing the same issue
React version: 17.0.2 node version: 18.12.1
my package.json
Steps To Reproduce
npm install
npm run start
The current behavior
failed to compile
The expected behavior
running app