lightning-viz / lightning

Data Visualization Server

Home Page:http://lightning-viz.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

unable to 'npm start' a local server on Windows 7 // Unix-style NODE_ENV variable assignment issue

micahstubbs opened this issue · comments

4-25-2015 1 01 27 am

this answer over at stackoverflow suggests that for Windows the command
NODE_ENV=development nodemon --watch app --watch public/js server js
should be something like
SET NODE_ENV=development nodemon --watch app --watch public/js server js

http://stackoverflow.com/questions/11928013/node-env-is-not-recognized-as-an-internal-or-external-command-operable-comman

4-25-2015 1 08 36 am

@micahstubbs are you able to run it without the NODE_ENV flag?

e.g. just

$ node server.js

as the most basic way to start it up?

result from running

$ node server.js

4-27-2015 9 30 25 pm

will try to resolve the ImageMagick dependency and report back

after installing ImageMagick ImageMagick-6.9.1-2-Q16-x64-dll.exe

I run

$ node server.js

and see

4-27-2015 9 35 31 pm

I do see Lightning running on localhost:3000

4-27-2015 9 37 04 pm

@micahstubbs it seems to be the git clone that is causing things to fail (we use git under the hood to fetch the visualizations remotely). I'm guessing if you go into "visualization types" you won't see anything.

Do windows users typically not have a git command on the command line? We use gift under the hood to handle the actual interaction with git commands

@mathisonian good question. On Windows I use Git Bash and and MinGW, which is a port of a Linux style environment and command line tools.

http://stackoverflow.com/questions/16757393/what-is-the-difference-between-git-bash-and-the-github-for-windows-shell