-
Notifications
You must be signed in to change notification settings - Fork 307
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Installing Intern using NPM #10
Comments
I think this is a good idea. I have an open pull request to make an updated Intern Grunt task part of this repository, so being able to distribute everything as a single package via NPM for world domination of JavaScript testing would be a good thing. +1 for distributing Intern via NPM regardless of the route we take with Grunt. |
I saw the Grunt Task PR, really awesome! can't wait to use it :) |
Yes, it is definitely planned to have this registered as an npm package. The install instructions will be updated when it is. |
There is now a registered npm package, but the documentation is not yet updated. |
Hooray! Thanks Colin! |
Awesome, was going to ask for this. However, when trying to install intern through NPM, I keep receiving this error... which is weird because the repo looks fine.
|
Do you have Git installed? |
Yeah that was my mistake, I fixed it already. I have git installed but cygwin couldn't reference it. |
So I'm confused. This is an open issue for milestone 1.1 and is still open, but intern appears to be available and installable via npm as version 1.0. But the "Using Intern with Grunt" page says:
... but loadNpmTasks() fails with Intern 1.0 currently on npm. So, what does it mean to support loadNpmTasks() with Intern 1.1 if that's not on npm yet? Was that documentation just jumping the gun on the release? I'm assuming that if I want to use Intern with Grunt right now, I can't use npm and I should just download via git and call loadTasks() pointing at the intern/grunt. Right? This stuff all looks pretty cool by the way, so thanks to all of you for working on this. |
Documentation is always updated to reflect the current state of development. Version numbers are put in the documentation so you know what’s supported or not. The copy of Intern currently available via npm exists to prevent package name squatting and to perform testing of installations via npm and is not yet an officially supported installation method. Official installation support via npm will first appear in 1.1. If you are using Grunt with Intern 1.0, you need to load the tasks as per the 1.0 instructions ( |
That makes sense. I'm still having trouble but I'll start a new issue to discuss it. |
Mega +1 |
We've discussed this a bit before with @csnover earlier.
Would adding Intern to NPM make the framework easier and more accessible to the users?
The text was updated successfully, but these errors were encountered: