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
Create new create-react-app application with Javascript selected
install the dependencies listed above
add following code in App.js import { Evaluator } from '@formio/core/utils';console.log(Evaluator);
Error occur
Expected behavior
No error
Screenshots
Additional context
We tried with a brand new project and the same error occurred so I believe that it wasn't any config from our app causing this issue. We tried isolating the issue and found it to be independent to node version but could be caused by create-react-app
node version / bundler | Vite | create react app
v16.20.2 | no issue | error
v20.12.2 | no issue | error
The text was updated successfully, but these errors were encountered:
wasd0109
changed the title
Module not found error when running with create-react-app created React SPA
Module not found error when running with create-react-app created React app
Nov 26, 2024
Describe the bug
When trying to update @formio/js version to the latest, we encountered a bunch of 'Cannot find module' and 'Module not found' error
Version/Branch
"@formio/bootstrap": "^3.0.0-rc.41", "@formio/core": "^2.2.2-rc.5", "@formio/js": "^5.0.0-rc.76", "@formio/react": "^6.0.0-rc.1", "react-scripts": "4.0.1",
To Reproduce
Steps to reproduce the behavior:
import { Evaluator } from '@formio/core/utils';console.log(Evaluator);
Expected behavior
No error
Screenshots
Additional context
We tried with a brand new project and the same error occurred so I believe that it wasn't any config from our app causing this issue. We tried isolating the issue and found it to be independent to node version but could be caused by create-react-app
node version / bundler | Vite | create react appv16.20.2 | no issue | error
v20.12.2 | no issue | error
The text was updated successfully, but these errors were encountered: