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

Application bundle.js error after babel process #861

Closed
MatusSkerlik opened this issue Mar 29, 2017 · 3 comments
Closed

Application bundle.js error after babel process #861

MatusSkerlik opened this issue Mar 29, 2017 · 3 comments

Comments

@MatusSkerlik
Copy link

MatusSkerlik commented Mar 29, 2017

When i run project in "developing" mode everything works as it should.
npm run dev
But when i bundle code into Electron and run application, i am getting error in /app/dist/bundle.js
npm run package

Syntax error: Invalid regular expression: missing /

my repository rep
Compilation of source code is made by babel-pollyfill
OSX 10.12.3, node v6.9.2, npm 4.2.0

@amilajack
Copy link
Member

Cant access your repo. It may be bc its private. What is the full stack trace? 3 of #400 and install with yarn.

@MatusSkerlik
Copy link
Author

MatusSkerlik commented Mar 29, 2017

Sorry for that link, it works now.

@MatusSkerlik
Copy link
Author

MatusSkerlik commented Mar 29, 2017

It is fixed. But thank you all ! The problem was in BabiliPlugin from 'babili-webpack-plugin' in webpack configuration.

babel/babel#5564

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

No branches or pull requests

2 participants