You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
you should never be requiring from anything but locally installed dependencies, ever. NODE_PATH is community-deprecated, and for good reason.
An upcoming change to node's module resolution algorithm is going to provide a meaning for ~, which is "the package root" - so your request would conflict with it.
~ currently is not allowed in node's module resolution algorithm, so we wouldn't be able to support it by default anyways.
Could you add the posibility to use
~
as a replacement for $HOME like in shells?That way it would be possible to use:
instead of hardcoding the real path to the user's home dir, which will be different for every user...
The text was updated successfully, but these errors were encountered: