bchatard / alfred-jetbrains

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

Can't find workflow in alfred with node installed by nvm #229

Closed urzz closed 3 years ago

urzz commented 3 years ago

Describe the bug

I installed the node by nvm. And it's node_modules path not in /usr/local/lib/node_modules. So, when i done the installation npm install -g @bchatard/alfred-jetbrains, I can't find the workflow in the alfred.

After link the path, i can find and use the workflow.

# NODE_MODULE_PATH is the node_modules path for node installed by nvm
sudo ln -s NODE_MODULE_PATH /usr/local/lib/node_modules
Q A
Workflow version 1.6.0
OSX Version 11.4
Alfred Version 4.5.1
JetBrains Product/Version Idea / 2021.2
Installation type JB Toolbox
Node version v14.17.5 (node --version)
NPM version 6.14.14 (npm --version)
bchatard commented 3 years ago

hi @urzz

did you have any error on installation step?

urzz commented 3 years ago

@bchatard no, the problem seems to be trigger alfy-init failed, because last time i don't see any msg like alfy-init. I tried remove the link and reinstall it, it succeed, and the problem can't be reappeared. I think this issue can be closed, thx!