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

CLI launched but 1 error of code when compiling #28

Closed
juanmateu2 opened this issue Oct 20, 2023 · 1 comment
Closed

CLI launched but 1 error of code when compiling #28

juanmateu2 opened this issue Oct 20, 2023 · 1 comment

Comments

@juanmateu2
Copy link

juanmateu2 commented Oct 20, 2023

Prerequisites

Please answer the following questions for yourself before submitting an issue.

  • [ yes] I am running the latest version
  • [ yes] I checked the documentation and found no answer
  • [yes ] I checked to make sure that this issue has not already been filed
  • [yes ] I'm reporting the issue to the correct repository (for multi-repository projects)

Expected Behavior

The CLI opening the app in a browser.

Current Behavior

compiling error

Failure Information (for bugs)

  • Device: Mac
  • Operating System: MacOS

Failure Logs

Terminal copy & paste. Cli works but and opens browser (empty page as there is a compiling error).

› Webpack waiting on http://192.168.1.132:19006
› Expo Webpack (web) is in beta, and subject to breaking changes!

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

› Press r │ reload app
› Press m │ toggle menu

› Press ? │ show all commands

› Open in the web browser...
› Press ? │ show all commands
[object Object]
ERROR in ./node_modules/expo/AppEntry.js
Module build failed (from ./node_modules/babel-loader/lib/index.js):
/Users/mycomputer/Documents/XPATS/soft-ui-react-native-v1.1.0/node_modules/babel-preset-expo/node_modules/metro-react-native-babel-preset/src/configs/main.js:154
const isVersion = typeof options?.enableBabelRuntime === "string";
^

SyntaxError: Unexpected token '.'
at wrapSafe (internal/modules/cjs/loader.js:931:16)
at Module._compile (internal/modules/cjs/loader.js:979:27)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1035:10)
at Module.load (internal/modules/cjs/loader.js:879:32)
at Function.Module._load (internal/modules/cjs/loader.js:724:14)
at Module.require (internal/modules/cjs/loader.js:903:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object. (/Users/mycomputer/Documents/XPATS/soft-ui-react-native-v1.1.0/node_modules/babel-preset-expo/node_modules/metro-react-native-babel-preset/src/index.js:13:14)

@github-actions
Copy link

@juanmateu2 this issue was automatically closed because it did not follow our rules:

IMPORTANT: Please use the following link to create a new issue:

https://www.creative-tim.com/new-issue/soft-ui-react-native

**If your issue was not created using the app above, it will be closed immediately.**



Love Creative Tim? Do you need Angular, React, Vuejs or HTML? You can visit:
👉  https://www.creative-tim.com/bundles
👉  https://www.creative-tim.com


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

No branches or pull requests

1 participant