bchatard / alfred-jetbrains

Alfred5 workflow to easily open your projects with your favorite JetBrains product.
MIT License
624 stars 49 forks source link

Installation not working on Alfred 5 #316

Closed samsaggace closed 1 year ago

samsaggace commented 1 year ago

FAQ

Describe the bug

I ran the command npm install -g @bchatard/alfred-jetbrains. It went well:

➜ npm install -g @bchatard/alfred-jetbrains
npm WARN deprecated xmldom@0.1.31: Deprecated due to CVE-2021-21366 resolved in 0.5.0

added 274 packages in 1s

51 packages are looking for funding
  run `npm fund` for details

but nothing happened in Alfred version 5.0.6

To Reproduce

  1. Install Alfred 5.0.6
  2. Run npm install -g @bchatard/alfred-jetbrains
  3. Open Alfred, no new workflow created

Expected behavior

A new workflow has been created in Alfred. (Sorry if I missed another step in the installation process...)

Alfred Version

5.0.6

Node Version

18.13.0

NPM Version

9.6.1

Jetbrains Product & Version

JetBrains Toolbox 1.27.3.14493

Installation type

JetBrains ToolBox

OS

macOS 13.2.1

bchatard commented 1 year ago

hi,

I use Alfy to manage installation and Alfred interaction. Can you try one on the following workflow to validate this issue : https://github.com/sindresorhus/alfy#users For eg: https://github.com/sindresorhus/alfred-lock

samsaggace commented 1 year ago

alfred-lock installation didn't work either... nor did alfred-npms.

So it's Alfy that might not be compatible with Alfred 5 ?

bchatard commented 1 year ago

Yes it's seems.

I didn't install the workflow in A5 but in A4 then upgrade to A5...

I'll check if we can do the post install steps manually

bchatard commented 1 year ago

Hi,

If you are adventurous, you can try the v2 pre-release. Be careful, it's a pre-release, tested on Intel mac

Can be installed like this: npm install -g @bchatard/alfred-jetbrains@next

This should fix your issue with post-install setup

bchatard commented 1 year ago

check new version, re-open if needed

samsaggace commented 1 year ago

Hello, so sorry I forgot to reply to you. Just after I opened to PR, I tried to git clone the v1 and ran some random npm commands and it magically worked... but i have no clue how 😅

I've seen you've completly rewrote the v2 in dart that's super interesting! Is it possible to have access to the source code somewhere ?

Thanks and sorry again

bchatard commented 1 year ago

Dart code will be open sourced soon