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

Fails to compile based on Utils (NPM 5.6) #2

Open
cuuupid opened this issue Aug 12, 2018 · 0 comments
Open

Fails to compile based on Utils (NPM 5.6) #2

cuuupid opened this issue Aug 12, 2018 · 0 comments

Comments

@cuuupid
Copy link

cuuupid commented Aug 12, 2018

The Expo build fails on this script:

SyntaxError in /mnt/c/Users/hello/Documents/github/worklife/mobile-app/node_modules/@builderx/utils/index.js: Unexpected token, expected { (1:7)
> 1 | export Center from "./components/CenterWrapper";
    |        ^
  2 | 

image

The workaround I am using currently is as follows for anyone who has the same issue:

(replacing content of file)

export {default as Center} from "./components/CenterWrapper";
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