Error when running cleanbuild

Seems to be progressing further, but I’m still getting an error unfortunately:

Pulling electron-app 
Downloading 'node-v6.11.4-linux-x64.tar.gz'[=========================================] 100%
npm --cache-min=Infinity install
npm WARN lifecycle fastmail@0.0.1~postinstall: cannot run in wd %s %s (wd=%s) fastmail@0.0.1 install-app-deps /root/build_fastmail/parts/electron-app/src
npm WARN ajv-keywords@3.2.0 requires a peer of ajv@^6.0.0 but none was installed.
npm WARN fastmail@0.0.1 No repository field.
npm --cache-min=Infinity install --global

> fastmail@0.0.1 postinstall /root/build_fastmail/parts/electron-app/install/lib/node_modules/fastmail
> install-app-deps

sh: 1: install-app-deps: Permission denied
npm ERR! Linux 4.15.0-29-generic
npm ERR! argv "/root/build_fastmail/parts/electron-app/install/bin/node" "/root/build_fastmail/parts/electron-app/install/bin/npm" "--cache-min=Infinity" "install" "--global"
npm ERR! node v6.11.4
npm ERR! npm  v3.10.10
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn

npm ERR! fastmail@0.0.1 postinstall: `install-app-deps`
npm ERR! spawn ENOENT
npm ERR! 
npm ERR! Failed at the fastmail@0.0.1 postinstall script 'install-app-deps'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the fastmail package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     install-app-deps
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs fastmail
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls fastmail
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /root/build_fastmail/parts/electron-app/src/npm-debug.log
Failed to run 'npm --cache-min=Infinity install --global' for 'electron-app': Exited with code 1.
Verify that the part is using the correct parameters and try again.
Stopping local:snapcraft-remorsefully-biodynamic-brant

Here’s a link to my current yaml file: https://pastebin.com/5rEaQxq5