GeekyAnts / GeekyAnts/builderX-components

Fails to compile based on Utils (NPM 5.6)

Open
#2 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1
Forks
2
PR merge metrics
No merged PRs in 30d

Description

The Expo build fails on [this script](https://github.com/GeekyAnts/builderX-components/blob/master/packages/utils/index.js):

```
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](https://user-images.githubusercontent.com/6960204/44002024-0e5d2762-9e0a-11e8-926c-4cd8cacace3e.png)

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";
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.