2

trying to set an environment variable in meteor command line on windows fails. e.g JASMINE_BROWSER=PhantomJS meteor [options] returns

'JASMINE_BROWSER' is not recognized as an internal or external command,
operable program or batch file.

please how can one set environment variables in meteor command line?

1
  • I don't remember how to do this, but it's not a problem specific to meteor. Google how to set environment variables on Windows and you'll get an answer Commented Apr 11, 2015 at 17:03

2 Answers 2

3

use SET e.g. SET JASMINE_BROWSER=PhantomJS meteor [options]

Sign up to request clarification or add additional context in comments.

Comments

0

You can also use cross-env:

npm i -g cross-env

cross-env JASMINE_BROWSER=PhantomJS meteor

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.