Closed nugrohoarfianto closed 1 year ago
Hi, today I got this react/jsx-runtime error when trying to build my react app with @react-google-maps/api
Module not found: Error: Can't resolve 'react/jsx-runtime' in '/Users/nugrohoarfianto/Documents/Projects/Archernine/Commercial/node_modules/@react-google-maps/api/dist' @ ./node_modules/@react-google-maps/api/dist/cjs.js 5:17-45 @ ./app/components/GMapComponent/index.js @ ./app/containers/QuotationDetails/index.js @ ./app/containers/App/index.js @ ./app/app.js @ multi ./node_modules/react-app-polyfill/ie11.js ./app/app.js
it never happened before, is there any changes that I should've know? or should I upgrade the version of this library?
Thanks.
os: mac
node --version 14.18.2
react version 16.8.6
webpack version 4.30.0
@babel version 7.4.3
@react-google-maps/api version 2.12.1
Error when try to npm run build
Module not found: Error: Can't resolve 'react/jsx-runtime' when trying to build react app.
Closing this issue, I fix this by upgrading react version to 17.0.2
Hi, today I got this react/jsx-runtime error when trying to build my react app with @react-google-maps/api
it never happened before, is there any changes that I should've know? or should I upgrade the version of this library?
Thanks.
Your Environment
os: mac
node --version 14.18.2
react version 16.8.6
webpack version 4.30.0
@babel version 7.4.3
@react-google-maps/api version 2.12.1
How does it behave?
Error when try to npm run build
Module not found: Error: Can't resolve 'react/jsx-runtime' when trying to build react app.