jopemachine / alfred-chrome-workflow

Chromium based browser workflow for Alfred 4
https://www.npmjs.com/package/alfred-chrome-workflow
MIT License
39 stars 3 forks source link

Cannot download the workflow using npm #13

Open jerryyang0611 opened 2 years ago

jerryyang0611 commented 2 years ago

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?

jopemachine commented 2 years ago

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.

jun6lee commented 2 years ago

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.

jopemachine commented 2 years ago

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

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