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

Error of building of the app (processing trailing commas by babel) #26

Closed
MrEfrem opened this issue Sep 4, 2017 · 0 comments
Closed

Comments

@MrEfrem
Copy link

MrEfrem commented Sep 4, 2017

After the last update (1.1.12) I receive the error:

ERROR in ./main.md
Module build failed: /Users/aleksandr/WebProjects/app/node_modules/react-markdown-loader/src/parser.js:99
      );
      ^
SyntaxError: Unexpected token )
    at createScript (vm.js:56:10)
    at Object.runInThisContext (vm.js:97:10)
    at Module._compile (module.js:542:28)
    at Module._extensions..js (module.js:579:10)
    at Object.require.extensions.(anonymous function) [as .js] (/Users/aleksandr/WebProjects/app/node_modules/babel-register/lib/node.js:152:7)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)
    at Module.require (module.js:497:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/Users/aleksandr/WebProjects/app/node_modules/react-markdown-loader/src/index.js:4:16)
    at Module._compile (module.js:570:32)
    at Module._extensions..js (module.js:579:10)
    at Object.require.extensions.(anonymous function) [as .js] (/Users/aleksandr/WebProjects/app/node_modules/babel-register/lib/node.js:152:7)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
 @ ./src/editor/init/cookieDisabled.js 5:0-72
 @ ./src/editor/index.js
 @ multi event-source-polyfill webpack-hot-middleware/client whatwg-fetch ./src/editor/index.js

When I build app I don't use babel for transpiling for node_modules and I think most of developers also don't use. Maybe in your package should be only ES5 compatible code?

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

1 participant