Skip to content
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

Web version error in Expo Go #6

Open
vikram-s-narayan opened this issue Jan 4, 2024 · 0 comments · May be fixed by #15
Open

Web version error in Expo Go #6

vikram-s-narayan opened this issue Jan 4, 2024 · 0 comments · May be fixed by #15

Comments

@vikram-s-narayan
Copy link

Error below:


› Using Expo Go
› Press s │ switch to development build

› Press a │ open Android
› Press i │ open iOS simulator
› Press w │ open web

› Press j │ open debugger
› Press r │ reload app
› Press m │ toggle menu
› Press o │ open project code in your editor

› Press ? │ show all commands

› Open in the web browser...
› Press ? │ show all commands
(node:88282) [DEP_WEBPACK_DEV_SERVER_CONSTRUCTOR] DeprecationWarning: Using 'compiler' as the first argument is deprecated. Please use 'options' as the first argument and 'compiler' as the second argument.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:88282) [DEP_WEBPACK_DEV_SERVER_LISTEN] DeprecationWarning: 'listen' is deprecated. Please use the async 'start' or 'startCallback' method.
ERROR in ./node_modules/react-native/Libraries/LogBox/LogBox.js:14
Module not found: Can't resolve '../Utilities/Platform'
  12 | import type {ExtendedExceptionData} from './Data/parseLogBoxLog';
  13 |
> 14 | import Platform from '../Utilities/Platform';
  15 | import RCTLog from '../Utilities/RCTLog';
  16 |
  17 | export type {LogData, ExtendedExceptionData, IgnorePattern};

ERROR in ./node_modules/@ronradtke/react-native-markdown-display/src/index.js 146:30
Module parse failed: Unexpected token (146:30)
File was processed with these loaders:
 * ./node_modules/source-map-loader/dist/cjs.js
You may need an additional loader to handle the result of these loaders.
|     onLinkPress,
|     maxTopLevelChildren = null,
>     topLevelMaxExceededItem = <Text key="dotdotdot">...</Text>,
|     allowedImageHandlers = [
|       'data:image/png;base64',

web compiled with 2 errors

In the browser (Chrome) the following error is seen:

Uncaught Error: Module parse failed: Unexpected token (146:30)
File was processed with these loaders:
 * ./node_modules/source-map-loader/dist/cjs.js
You may need an additional loader to handle the result of these loaders.
|     onLinkPress,
|     maxTopLevelChildren = null,
>     topLevelMaxExceededItem = <Text key="dotdotdot">...</Text>,
|     allowedImageHandlers = [
|       'data:image/png;base64',
    at ./node_modules/@ronradtke/react-native-markdown-display/src/index.js (logger.ts:47:1)
    at __webpack_require__ (bootstrap:24:1)
    at fn (hot module replacement:62:1)
    at ./src/screens/chat.tsx (assistant.tsx:791:1)
    at __webpack_require__ (bootstrap:24:1)
    at fn (hot module replacement:62:1)
    at ./src/screens/index.ts (images.tsx:608:1)
    at __webpack_require__ (bootstrap:24:1)
    at fn (hot module replacement:62:1)
    at ./src/main.tsx (context.tsx:21:1)
@benschac benschac linked a pull request Aug 26, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant