soft-ui-react-native icon indicating copy to clipboard operation
soft-ui-react-native copied to clipboard

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

Open juanmateu2 opened this issue 2 years ago • 0 comments

Version

1.1.0

Reproduction link

https://github.com/creativetimofficial/soft-ui-react-native/issues/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)

juanmateu2 avatar Oct 20 '23 06:10 juanmateu2