➜ /Users/sagi/src/skill-name/lambda/custom git:(master) ✗ ask lambda upload -f lambda-name events.js:165 throw er; // Unhandled 'error' event ^ Error: ENOENT: no such file or directory, open '/Users/sagi/src/skill-name/lambda/custom/Users/sagi/src/skill-name/lambda/custom/asktemp_53423TIuGwx1gJvoz.zip' Emitted 'error' event at: at WriteStream.onerror (/usr/local/lib/node_modules/ask-cli/node_modules/readable-stream/lib/_stream_readable.js:640:52) at WriteStream.emit (events.js:180:13) at WriteStream.emit (domain.js:422:20) at fs.open (fs.js:2225:12) at FSReqWrap.oncomplete (fs.js:153:20)
Looks like absolute path appended to the current path and the temp file is rightfully not there.
ask --version 1.4.1
I reverted ask-cli back to version 1.3.1 and the issue is gone (still happens in 1.4.0, npm failed to find version 1.3.2)