On Mar 26, 2016, at 12:47 AM, NodeNinja wrote: > On linux I installed sqlite3 > > npm install sqlite3 > > sqlite3 was installed in the home directory in a folder called "node_modules" > > however my server dir is different and from there I am unable to link to > sqlite3 unless I copy the "node_modules" folder into my server dir. > Is there a way to link the installed "sqlite3" so that its globally > accessibly from any directory? > > Thanks in advance.
Be in the root directory of your project when you run the "npm install sqlite3" command, so that it gets installed in the correct directory. You are meant to install separate copies of things for each project. You're not meant to link things. -- Job board: http://jobs.nodejs.org/ New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md Old group rules: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/3FB702D2-9BBC-4A45-8C91-4D48FB0D5983%40ryandesign.com. For more options, visit https://groups.google.com/d/optout.
