Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
micahstubbs opened this issue Apr 25, 2015 · 7 comments

Comments

@micahstubbs
Copy link

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 micahstubbs changed the title Unix-style NODE_ENV variable assignment on Windows unable to 'npm start' a local server on Windows 7 // Unix-style NODE_ENV variable assignment issue Apr 25, 2015
@micahstubbs
Copy link
Author

@mathisonian
Copy link
Member

@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?

@micahstubbs
Copy link
Author

result from running

$ node server.js

4-27-2015 9 30 25 pm

will try to resolve the ImageMagick dependency and report back

@micahstubbs
Copy link
Author

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

@micahstubbs
Copy link
Author

I do see Lightning running on localhost:3000

4-27-2015 9 37 04 pm

@mathisonian
Copy link
Member

@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

@micahstubbs
Copy link
Author

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants