Sunday, 9 April 2017

Node.js Start on windows

i need to test mi meteor app on WINDOWS, and build that on a simpler node.js app. on windows i need to run this an use the command

node main.js

but says Error: Must pass options.rootUrl or set ROOT_URL in the server environment

i try whit

ROOT_URL: http://127.0.0.1 node main.js

but says: ROOT_URL= : The term 'ROOT_URL=' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.



via Levan Lacroix

No comments:

Post a Comment