npm version 14.17.2
node 6.14.13
I have tried pulling the 1.26.x branch and also the latest branch.
npm install - worked ok
npm run init
Debug log shows:
info it worked if it ends with ok
1 verbose cli [ ‘/usr/bin/node’, ‘/usr/bin/npm’, ‘run’, ‘init’ ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ ‘preinit’, ‘init’, ‘postinit’ ]
5 info lifecycle [email protected]~preinit: [email protected]
6 info lifecycle [email protected]~init: [email protected]
7 verbose lifecycle [email protected]~init: unsafe-perm in lifecycle true
8 verbose lifecycle [email protected]~init: PATH: /usr/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/taz/Downloads/BraveBrowser_newest/brave-browser/brave-browser/node_modules/.bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/home/taz/.local/bin:/home/taz/bin:/usr/local/go/bin:/home/taz/projects/go/bin:/home/taz/gitroot/depot_tools
9 verbose lifecycle [email protected]~init: CWD: /home/taz/Downloads/BraveBrowser_newest/brave-browser/brave-browser
10 silly lifecycle [email protected]~init: Args: [ ‘-c’, ‘node ./scripts/init.js’ ]
11 silly lifecycle [email protected]~init: Returned: code: 1 signal: null
12 info lifecycle [email protected]~init: Failed to exec init script
13 verbose stack Error: [email protected] init: node ./scripts/init.js
13 verbose stack Exit status 1
13 verbose stack at EventEmitter. (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
13 verbose stack at EventEmitter.emit (events.js:375:28)
13 verbose stack at ChildProcess. (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
13 verbose stack at ChildProcess.emit (events.js:375:28)
13 verbose stack at maybeClose (internal/child_process.js:1055:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5)
14 verbose pkgid [email protected]
15 verbose cwd /home/taz/Downloads/BraveBrowser_newest/brave-browser/brave-browser
Any help would be greatly appreciated