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

.babelrc within node_modules fail the build #630

Closed
selfrefactor opened this issue Jan 23, 2018 · 1 comment
Closed

.babelrc within node_modules fail the build #630

selfrefactor opened this issue Jan 23, 2018 · 1 comment

Comments

@selfrefactor
Copy link

selfrefactor commented Jan 23, 2018

Choose one: is this a 🐛 bug report or 🙋 feature request?
🐛: Need to remove .babelrc within node_modules so it can work

I need to remove .babelrc of two libraries so Parcel can work.

🎛 Configuration (.babelrc, package.json, cli command)

🤔 Expected Behavior

It should work without removing .babelrc files

😯 Current Behavior

I see this in my 1234 port: 🚨 Build error, check the console for details.

In CLI I see this error:

Error message is very long so I give you only small part:

(node:24070) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled wi🚨  /home/just/cold/notify/node_modules/rambdax/dist/rambdax.esm.js: Unknown plugin "external-helpers" specifi
ed in "/home/just/cold/notify/node_modules/rambdax/.babelrc.env.development" at 0, attempted to resolve relat    at /home/just/cold/notify/node_modules/babel-core/lib/transformation/file/options/option-manager.js:180:17
    at Array.map (<anonymous>)
    at Function.normalisePlugins (/home/just/cold/notify/node_modules/babel-core/lib/transformation/file/options/option-manager.js:158:20)

💁 Possible Solution

🔦 Context

💻 Code Sample

Link to repo where the bug is visible

🌍 Your Environment

Software Version(s)
Parcel latest
Node 9.3.0
Yarn 1.3.2
Operating System Ubuntu16.04
@selfrefactor selfrefactor changed the title Bug: Need to remove .babelrc within node_modules so it can work Need to remove .babelrc within node_modules so it can work Jan 23, 2018
@selfrefactor selfrefactor changed the title Need to remove .babelrc within node_modules so it can work .babelrc within node_modules fail the build Jan 23, 2018
@devongovett
Copy link
Member

See #13. There is a WIP PR #559 to solve this.

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

2 participants