You need to tell the operating system where to look for the piskel command. In this case, that is the current directory, indicated by .. So the command ./piskel means "look in the current directory and execute the program piskel located there".
Thanks for the updates, but I still can't install this. I think the key line is npm ERR! PhantomJS not found on PATH. I installed phantomjs-bin and then the piskel install worked. This is the error log from when PhantomJS wasn't installed:
@turtlewit @makeworld I managed to build piskel by patching both the grunt dependency issue and the node module temp in the PKGBUILD. Older versions of temp use os.tempDir instead of os.tempdir, which was deprecated from node 7.0.0 onwards:
This will install the release build of Piskel to node_modules/@code-dot-org/piskel. The application root is at node_modules/@code-dot-org/piskel/dest/prod. You can run the static version of Piskel by opening index.html in that folder.
A piskel-root utilty is also installed at node_modules/.bin/piskel-root that prints the absolute path to the application root. It's recommended that you depend on this utility in any build scripts to be resilient against future changes to the internal layout of the Piskel package.
760c119bf3