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
Describe the bug
Hi! I was trying to build and start CastleMock locally on my machine but I encountered a JS error when opening my browser on http://localhost:3000 :
SearchBar.js:9 Uncaught ReferenceError: arguments is not defined
at ./node_modules/react-bootstrap-table2-toolkit/lib/src/search/SearchBar.js (SearchBar.js:9:1)
at options.factory (react refresh:6:1)
at __webpack_require__ (bootstrap:24:1)
at fn (hot module replacement:62:1)
at ./node_modules/react-bootstrap-table2-toolkit/lib/src/search/index.js (index.js:7:1)
at options.factory (react refresh:6:1)
at __webpack_require__ (bootstrap:24:1)
at fn (hot module replacement:62:1)
at ./node_modules/react-bootstrap-table2-toolkit/lib/index.js (index.js:8:1)
at options.factory (react refresh:6:1)
To Reproduce
Steps to reproduce the behavior:
git clone git@github.com:castlemock/castlemock.git # I actually made a fork and then cloned the forkcd castlemock/
cd web/web-frontend/
yarn install
yarn start # opens my browser on http://localhost:3000# Open the javascript console in the dev tools to see the stack trace mentioned above
Expected behavior
I expect the homepage (or login page) of CastleMock to appear with no error.
Castle Mock
Version 1.65 (root pom.xml version, master branch, commit b65a955)
Node Version v20.11.0
Yarn version 1.22.21
Java Version 21 (not used to reproduce this bug)
Desktop (please complete the following information):
OS: Linux Manjaro (5.10.205-1-MANJARO)
Browser: Google Chrome (119.0.6045.199)
Additional context:
This error is related to this issue react-bootstrap-table/react-bootstrap-table2#1520, so it doesn't seem to be a bug from CastleMock itself but from a dependency. However, I'm wondering if anyone has encountered this when working on CastleMock and if so, is there a workaround or a fix I can use? Thanks.
The text was updated successfully, but these errors were encountered:
Describe the bug
Hi! I was trying to build and start CastleMock locally on my machine but I encountered a JS error when opening my browser on http://localhost:3000 :
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I expect the homepage (or login page) of CastleMock to appear with no error.
Castle Mock
Desktop (please complete the following information):
Additional context:
This error is related to this issue react-bootstrap-table/react-bootstrap-table2#1520, so it doesn't seem to be a bug from CastleMock itself but from a dependency. However, I'm wondering if anyone has encountered this when working on CastleMock and if so, is there a workaround or a fix I can use? Thanks.
The text was updated successfully, but these errors were encountered: