Skip to content
This repository has been archived by the owner on Aug 29, 2018. It is now read-only.

Cannot build with create-react-app #68

Closed
mngu opened this issue Jan 18, 2018 · 4 comments
Closed

Cannot build with create-react-app #68

mngu opened this issue Jan 18, 2018 · 4 comments

Comments

@mngu
Copy link

mngu commented Jan 18, 2018

Hi,

I have those dependencies:

"@feathersjs/feathers": "^3.0.2",
"react-scripts": "1.0.14",

The build command failed to compile files from "commons" module because they are not in es5:

Creating an optimized production build...
Failed to compile.

Failed to minify the code from this file: 

        ./node_modules/@feathersjs/commons/lib/utils.js:8 

Read more here: http://bit.ly/2tRViJ9

error Command failed with exit code 1.

No problem with former feathersjs versions on my project.

Thanks for your help!

@daffl
Copy link
Member

daffl commented Jan 18, 2018

Please see the documentation for using create-react-app.

@dubiousdavid
Copy link

Why is this not an issue that Feathers is willing to solve? create-react-app is extremely common.

@daffl
Copy link
Member

daffl commented Jul 19, 2018

This is a solved issue. The answer is to use the pre-built @feathersjs/client.

@dubiousdavid
Copy link

Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants