Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Windows - USB Install - Modules
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
MikeB_2012  
View profile   Translate to Translated (View Original)
 More options Aug 24 2012, 10:20 am
From: MikeB_2012 <majb2...@gmail.com>
Date: Fri, 24 Aug 2012 07:20:25 -0700 (PDT)
Local: Fri, Aug 24 2012 10:20 am
Subject: Windows - USB Install - Modules

I am trying to create a small app nodejs-based app that runs on a USB drive
(that will be inserted in to various Windows OS machines).   I have
successfully installed nodejs and couchdb on the drive and have tested some
basic database scripts.  I am now trying to make more advanced scripts and
so I have tried to make use of the various modules available for node.

The installation of modules seems to work seamlessly; npm install hasn't
failed at all.  My problem is, some modules seem to work and others throw
an error eg. 'Error: Cannot find module 'express''.  So, 'npm' and 'cradle'
work but 'coffee-script' and 'express' throw an error despite error free
installations.  Note that none of the installations is global (-g) because
that seems to default to an installation on a hard drive directory.  Also,
my initial scripts were in a subdirectory of the node directory, whereas
the more advanced scripts are not.  If the latter makes a difference, why?  
Do I have to, and is there a way to, make nodejs and its modules 'global'
on the USB drive?  

TIA for any advice/guidance.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dan Milon  
View profile  
 More options Aug 24 2012, 3:12 pm
From: Dan Milon <danmi...@gmail.com>
Date: Fri, 24 Aug 2012 22:12:32 +0300
Local: Fri, Aug 24 2012 3:12 pm
Subject: Re: [nodejs] Windows - USB Install - Modules
Since this is an application, and you are going to ship it to customers,
why not have node_modules pre installed on the usb drive?

On 08/24/2012 05:20 PM, MikeB_2012 wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Shizza M  
View profile  
 More options Sep 19 2012, 10:06 pm
From: Shizza M <sholto.m...@gmail.com>
Date: Wed, 19 Sep 2012 19:06:31 -0700 (PDT)
Local: Wed, Sep 19 2012 10:06 pm
Subject: Re: Windows - USB Install - Modules

Mike - is there any doco you can refer me to on how to install nodejs on
the USB drive?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Glenn Block  
View profile  
 More options Sep 26 2012, 4:44 am
From: Glenn Block <glenn.bl...@gmail.com>
Date: Wed, 26 Sep 2012 01:43:57 -0700
Local: Wed, Sep 26 2012 4:43 am
Subject: Re: [nodejs] Re: Windows - USB Install - Modules

All you should need to do is run npm ahead of time and then copy the app
including the node_modules folder.

Crate (https://gitcafe.com/hujs/) is a new project that we (Tim Caswell,
Jason Denizac and myself) worked on at hujs (http://hujs.org) which creates
a self-executing node app package.

It's a work in progress, but it sounds like it could be used for your
scenario.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Gustavo Machado  
View profile  
 More options Sep 26 2012, 2:56 pm
From: Gustavo Machado <machad...@gmail.com>
Date: Wed, 26 Sep 2012 15:55:31 -0300
Local: Wed, Sep 26 2012 2:55 pm
Subject: Re: [nodejs] Re: Windows - USB Install - Modules

Hi Glenn, neither of those two links seem to be working for me.

gus


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »