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
I use create-react-app to create the app for me, and I have create some js file that use the WeakRef class in my react app.
When I run npm start command, it is running fine and able to compile.
However, when I run npm run build for the project. the eslint compiler failed to compile with error message WeakRef is not defined
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I use create-react-app to create the app for me, and I have create some js file that use the WeakRef class in my react app.
When I run npm start command, it is running fine and able to compile.
However, when I run npm run build for the project. the eslint compiler failed to compile with error message WeakRef is not defined
Anyone encounter this behavior?
Beta Was this translation helpful? Give feedback.
All reactions