jasmine is not recognized as an internal or external command, oprable program or batch file.

822 views
Skip to first unread message

sorin....@sinoptix.com

unread,
Jun 18, 2018, 3:30:46 PM6/18/18
to Jasmine
Hello everyone,

I am having this issue, after installing jasmine through the command line with npm install -g jasmine, when trying to use commands with jasmine, I get the error mentioned in the title.
I saw that the installation folder was separate from the one where nodejs is installed, but I also tried adding that said folder to the environment path, still to no avail.
If you could please help me find a solution I would be very grateful.

Thanks.

Hamdard Jasmin

unread,
Jun 20, 2018, 12:03:32 PM6/20/18
to jasmi...@googlegroups.com

--
You received this message because you are subscribed to the Google Groups "Jasmine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jasmine-js+unsubscribe@googlegroups.com.
To post to this group, send email to jasmi...@googlegroups.com.
Visit this group at https://groups.google.com/group/jasmine-js.
For more options, visit https://groups.google.com/d/optout.

Gregg Van Hove

unread,
Jun 20, 2018, 8:08:55 PM6/20/18
to jasmi...@googlegroups.com
Make sure your system is configured so that your globally installed npm packages will be available on your path. Jasmine itself isn't really in charge of where it is installed to.

Alternatively, you can opt to install it just for your project and run it out of the `node_modules` directory. You can also run it via npm scripts which should ensure it is properly available.

Hope this helps. Thanks for using Jasmine!

-Gregg

On Wed, Jun 20, 2018 at 9:03 AM Hamdard Jasmin <hamdar...@gmail.com> wrote:
On Wed, Jun 13, 2018 at 2:38 PM, <sorin....@sinoptix.com> wrote:
Hello everyone,

I am having this issue, after installing jasmine through the command line with npm install -g jasmine, when trying to use commands with jasmine, I get the error mentioned in the title.
I saw that the installation folder was separate from the one where nodejs is installed, but I also tried adding that said folder to the environment path, still to no avail.
If you could please help me find a solution I would be very grateful.

Thanks.

--
You received this message because you are subscribed to the Google Groups "Jasmine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jasmine-js+...@googlegroups.com.

To post to this group, send email to jasmi...@googlegroups.com.
Visit this group at https://groups.google.com/group/jasmine-js.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Jasmine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jasmine-js+...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages