Skip to content
This repository has been archived by the owner on May 29, 2022. It is now read-only.

Cannot download the workflow using npm #13

Open
jerryyang0611 opened this issue Jan 28, 2022 · 3 comments
Open

Cannot download the workflow using npm #13

jerryyang0611 opened this issue Jan 28, 2022 · 3 comments

Comments

@jerryyang0611
Copy link

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
Copy link
Owner

jopemachine commented Jan 30, 2022

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
Copy link
Contributor

jun6lee commented Apr 20, 2022

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
Copy link
Owner

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

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants