Skip to content

Instantly share code, notes, and snippets.

@chrissnell
Created December 21, 2018 18:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chrissnell/e5f0193ec8f991f08e7de230926ad1e1 to your computer and use it in GitHub Desktop.
Save chrissnell/e5f0193ec8f991f08e7de230926ad1e1 to your computer and use it in GitHub Desktop.
==> Starting build()...
> mattermost-desktop@4.2.0 postinstall /tmp/makepkg/mattermost-desktop/src/desktop-4.2.0
> electron-builder install-app-deps && npm run extract-dict
/tmp/makepkg/mattermost-desktop/src/desktop-4.2.0/node_modules/electron-builder/node_modules/yargs/lib/command.js:22
globalMiddleware.push(...middlewares)
^^^
SyntaxError: Unexpected token ...
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:373:25)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Object.<anonymous> (/tmp/makepkg/mattermost-desktop/src/desktop-4.2.0/node_modules/electron-builder/node_modules/yargs/lib/argsert.js:2:17)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
npm ERR! Linux 4.19.11-arch1-1-ARCH
npm ERR! argv "/home/cjs/.nvm/versions/node/v4.9.1/bin/node" "/home/cjs/.nvm/versions/node/v4.9.1/bin/npm" "install" "--cache" "/tmp/makepkg/mattermost-desktop/src/npm-cache"
npm ERR! node v4.9.1
npm ERR! npm v2.15.11
npm ERR! code ELIFECYCLE
npm ERR! mattermost-desktop@4.2.0 postinstall: `electron-builder install-app-deps && npm run extract-dict`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the mattermost-desktop@4.2.0 postinstall script 'electron-builder install-app-deps && npm run extract-dict'.
npm ERR! This is most likely a problem with the mattermost-desktop package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! electron-builder install-app-deps && npm run extract-dict
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs mattermost-desktop
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR! npm owner ls mattermost-desktop
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /tmp/makepkg/mattermost-desktop/src/desktop-4.2.0/npm-debug.log
==> ERROR: A failure occurred in build().
Aborting...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment