Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I npm link on a nodejitsu instance?

I'm trying to use a lib that I need to install and then link with npm. I don't see any clear path for me to access my server this way using the jitsu cli. How would I go about doing this?

like image 561
fancy Avatar asked Feb 22 '23 11:02

fancy


1 Answers

I work for nodejitsu.

First, I believe your problem can be solved by using bundledDependencies in your package.json like so:

{
  "bundledDependencies": [ "myModule", "myFork" ]
}

Then, when jitsu bundles your app for deployment (which uses npm), it will also bundle your dependency with it.

If the package is on a personal fork of a project on github, npm also can pull directly from a git url. Check out http://npmjs.org/doc/ for more information on ways to pull npm modules from non-registry sources.

Also: We have a dedicated support team which can be contacted either through [email protected] or at #nodejitsu on irc.freenode.net .

like image 101
Josh Holbrook Avatar answered Feb 26 '23 22:02

Josh Holbrook