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

Create react app project won't build with Rambda dependency #71

Closed
aztecrex opened this issue May 30, 2018 · 4 comments
Closed

Create react app project won't build with Rambda dependency #71

aztecrex opened this issue May 30, 2018 · 4 comments

Comments

@aztecrex
Copy link

Trying to build a create-react-app with Rambda dependency and have this error:

Failed to minify the code from this file:

 	./node_modules/rambda/dist/rambda.esm.js:3

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

Version is 1.1.3 but also tried 1.1.1 with same result.

@gabrieldavid98
Copy link

Hey
i had the same problem.
To solve i moved ./node_modules/rambda/dist/rambda.esm.js file content into my project, the project struct is something like this project-name > src > utils > rambda.js then you can compile. rambda.js file contains whole content of ./node_modules/rambda/dist/rambda.esm.js

@selfrefactor
Copy link
Owner

Thank you for opening this issue, I will look up into it. As I don't use create-react-app I haven't seen this bug.

@selfrefactor
Copy link
Owner

So I try it out and I can confirm that I also received the bug with create-react-app. My initial attempt was to update rollup, but when I do that, I receive babel related problems. I will need to spend some time investigating this and I just write this to let everybody know that I didn't forgot about this opened issue.

@selfrefactor
Copy link
Owner

I fix it with replacing rollup pipeline with the one of https://github.com/developit/microbundle

Please try update to the newest rambda version and the issue should be gone.

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

3 participants