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
› 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)
The text was updated successfully, but these errors were encountered:
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)
The text was updated successfully, but these errors were encountered: