-
Notifications
You must be signed in to change notification settings - Fork 176
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
There was an error when i used it on the web (registerTranslation) #427
Comments
Hey! Thanks for opening the issue. Can you provide a minimal repro which demonstrates the issue? Posting a snippet of your code in the issue is useful, but it's not usually straightforward to run. A repro will help us debug the issue faster. Please try to keep the repro as small as possible. The easiest way to provide a repro is on snack.expo.dev. If it's not possible to repro it on snack.expo.dev, then you can also provide the repro in a GitHub repository. |
Here is my code, all libraries build, but react-native-paper-dates has this error, only this one. Thanks |
Hello 👋, this issue has been open for more than a month without a repro or any activity. If the issue is still present in the latest version, please provide a repro or leave a comment within 7 days to keep it open, otherwise it will be closed automatically. If you found a solution or workaround for the issue, please comment here for others to find. If this issue is critical for you, please consider sending a pull request to fix it. |
Current behaviour
Uncaught ReferenceError: require is not defined
at eval (index.js:2:28)
at ./node_modules/react-native-paper-dates/lib/module/index.js (react.native.web.bundle.js:11193:1)
at webpack_require (react.native.web.bundle.js:11277:33)
at fn (react.native.web.bundle.js:11488:21)
at eval (date-range.tsx:1:829)
at ./src/components/Date/date-range.tsx (react.native.web.bundle.js:9239:1)
at webpack_require (react.native.web.bundle.js:11277:33)
at fn (react.native.web.bundle.js:11488:21)
at eval (SaleOrder.tsx:1:3099)
at ./src/screens/SaleOrder.tsx (react.native.web.bundle.js:9419:1)
Webpack config
// node > 20.18
Your Environment
The text was updated successfully, but these errors were encountered: