You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey guys, I'm trying to use react-live with gastby.
When I run the build process, a weird error appears related with buble dependency.
This is the verbose log:
Error: ./~/buble/dist/buble.deps.js
Module parse failed: /Users/josefranciscoverdugambin/Projects/microlink/microlink-www/node_modules/buble/dist/buble.deps.js Unexpected token (5:0)
You may need an appropriate loader to handle this file type.
SyntaxError: Unexpected token (5:0)
at Parser.pp$4.raise (/Users/josefranciscoverdugambin/Projects/microlink/microlink-www/node_modules/acorn/dist/acorn.js:2221:15)
at Parser.pp.unexpected (/Users/josefranciscoverdugambin/Projects/microlink/microlink-www/node_modules/acorn/dist/acorn.js:603:10)
at Parser.pp$3.parseExprAtom (/Users/josefranciscoverdugambin/Projects/microlink/microlink-www/node_modules/acorn/dist/acorn.js:1822:12)
at Parser.pp$3.parseExprSubscripts (/Users/josefranciscoverdugambin/Projects/microlink/microlink-www/node_modules/acorn/dist/acorn.js:1715:21)
at Parser.pp$3.parseMaybeUnary (/Users/josefranciscoverdugambin/Projects/microlink/microlink-www/node_modules/acorn/dist/acorn.js:1692:19)
at Parser.pp$3.parseExprOps (/Users/josefranciscoverdugambin/Projects/microlink/microlink-www/node_modules/acorn/dist/acorn.js:1637:21)
at Parser.pp$3.parseMaybeConditional (/Users/josefranciscoverdugambin/Projects/microlink/microlink-www/node_modules/acorn/dist/acorn.js:1620:21)
at Parser.pp$3.parseMaybeAssign (/Users/josefranciscoverdugambin/Projects/microlink/microlink-www/node_modules/acorn/dist/acorn.js:1597:21)
at Parser.pp$3.parseExpression (/Users/josefranciscoverdugambin/Projects/microlink/microlink-www/node_modules/acorn/dist/acorn.js:1573:21)
at Parser.pp$1.parseStatement (/Users/josefranciscoverdugambin/Projects/microlink/microlink-www/node_modules/acorn/dist/acorn.js:727:47)
at Parser.pp$1.parseTopLevel (/Users/josefranciscoverdugambin/Projects/microlink/microlink-www/node_modules/acorn/dist/acorn.js:638:25)
at Parser.parse (/Users/josefranciscoverdugambin/Projects/microlink/microlink-www/node_modules/acorn/dist/acorn.js:516:17)
at Object.parse (/Users/josefranciscoverdugambin/Projects/microlink/microlink-www/node_modules/acorn/dist/acorn.js:3098:39)
at Parser.parse (/Users/josefranciscoverdugambin/Projects/microlink/microlink-www/node_modules/webpack/lib/Parser.js:902:15)
at NormalModule.<anonymous> (/Users/josefranciscoverdugambin/Projects/microlink/microlink-www/node_modules/webpack/lib/NormalModule.js:104:16)
at NormalModule.onModuleBuild (/Users/josefranciscoverdugambin/Projects/microlink/microlink-www/node_modules/webpack/node_modules/webpack-core/lib/Norma lModuleMixin.js:310:10)
@ ./~/react-live/lib/utils/transpile/transform.js 6:13-45
The error says You may need an appropriate loader to handle this file type. I think this is related with dep.js prefix of the file.
gatsby needs to consume ES5 javascript. Looks like you are transpiling your code using rollup, but not sure if this code is totally compatible.
Any tip for resolve that is welcome!
The text was updated successfully, but these errors were encountered:
Hey guys, I'm trying to use
react-live
withgastby
.When I run the build process, a weird error appears related with
buble
dependency.This is the verbose log:
The error says
You may need an appropriate loader to handle this file type.
I think this is related withdep.js
prefix of the file.gatsby needs to consume ES5 javascript. Looks like you are transpiling your code using rollup, but not sure if this code is totally compatible.
Any tip for resolve that is welcome!
The text was updated successfully, but these errors were encountered: