Closed jkohlin closed 7 years ago
For the first error, DeckTape requires Node version 7.10.0+ as it uses async / await.
For the second error, it looks like a permission issue. You may try sudo npm i -g decktape
.
Make sure your NPM version is recent as well.
Strange, I have Node 7.4:
Given that DeckTape requires Node version v7.10.0+ and that you have v7.4.0 which is older, it sounds logical. You should be able to fix the error by upgrading Node to a version greater than 7.10.0.
Let me close this. Feel free to re-open if upgrading Node is not the solution.
I installed it at the Downloads folder and then ran it locally:
$ npm install decktape $ ´npm bin´/decktape
But I get this:node_modules/decktape/decktape.js:162 (async () => { ^ SyntaxError: Unexpected token (
I also tried to install it globally, but instead got an error while installing
npm ERR! Error: EACCES: permission denied, symlink '../lib/node_modules/decktape/decktape.js' -> '/usr/local/bin/decktape'
I'm probably doing something wrong, but have no idea what that might be