aurelia-electron-webpack
aurelia-electron-webpack copied to clipboard
webpack fails out of the box :(
Creating an app from this template unfortunately fails. The app launches but it fails with the following. Any ideas?
`Html Webpack Plugin: Error: Child compilation failed: Module build failed (from ./node_modules/@marshallofsound/webpack-asset-relocator-loader/dist/index.js): SyntaxError: Unexpected token (231:22)
-
index.js:20834 Object.module.exports.pp$4.raise [testAurelia]/[@marshallofsound]/webpack-asset-relocator-loader/dist/index.js:20834:13
-
index.js:18680 Object.module.exports.pp.unexpected [testAurelia]/[@marshallofsound]/webpack-asset-relocator-loader/dist/index.js:18680:8
-
index.js:20282 Object.module.exports.pp$3.parseExprAtom [testAurelia]/[@marshallofsound]/webpack-asset-relocator-loader/dist/index.js:20282:10
-
index.js:4551 Object.parseExprAtom [testAurelia]/[@marshallofsound]/webpack-asset-relocator-loader/dist/index.js:4551:117
-
index.js:42293 Object.parseExprAtom [testAurelia]/[@marshallofsound]/webpack-asset-relocator-loader/dist/index.js:42293:75
-
index.js:35894 Object.parseExprAtom [testAurelia]/[@marshallofsound]/webpack-asset-relocator-loader/dist/index.js:35894:26
-
index.js:15975 Object.parseExprAtom [testAurelia]/[@marshallofsound]/webpack-asset-relocator-loader/dist/index.js:15975:26
-
index.js:380 Object.parseExprAtom [testAurelia]/[@marshallofsound]/webpack-asset-relocator-loader/dist/index.js:380:26
-
index.js:20116 Object.module.exports.pp$3.parseExprSubscripts [testAurelia]/[@marshallofsound]/webpack-asset-relocator-loader/dist/index.js:20116:19
-
index.js:20093 Object.module.exports.pp$3.parseMaybeUnary [testAurelia]/[@marshallofsound]/webpack-asset-relocator-loader/dist/index.js:20093:17
-
index.js:35875 Object.parseMaybeUnary [testAurelia]/[@marshallofsound]/webpack-asset-relocator-loader/dist/index.js:35875:29
-
index.js:15955 Object.parseMaybeUnary [testAurelia]/[@marshallofsound]/webpack-asset-relocator-loader/dist/index.js:15955:29
-
index.js:368 Object.parseMaybeUnary [testAurelia]/[@marshallofsound]/webpack-asset-relocator-loader/dist/index.js:368:29
-
index.js:20035 Object.module.exports.pp$3.parseExprOps [testAurelia]/[@marshallofsound]/webpack-asset-relocator-loader/dist/index.js:20035:19
-
index.js:20018 Object.module.exports.pp$3.parseMaybeConditional [testAurelia]/[@marshallofsound]/webpack-asset-relocator-loader/dist/index.js:20018:19
-
SyntaxError: Unexpected token (231:22)
-
ModuleBuildError: Module build failed (from ./node_modules/@marshallofsound/webpack-asset-relocator-loader/dist/index. js):
-
SyntaxError: Unexpected token (231:22)
-
index.js:20834 Object.module.exports.pp$4.raise [testAurelia]/[@marshallofsound]/webpack-asset-relocator-loader/dist/index.js:20834:13
-
index.js:18680 Object.module.exports.pp.unexpected [testAurelia]/[@marshallofsound]/webpack-asset-relocator-loader/dist/index.js:18680:8
-
index.js:20282 Object.module.exports.pp$3.parseExprAtom [testAurelia]/[@marshallofsound]/webpack-asset-relocator-loader/dist/index.js:20282:10
-
index.js:4551 Object.parseExprAtom [testAurelia]/[@marshallofsound]/webpack-asset-relocator-loader/dist/index.js:4551:117
-
index.js:42293 Object.parseExprAtom [testAurelia]/[@marshallofsound]/webpack-asset-relocator-loader/dist/index.js:42293:75
-
index.js:35894 Object.parseExprAtom [testAurelia]/[@marshallofsound]/webpack-asset-relocator-loader/dist/index.js:35894:26
-
index.js:15975 Object.parseExprAtom [testAurelia]/[@marshallofsound]/webpack-asset-relocator-loader/dist/index.js:15975:26
-
index.js:380 Object.parseExprAtom [testAurelia]/[@marshallofsound]/webpack-asset-relocator-loader/dist/index.js:380:26
-
index.js:20116 Object.module.exports.pp$3.parseExprSubscripts [testAurelia]/[@marshallofsound]/webpack-asset-relocator-loader/dist/index.js:20116:19
-
index.js:20093 Object.module.exports.pp$3.parseMaybeUnary [testAurelia]/[@marshallofsound]/webpack-asset-relocator-loader/dist/index.js:20093:17
-
index.js:35875 Object.parseMaybeUnary [testAurelia]/[@marshallofsound]/webpack-asset-relocator-loader/dist/index.js:35875:29
-
index.js:15955 Object.parseMaybeUnary [testAurelia]/[@marshallofsound]/webpack-asset-relocator-loader/dist/index.js:15955:29
-
index.js:368 Object.parseMaybeUnary [testAurelia]/[@marshallofsound]/webpack-asset-relocator-loader/dist/index.js:368:29
-
index.js:20035 Object.module.exports.pp$3.parseExprOps [testAurelia]/[@marshallofsound]/webpack-asset-relocator-loader/dist/index.js:20035:19
-
index.js:20018 Object.module.exports.pp$3.parseMaybeConditional [testAurelia]/[@marshallofsound]/webpack-asset-relocator-loader/dist/index.js:20018:19
-
index.js:19993 Object.module.exports.pp$3.parseMaybeAssign [testAurelia]/[@marshallofsound]/webpack-asset-relocator-loader/dist/index.js:19993:19
-
NormalModule.js:316 [testAurelia]/[webpack]/lib/NormalModule.js:316:20
-
LoaderRunner.js:367 [testAurelia]/[loader-runner]/lib/LoaderRunner.js:367:11
-
LoaderRunner.js:233 [testAurelia]/[loader-runner]/lib/LoaderRunner.js:233:18
-
LoaderRunner.js:111 Object.context.callback [testAurelia]/[loader-runner]/lib/LoaderRunner.js:111:13
-
index.js:14742 Object.module.exports.module.exports [testAurelia]/[@marshallofsound]/webpack-asset-relocator-loader/dist/index.js:14742:12
-
LoaderRunner.js:119 LOADER_EXECUTION [testAurelia]/[loader-runner]/lib/LoaderRunner.js:119:14
-
LoaderRunner.js:120 runSyncOrAsync [testAurelia]/[loader-runner]/lib/LoaderRunner.js:120:4
-
LoaderRunner.js:232 iterateNormalLoaders [testAurelia]/[loader-runner]/lib/LoaderRunner.js:232:2
-
LoaderRunner.js:205 Array. [testAurelia]/[loader-runner]/lib/LoaderRunner.js:205:4
-
CachedInputFileSystem.js:55 Storage.finished [testAurelia]/[enhanced-resolve]/lib/CachedInputFileSystem.js:55:16
-
CachedInputFileSystem.js:91 [testAurelia]/[enhanced-resolve]/lib/CachedInputFileSystem.js:91:9
-
graceful-fs.js:123 [testAurelia]/[graceful-fs]/graceful-fs.js:123:16
-
read_file_context.js:71 FSReqCallback.readFileAfterClose [as oncomplete] internal/fs/read_file_context.js:71:3
-
child-compiler.js:131 [testAurelia]/[html-webpack-plugin]/lib/child-compiler.js:131:18
-
Compiler.js:343 [testAurelia]/[webpack]/lib/Compiler.js:343:11
-
Compiler.js:681 [testAurelia]/[webpack]/lib/Compiler.js:681:15 `
I haven't updated this repository in 3 years and a lot of dependencies have been improved in that time including a stable release of Electron Forge that no longer uses marshallofsound/webpack-asset-relocator-loader
When I get some time I'll do some updates. If anyone manages to do this before me please submit a PR!