-
-
Save lucapette/72e753dfdbbf4a33bf87eacce7cef23a to your computer and use it in GitHub Desktop.
Running webpack for the first time
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2.3.0 passata master✗ ? ➜ yarn start | |
yarn start v0.19.1 | |
1 Add non working webpack configuration | |
$ node_modules/.bin/webpack --config webpack.config.js | |
Hash: a8818b00dcacb9a8ee11 | |
Version: webpack 1.14.0 | |
Time: 37ms | |
[0] ./src/App.js 0 bytes [built] [failed] | |
ERROR in ./src/App.js | |
Module parse failed: /Users/lucapette/src/passata/src/App.js Unexpected token (5:2) | |
You may need an appropriate loader to handle this file type. | |
SyntaxError: Unexpected token (5:2) | |
at Parser.pp$4.raise (/Users/lucapette/src/passata/node_modules/acorn/dist/acorn.js:2221:15) | |
at Parser.pp.unexpected (/Users/lucapette/src/passata/node_modules/acorn/dist/acorn.js:603:10) | |
at Parser.pp$3.parseExprAtom (/Users/lucapette/src/passata/node_modules/acorn/dist/acorn.js:1822:12) | |
at Parser.pp$3.parseExprSubscripts (/Users/lucapette/src/passata/node_modules/acorn/dist/acorn.js:1715:21) | |
at Parser.pp$3.parseMaybeUnary (/Users/lucapette/src/passata/node_modules/acorn/dist/acorn.js:1692:19) | |
at Parser.pp$3.parseExprOps (/Users/lucapette/src/passata/node_modules/acorn/dist/acorn.js:1637:21) | |
at Parser.pp$3.parseMaybeConditional (/Users/lucapette/src/passata/node_modules/acorn/dist/acorn.js:1620:21) | |
at Parser.pp$3.parseMaybeAssign (/Users/lucapette/src/passata/node_modules/acorn/dist/acorn.js:1597:21) | |
at Parser.pp$3.parseExprList (/Users/lucapette/src/passata/node_modules/acorn/dist/acorn.js:2165:22) | |
at Parser.pp$3.parseSubscripts (/Users/lucapette/src/passata/node_modules/acorn/dist/acorn.js:1741:35) | |
at Parser.pp$3.parseExprSubscripts (/Users/lucapette/src/passata/node_modules/acorn/dist/acorn.js:1718:17) | |
at Parser.pp$3.parseMaybeUnary (/Users/lucapette/src/passata/node_modules/acorn/dist/acorn.js:1692:19) | |
at Parser.pp$3.parseExprOps (/Users/lucapette/src/passata/node_modules/acorn/dist/acorn.js:1637:21) | |
at Parser.pp$3.parseMaybeConditional (/Users/lucapette/src/passata/node_modules/acorn/dist/acorn.js:1620:21) | |
at Parser.pp$3.parseMaybeAssign (/Users/lucapette/src/passata/node_modules/acorn/dist/acorn.js:1597:21) | |
at Parser.pp$3.parseExpression (/Users/lucapette/src/passata/node_modules/acorn/dist/acorn.js:1573:21) | |
at Parser.pp$1.parseStatement (/Users/lucapette/src/passata/node_modules/acorn/dist/acorn.js:727:47) | |
at Parser.pp$1.parseTopLevel (/Users/lucapette/src/passata/node_modules/acorn/dist/acorn.js:638:25) | |
at Parser.parse (/Users/lucapette/src/passata/node_modules/acorn/dist/acorn.js:516:17) | |
at Object.parse (/Users/lucapette/src/passata/node_modules/acorn/dist/acorn.js:3098:39) | |
at Parser.parse (/Users/lucapette/src/passata/node_modules/webpack/lib/Parser.js:902:15) | |
at NormalModule.<anonymous> (/Users/lucapette/src/passata/node_modules/webpack/lib/NormalModule.js:104:16) | |
at NormalModule.onModuleBuild (/Users/lucapette/src/passata/node_modules/webpack-core/lib/NormalModuleMixin.js:310:10) | |
at nextLoader (/Users/lucapette/src/passata/node_modules/webpack-core/lib/NormalModuleMixin.js:275:25) | |
at /Users/lucapette/src/passata/node_modules/webpack-core/lib/NormalModuleMixin.js:259:5 | |
at Storage.finished (/Users/lucapette/src/passata/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:38:16) | |
at /Users/lucapette/src/passata/node_modules/graceful-fs/graceful-fs.js:78:16 | |
at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:416:3) | |
✨ Done in 0.41s. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment