importing 3rd party libs #350
Replies: 2 comments
-
To import globally installed packages check your NODE_PARH env var. |
Beta Was this translation helpful? Give feedback.
-
I have the same use case, I don't know how to do it so I forked the project, and added my dependencies on my fork, and it's working fine, for time being I found it easier. After some time, I went ahead, and imported the I find the Just sharing my experience here. |
Beta Was this translation helpful? Give feedback.
-
I'm using
zx
mainly like this:With
zx
installed globally. Ichmod +x
and run the script./myscript
without ext.It is not clear to me how I'm supposed to use 3rd party libs. E.g. want to make use of
keyblade
.However, this causes an import error
keyblade
is installed globally as well.Is what I'm trying to do not possible? Do I have to use the importing from other scripts approach to achieve this?
Beta Was this translation helpful? Give feedback.
All reactions