-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Upgrade to Node.js 0.10 #400
Comments
testacular 0.5.9 breaks in Node 0.10, but 0.6.0 is fine. |
Stable is passing all tests on 0.8 and 0.10 locally. On Travis there seems to be an issue with ws. I've opened an issue websockets/ws#166. |
We've also had troubles with Testacular not working on 0.10 this morning and had to revert to an older version of Node. Backwards compatibility would be much appreciated. |
@mbielski What problems did you experience and what OS/Testacular version were you using? |
I'm using testacular 0.6.0 with node v0.10.0 and when I run the command:
It prompts for the testing framework I want to use and I can tab through them, but enter does not work and I can't proceed with configuration. |
I need to look into this, I would be very surprised if it just worked. We should freeze the engine version as well. I hope we can fix it to work with 0.10 in the next canary and set engine to 0.6-0.8. |
We had W7-64, Node 0.10, and Testacular 0.6. It never ran, gave us some error about not being able to call a method "kill" of undefined. Sorry, I should have documented that better. |
@johnkelly Ctrl+Enter now works like pressing enter used to (only in lists of selectable options like test framework - plain text fields still accept enter) |
Karma 0.8.0, Node v0.10.0, Mac 10.7 - I had the same problem as johnkelly - I ran |
Found another strange issue when running Angular e2e suite. On Node 0.10.0 / karma 0.8.0 karma hangs after running 8 tests. Doesn't matter which 8. Rollback node to 0.8.22 and karma 0.8 works again. |
The enter issue should be fixed by 0b5b385 |
Has to do with these changes (introduced in 0.9.9) https://github.com/joyent/node/blame/v0.10.1/lib/readline.js#L911-916 |
@dignifiedquire can you make sure all the fixes you did (regarding 0.10 compatibility) are merged in both stable and master ? Guys, are there any other issues with 0.10 ? Because I wanna cut both stable release (with couple of fixes) as well as canary (with the huge refactoring to plugins). So I wanna make sure these releases are already compatible with 0.10. |
Yes, our tests (Angular end2end) hang after any 8 tests run, only change is node version. Rollback to 0.8.22 and they don't hang. Anyone else seeing this? |
Can I see the project somewhere ? |
I have merged all changes into both branches. But I have no linux machine for testing here. On my mac everything passes. On Fri, Mar 29, 2013 at 8:00 PM, Dave Geddes notifications@github.com
|
Thanks @dignifiedquire |
Ok, I see the issue with e2e tests. It looks like some issue with the proxy, it's delaying the requests for over a minute. I will loook into it. |
Updating http-proxy to 0.10.0 fixed the issue. |
@vojtajina yep that fixed it, thx. |
I pushed stable release on Friday, which should be compatible with Node.js 0.10 and set up travis to run all the tests both on 0.8 and 0.10. So closing for now, please re-open if you find any more problems. |
Sorry, but there is still warning during installation: npm WARN engine chokidar@0.5.3: wanted: {"node":"~0.6.10 || 0.7 || 0.8 || 0.9"} (current: {"node":"v0.10.0","npm":"1.2.14"}) |
@vojtajina we need to cherrypick 7ad703c into stable to update all the dependencies for 0.10. |
This improves compatability with node 0.10. See #400.
Done. Also added both versions of log4js, so we don't need to release a new version when they fix it on their end. See #448 |
I intentionally didn't merge 7ad703c into stable. We need to rethink this whole dependencies mess... |
@vojtajina Oh :( Sorry yeah this is a big mess I'll revert it then for now. |
The dependency mess was not caused by you ;-) There are just too many variables in this matrix... I'm gonna take care of it now and push another stable release. |
OMG, this is crazy! I hacked the install script to install proper version of log4js (to workaround https://github.com/isaacs/npm/issues/3305), so Travis seems to be fine for both 0.8 and 0.10 now. Can anybody try installing karma on 0.8 and 0.10 node on Windows ? I'm about to push it to npm. |
Hi, this is what i have on Windows 7 x86, node 0.10 C:\Users\contact\AppData\Roaming\npm>npm uninstall testacular npm ERR! not a package C:\Users\contact\AppData\Local\Temp\npm-5596\136487733637 C:\Users\contact\AppData\Roaming\npm>karma --version PS: previously I had some problem with VCBuild.exe was not found, now its gone. |
By the way, sorry for spam, may be it can help. this happens when I run test.bat(karma start) D:\web\angular\angular-phonecat\scripts>test.bat module.js:340 |
Sorry, I though trying from master, before I publish it. Anyway, it's pushed to npm now, can you try it again ? Update node to 0.10.2 first - the error with callback you got is due to a bug in NPM that has been fixed in 0.10.2. The second error you sent was because the installation failed (so you don't have socket.io-client dependency). It should abort whole installation, but on Windows, I'm not surprised with anything. |
Hi, now there is no warning about version. Seems fix is ok. I've got next:
C:\Users\contact\AppData\Roaming\npm\node_modules\karma\node_modules\socket.io\n
events.js:72 npm ERR! System Windows_NT 6.1.7601 But seems it is bcause of problems with my environment. I will dig into it, thanks a lot for help! |
I have the same error as above: I think the error is in the install-log4js.js file, which uses the spawn function from child_process module to install the log4js dependency, which for some reason throws this error. I tested the spawn function outside the installation process and it throws the same error. The exec function from the same module works, don't know if it is a good replacement in the install-log4js.js file. |
I can confirm this error. I wonder if the error |
The reason why npm install is not working on windows took me a bit to track down for some reason even though I went though something similar yesterday... In the new hack script https://github.com/karma-runner/karma/blob/master/install-log4js.js the spawn calls will not work. To make them work in windows they would have to take the following form:
oddly though if they were made to be exec calls instead the cmd hack does not need to be used on a windows machine... On a side note, I am unable to run npm install if I pre-link node_modules/karma to .. prior - I have not figured out why it fails at that point yet. |
Can you try installing |
Hi! C:\Users\contact\AppData\Roaming\npm>karma --version Should I just close eyes on message about VCBuild.exe? Also when I run karma start (i am practicing on AngularJs tutorial by modifying testacular to karma) by test.bat(or test.sh via Git bush) I receive: INFO [karma]: Karma server started at http://localhost:9876/ Chrome was not started(when test.sh - also there are meaasges about ports 9876,9100 in use) Can it be problems of installtion or other issue? or my own problems? |
Now it works for me. Thank you. |
@vict-shevchenko sounds like it can't find chrome.exe, by default it tries It looks like Node 0.10 changed spawn to actually throw an exception rather then exit the process with error, if there's no file. |
@vict-shevchenko As for the |
THIS IS HIGH PRIORITY
If possible, we should keep compatability with 0.8
The text was updated successfully, but these errors were encountered: