Level 1
The problem was a syntax error in js file.
Hi people, when i do the command gulp i have an error "Module build failed". Why does this happen?
Module build failed: SyntaxError: Unexpected token (83:0)
at Parser.pp$4.raise (/Users/john/Projects/Arquivo/arquivo/node_modules/buble/node_modules/acorn/dist/acorn.js:2221:15)
at Parser.pp.unexpected (/Users/john/Projects/Arquivo/arquivo/node_modules/buble/node_modules/acorn/dist/acorn.js:603:10)
at Parser.pp$3.parseExprAtom (/Users/john/Projects/Arquivo/arquivo/node_modules/buble/node_modules/acorn/dist/acorn.js:1822:12)
at Parser.parseExprAtom (/Users/john/Projects/Arquivo/arquivo/node_modules/buble/dist/buble.umd.js:656:26)
at Parser.pp$3.parseExprSubscripts (/Users/john/Projects/Arquivo/arquivo/node_modules/buble/node_modules/acorn/dist/acorn.js:1715:21)
at Parser.pp$3.parseMaybeUnary (/Users/john/Projects/Arquivo/arquivo/node_modules/buble/node_modules/acorn/dist/acorn.js:1692:19)
at Parser.pp$3.parseExprOps (/Users/john/Projects/Arquivo/arquivo/node_modules/buble/node_modules/acorn/dist/acorn.js:1637:21)
at Parser.pp$3.parseMaybeConditional (/Users/john/Projects/Arquivo/arquivo/node_modules/buble/node_modules/acorn/dist/acorn.js:1620:21)
at Parser.pp$3.parseMaybeAssign (/Users/john/Projects/Arquivo/arquivo/node_modules/buble/node_modules/acorn/dist/acorn.js:1597:21)
at Parser.pp$3.parseExpression (/Users/john/Projects/Arquivo/arquivo/node_modules/buble/node_modules/acorn/dist/acorn.js:1573:21)]
message: './resources/assets/js/app.js\nModule build failed: SyntaxError: Unexpected token (83:0)\n at Parser.pp$4.raise (/Users/john/Projects/Arquivo/arquivo/node_modules/buble/node_modules/acorn/dist/acorn.js:2221:15)\n at Parser.pp.unexpected (/Users/john/Projects/Arquivo/arquivo/node_modules/buble/node_modules/acorn/dist/acorn.js:603:10)\n at Parser.pp$3.parseExprAtom (/Users/john/Projects/Arquivo/arquivo/node_modules/buble/node_modules/acorn/dist/acorn.js:1822:12)\n at Parser.parseExprAtom (/Users/john/Projects/Arquivo/arquivo/node_modules/buble/dist/buble.umd.js:656:26)\n at Parser.pp$3.parseExprSubscripts (/Users/john/Projects/Arquivo/arquivo/node_modules/buble/node_modules/acorn/dist/acorn.js:1715:21)\n at Parser.pp$3.parseMaybeUnary (/Users/john/Projects/Arquivo/arquivo/node_modules/buble/node_modules/acorn/dist/acorn.js:1692:19)\n at Parser.pp$3.parseExprOps (/Users/john/Projects/Arquivo/arquivo/node_modules/buble/node_modules/acorn/dist/acorn.js:1637:21)\n at Parser.pp$3.parseMaybeConditional (/Users/john/Projects/Arquivo/arquivo/node_modules/buble/node_modules/acorn/dist/acorn.js:1620:21)\n at Parser.pp$3.parseMaybeAssign (/Users/john/Projects/Arquivo/arquivo/node_modules/buble/node_modules/acorn/dist/acorn.js:1597:21)\n at Parser.pp$3.parseExpression (/Users/john/Projects/Arquivo/arquivo/node_modules/buble/node_modules/acorn/dist/acorn.js:1573:21)',
showStack: false,
showProperties: true,
plugin: 'webpack-stream',
__safety: { toString: [Function: bound ] } }
Thank's for helping me.
The problem was a syntax error in js file.
Please or to participate in this conversation.