alfred-chrome-workflow icon indicating copy to clipboard operation
alfred-chrome-workflow copied to clipboard

Cannot download the workflow using npm

Open jerryyang0611 opened this issue 3 years ago • 3 comments

As stated, I am struggling with downloading the workflow on my mac. image

Is it possible for you to release the .alfredworkflow file on the release page so I can download the file directly and import it?

jerryyang0611 avatar Jan 28 '22 16:01 jerryyang0611

Could you try to run the below command and install it again?

$ npm config set registry http://registry.npmjs.org

The above command reset npm registry to the default value (Ref: https://docs.npmjs.com/cli/v8/using-npm/registry).

About the releasing issue, This workflow uses better-sqlite3, which is compiled on download, this makes releasing alfredworkflow difficult.

jopemachine avatar Jan 30 '22 03:01 jopemachine

It still might be an idea to set some prerequisites (in the Readme), including instructions to procure and compile the needful.

Delivering a singular .alfredworkflow file would make it more accessible. There are those out there that hyperventilate at the sight of the "warnings" npm throws out.

jun6lee avatar Apr 20 '22 13:04 jun6lee

I reimplemented this workflow in the below repository to avoid these kinds of installation issues.

https://github.com/jopemachine/alfred-chromium-workflow

jopemachine avatar May 29 '22 11:05 jopemachine