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 build with yarn in create-react-app #81

Open
aaronshaf opened this issue Oct 3, 2017 · 5 comments
Open

fails to build with yarn in create-react-app #81

aaronshaf opened this issue Oct 3, 2017 · 5 comments

Comments

@aaronshaf
Copy link

aaronshaf commented Oct 3, 2017

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

Failed to minify the code from this file:

 	./node_modules/neataptic/src/architecture/node.js:78
@aaronshaf aaronshaf changed the title fails to build with yarn fails to build with yarn in create-react-app Oct 3, 2017
@wagenaartje
Copy link
Owner

Hmm I'm not familiar with yarn. Are you sure it is related to Neataptic and not your settings? Keep in mind that some ES6 is used for example.

@aaronshaf
Copy link
Author

I wonder if it has to do with environment checks for node vs browser?

@wagenaartje
Copy link
Owner

Could be, but is that really the full error log yarn gives you? Because this is line 78:

let conn = this.connections.gated[i];

And nothing to me seems weird about it.

@AlexisTM
Copy link
Contributor

AlexisTM commented Oct 5, 2017

Might be unable to handle yarn?

Can you disable the minification process?

@dan-ryan
Copy link

@aaronshaf Reading the above issue, it looks like this issue has been fixed. So you can close this issue.

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

4 participants