Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

acsetup fails with error on Windows #7

Open
ptitzler opened this issue Aug 3, 2017 · 1 comment
Open

acsetup fails with error on Windows #7

ptitzler opened this issue Aug 3, 2017 · 1 comment
Labels

Comments

@ptitzler
Copy link
Contributor

ptitzler commented Aug 3, 2017

>node bin\acsetup.js ..\auto.txt
serverlessautocomplete
Creating OpenWhisk action: auto

fs.js:1089
  return binding.unlink(pathModule._makeLong(path));
                 ^

Error: ENOENT: no such file or directory, unlink 'C:\Users\IBM_AD~1\AppData\Local\Temp\tmp-528eXZNshqEtspW\action.zip'
    at Error (native)
    at Object.fs.unlinkSync (fs.js:1089:18)
    at Object.rm (D:\medium-tests\serverless-autocomplete\lib\file.js:45:6)
    at Object.<anonymous> (D:\medium-tests\serverless-autocomplete\bin\acsetup.js:45:6)
    at Module._compile (module.js:570:32)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)
    at Module.runMain (module.js:604:10)

@ptitzler
Copy link
Contributor Author

ptitzler commented Aug 3, 2017

  • Issue 1: The ZIP file cannot be created. Reason: file.js relies on zip utility which may or may not be installed on Windows. Because the file couldn't be created the subsequent removal attempt failed.
  • Issue 2: ZIP file creation failure wasn't detected.
  • Issue 3: See acsetup fails without an error message #5

@ptitzler ptitzler added the bug label Aug 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant