wagenaartje / neataptic

:rocket: Blazing fast neuro-evolution & backpropagation for the browser and Node.js
https://wagenaartje.github.io/neataptic/
Other
1.19k stars 279 forks source link

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

Open aaronshaf opened 7 years ago

aaronshaf commented 7 years ago
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
wagenaartje commented 7 years ago

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 commented 7 years ago

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

wagenaartje commented 7 years ago

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 commented 7 years ago

Might be unable to handle yarn?

Can you disable the minification process?

dan-ryan commented 5 years ago

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