-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
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
NPM test unknown error #4961
Comments
Thanks for your report @DaAwesomeP, will take a look at it. |
@PeterDaveHello is this |
@DaAwesomeP yep! |
The CI test passed in #4967. I see that that was using NodeJS. I was using io.js v2.3.3 and NPM v2.11.3. There must be an incompatible dependency (that needs to be updated) or some other change in io.js from NodeJS. |
Oh okay, we don't support iojs yet. |
I have no problem on Ubuntu 14.04.2 LTS 64bit with io.js v2.3.2/2.3.3/2.3.4 and npm v2.11.3/2.11.3/2.12.1 |
I have Windows 8.1 Pro x64 and I'm pretty sure Visual Studio Express 2013. What dependencies have native modules or haven't been updated fully in package.json? They're probably the problem.
|
@cdnjs/intern : @Amomo, @Piicksarn please test if you'll get the same problem in Windows, thanks. |
I haven't done much with CDNjs since I posted this issue a while ago, but I think that I still have a local copy of my fork in the same state if that's any use. |
I'm seeing this same issue on my computer using Windows 10 x64 v1511 OS Build 10586.63 When I add a var isValidPath = function(p) {
if (p !== null) { //don't allow parent dir access, or tricky paths
p = p.replace(/\/+/g, '/'); //dont penalize for consequtive path seperators
console.log( p, path.normalize(p) );
return p === path.normalize(p);
}
return false
}; I see this output: $ npm test
> cdnjs@1.0.0 test D:\Repos\cdnjs
> vows
to start, pass the "run" arg
··/dist/ \dist\
✗·/dist/ \dist\
✗··/dist/ \dist\
·· ····························
npmFileMap validation - simple
✗ This is a valid npm file map
» expected true,
got false (==) // auto-update-test.js:36
npmFileMap validation - arrays
✗ valid array of file maps
» expected true,
got false (==) // auto-update-test.js:72
✗ Broken » 35 honored ∙ 2 broken (0.025s)
npm ERR! Test failed. See above for more details. |
@Amomo please take a look. |
Closing for lack of activity. Feel free to open a new issue if needed |
I can't figure out what the problem is with my
package.json
. I get the following error when runningnpm test
:Here is my
package.json
:Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: