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

Can't download Workflow #9

Open ghost opened 2 years ago

ghost commented 2 years ago
chumido@cMacBookP ~ % npm i -g alfred-chrome-workflow
npm WARN deprecated xmldom@0.1.31: Deprecated due to CVE-2021-21366 resolved in 0.5.0
npm ERR! code 254
npm ERR! path /usr/local/lib/node_modules/alfred-chrome-workflow/node_modules/better-sqlite3
npm ERR! command failed
npm ERR! command sh -c prebuild-install || npm run build-release
npm ERR! prebuild-install WARN install No prebuilt binaries found (target=17.0.1 runtime=node arch=x64 libc= platform=darwin)
npm ERR! npm ERR! code ENOENT
npm ERR! npm ERR! syscall open
npm ERR! npm ERR! path null/package.json
npm ERR! npm ERR! errno -2
npm ERR! npm ERR! enoent ENOENT: no such file or directory, open 'null/package.json'
npm ERR! npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! npm ERR! enoent 
npm ERR! 
npm ERR! npm ERR! A complete log of this run can be found in:
npm ERR! npm ERR!     /Users/chumido/.npm/_logs/2021-11-08T06_53_37_992Z-debug.log

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/chumido/.npm/_logs/2021-11-08T06_53_38_364Z-debug.log

Hi @jopemachine. Can you help me? I have this error when download workflow. I'm on Monterey 12.0.1

jopemachine commented 2 years ago

Hi @jopemachine. Can you help me? I have this error when download workflow.

Sure, I think it's a good idea to create a separate distribution file with alfredworkflow.

I saw many people had difficulty in installing their workflow through npm.

I think I better upload this workflow's alfredworkflow file if possible.

Could you let me know your node version?

ghost commented 2 years ago

Hi @jopemachine. Can you help me? I have this error when download workflow.

Sure, I think it's a good idea to create a separate distribution file with alfredworkflow.

I saw many people had difficulty in installing their workflow through npm.

I think I better upload this workflow's alfredworkflow file if possible.

Could you let me know your node version?

Hi. Thanks for your reply. My node's on v17.0.1. NPM is 8.1.3

ghost commented 2 years ago

@jopemachine Hi. Can you help me?

jopemachine commented 2 years ago

@jopemachine Hi. Can you help me?

I'm sorry for disappearing for a while.

I'm quite busy with several personal issues these days, so I can't pay attention.

I think the below error message shows what is the problem.

npm ERR! command sh -c prebuild-install || npm run build-release
npm ERR! prebuild-install WARN install No prebuilt binaries found (target=17.0.1 runtime=node arch=x64 libc= platform=darwin)

Could you try reinstalling the workflow through Node's lower version?

ghost commented 2 years ago

@jopemachine Hi. Can you help me?

I'm sorry for disappearing for a while.

I'm quite busy with several personal issues these days, so I can't pay attention.

I think the below error message shows what is the problem.

npm ERR! command sh -c prebuild-install || npm run build-release
npm ERR! prebuild-install WARN install No prebuilt binaries found (target=17.0.1 runtime=node arch=x64 libc= platform=darwin)

Could you try reinstalling the workflow through Node's lower version?

Hi. Thanks for your reply. I tried install node ver 16 and i can download the workflow and it work. Seem like the workflow does not work on node ver 17.

Prinzhorn commented 2 years ago

Just passing by: this is a bug in npm 8.1.3 https://github.com/npm/cli/issues/4015

rulatir commented 2 years ago

So the real issue is that:

Is this more or less correct?

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