Answer the question
In order to leave comments, you need to log in
Node.js and Hard Drive Partitions
mongoose = require('mongoose'); // works fine!
mongoose = require('mongoose'); // module not found!
Ubuntu 11.04
Answer the question
In order to leave comments, you need to log in
I have several partitions - and everything works fine.
You may not have had a node_modules folder on the second partition.
try adding library directories
require.paths.push('/media/otherpartition');
require.paths.push(__dirname+'/library');
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question