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

[Bug] CLI launched but 1 error of code when compiling #29

Open
juanmateu2 opened this issue Oct 20, 2023 · 0 comments
Open

[Bug] CLI launched but 1 error of code when compiling #29

juanmateu2 opened this issue Oct 20, 2023 · 0 comments

Comments

@juanmateu2
Copy link

Version

1.1.0

Reproduction link

#28

Operating System

MacOS High Sierra

Device

Macbook PRO 2011

Browser & Version

Versión 116.0.5845.187

Steps to reproduce

Initial launch of the Creative Tim package, installed, npm, and expo. CLI started in the directory of the project, compiling error

What is expected?

To launch in the browser the initial template app

What is actually happening?

error compiling.
ERROR in ./node_modules/expo/AppEntry.js
Module build failed (from ./node_modules/babel-loader/lib/index.js):
/Users/juanmateumullor/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


Solution

Additional comments

Terminal cut&paste of error


› 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/juanmateumullor/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)

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