Skip to content
This repository has been archived by the owner on Jun 19, 2019. It is now read-only.

Failing npm test on Windows 8.1 #82

Open
coreybutler opened this issue Mar 1, 2014 · 1 comment
Open

Failing npm test on Windows 8.1 #82

coreybutler opened this issue Mar 1, 2014 · 1 comment

Comments

@coreybutler
Copy link
Contributor

This doesn't actually affect me, but while troubleshooting other issues, I ran npm test on my Windows 8.1 box, which had several failures... thought you'd like to know:

C:\Users\Corey\Documents\workspace\NGN\Library\ngn\node_modules\wrench>npm test

> [email protected] test C:\Users\Corey\Documents\workspace\NGN\Library\ngn\node_modules\wrench
> nodeunit tests/runner.js


runner.js
✔ group_mkdir - test_mkdirSyncRecursive
✔ group_readdir - test_readdirSyncRecursive
✔ group_readdir - test_readdirRecursive
✔ group_readdir - test_readdirRecursiveWithNonExistentDirectory
✔ group_copydir - test_copyDirSyncRecursiveWithoutOptions
✔ group_copydir - test_copyDirSyncRecursiveHidden
✔ group_copydir - test_copyDirSyncRecursiveShown
✖ group_copydir - test_copyDirSyncRecursiveInflate

AssertionError: [ 'test' ] deepEqual [ '.hidden', 'bar.txt', 'test', '.hidden\\dolor.md' ]
    at Object.deepEqual (C:\Users\Corey\Documents\workspace\NGN\Library\ngn\node_modules\wrench\node_modul
    at checkResultInflate (C:\Users\Corey\Documents\workspace\NGN\Library\ngn\node_modules\wrench\tests\co
    at Object.module.exports.testCase.test_copyDirSyncRecursiveInflate (C:\Users\Corey\Documents\workspace
_unix.js:146:9)
    at Object.<anonymous> (C:\Users\Corey\Documents\workspace\NGN\Library\ngn\node_modules\wrench\node_mod
    at Object.<anonymous> (C:\Users\Corey\Documents\workspace\NGN\Library\ngn\node_modules\wrench\node_mod
    at C:\Users\Corey\Documents\workspace\NGN\Library\ngn\node_modules\wrench\node_modules\nodeunit\lib\co
    at Object.exports.runTest (C:\Users\Corey\Documents\workspace\NGN\Library\ngn\node_modules\wrench\node
    at C:\Users\Corey\Documents\workspace\NGN\Library\ngn\node_modules\wrench\node_modules\nodeunit\lib\co
    at C:\Users\Corey\Documents\workspace\NGN\Library\ngn\node_modules\wrench\node_modules\nodeunit\deps\a
    at iterate (C:\Users\Corey\Documents\workspace\NGN\Library\ngn\node_modules\wrench\node_modules\nodeun

Error: ENOENT, no such file or directory 'C:\Users\Corey\Documents\workspace\NGN\Library\ngn\node_modules\
    at Object.fs.lstatSync (fs.js:679:18)
    at checkResultInflate (C:\Users\Corey\Documents\workspace\NGN\Library\ngn\node_modules\wrench\tests\co
    at Object.module.exports.testCase.test_copyDirSyncRecursiveInflate (C:\Users\Corey\Documents\workspace
_unix.js:146:9)
    at Object.<anonymous> (C:\Users\Corey\Documents\workspace\NGN\Library\ngn\node_modules\wrench\node_mod
    at Object.<anonymous> (C:\Users\Corey\Documents\workspace\NGN\Library\ngn\node_modules\wrench\node_mod
    at C:\Users\Corey\Documents\workspace\NGN\Library\ngn\node_modules\wrench\node_modules\nodeunit\lib\co
    at Object.exports.runTest (C:\Users\Corey\Documents\workspace\NGN\Library\ngn\node_modules\wrench\node
    at C:\Users\Corey\Documents\workspace\NGN\Library\ngn\node_modules\wrench\node_modules\nodeunit\lib\co
    at C:\Users\Corey\Documents\workspace\NGN\Library\ngn\node_modules\wrench\node_modules\nodeunit\deps\a
    at iterate (C:\Users\Corey\Documents\workspace\NGN\Library\ngn\node_modules\wrench\node_modules\nodeun

✖ group_copydir - test_copyDirSyncRecursiveInflateAbsoluteSymlinks

AssertionError:
[ 'absolute-bar.txt', 'test' ]
deepEqual
[ '.hidden',
  'absolute-bar.txt',
  'bar.txt',
  'test',
  '.hidden\\dolor.md' ]
    at Object.deepEqual (C:\Users\Corey\Documents\workspace\NGN\Library\ngn\node_modules\wrench\node_modul
    at checkResultInflateAbsolute (C:\Users\Corey\Documents\workspace\NGN\Library\ngn\node_modules\wrench\
    at Object.module.exports.testCase.test_copyDirSyncRecursiveInflateAbsoluteSymlinks (C:\Users\Corey\Doc
ests\copydirsync_unix.js:166:9)
    at Object.<anonymous> (C:\Users\Corey\Documents\workspace\NGN\Library\ngn\node_modules\wrench\node_mod
    at Object.<anonymous> (C:\Users\Corey\Documents\workspace\NGN\Library\ngn\node_modules\wrench\node_mod
    at C:\Users\Corey\Documents\workspace\NGN\Library\ngn\node_modules\wrench\node_modules\nodeunit\lib\co
    at Object.exports.runTest (C:\Users\Corey\Documents\workspace\NGN\Library\ngn\node_modules\wrench\node
    at C:\Users\Corey\Documents\workspace\NGN\Library\ngn\node_modules\wrench\node_modules\nodeunit\lib\co
    at C:\Users\Corey\Documents\workspace\NGN\Library\ngn\node_modules\wrench\node_modules\nodeunit\deps\a
    at iterate (C:\Users\Corey\Documents\workspace\NGN\Library\ngn\node_modules\wrench\node_modules\nodeun

Error: ENOENT, no such file or directory 'C:\Users\Corey\Documents\workspace\NGN\Library\ngn\node_modules\
    at Object.fs.lstatSync (fs.js:679:18)
    at checkResultInflateAbsolute (C:\Users\Corey\Documents\workspace\NGN\Library\ngn\node_modules\wrench\
    at Object.module.exports.testCase.test_copyDirSyncRecursiveInflateAbsoluteSymlinks (C:\Users\Corey\Doc
ests\copydirsync_unix.js:166:9)
    at Object.<anonymous> (C:\Users\Corey\Documents\workspace\NGN\Library\ngn\node_modules\wrench\node_mod
    at Object.<anonymous> (C:\Users\Corey\Documents\workspace\NGN\Library\ngn\node_modules\wrench\node_mod
    at C:\Users\Corey\Documents\workspace\NGN\Library\ngn\node_modules\wrench\node_modules\nodeunit\lib\co
    at Object.exports.runTest (C:\Users\Corey\Documents\workspace\NGN\Library\ngn\node_modules\wrench\node
    at C:\Users\Corey\Documents\workspace\NGN\Library\ngn\node_modules\wrench\node_modules\nodeunit\lib\co
    at C:\Users\Corey\Documents\workspace\NGN\Library\ngn\node_modules\wrench\node_modules\nodeunit\deps\a
    at iterate (C:\Users\Corey\Documents\workspace\NGN\Library\ngn\node_modules\wrench\node_modules\nodeun

✖ group_copydir - test_copyDirSyncRecursiveDontInflate

AssertionError: [ 'absolute-bar.txt', 'test' ] deepEqual [ '.hidden', 'bar.txt', 'test', '.hidden\\dolor.m
    at Object.deepEqual (C:\Users\Corey\Documents\workspace\NGN\Library\ngn\node_modules\wrench\node_modul
    at checkResultDontInflate (C:\Users\Corey\Documents\workspace\NGN\Library\ngn\node_modules\wrench\test
    at Object.module.exports.testCase.test_copyDirSyncRecursiveDontInflate (C:\Users\Corey\Documents\works
sync_unix.js:183:9)
    at Object.<anonymous> (C:\Users\Corey\Documents\workspace\NGN\Library\ngn\node_modules\wrench\node_mod
    at Object.<anonymous> (C:\Users\Corey\Documents\workspace\NGN\Library\ngn\node_modules\wrench\node_mod
    at C:\Users\Corey\Documents\workspace\NGN\Library\ngn\node_modules\wrench\node_modules\nodeunit\lib\co
    at Object.exports.runTest (C:\Users\Corey\Documents\workspace\NGN\Library\ngn\node_modules\wrench\node
    at C:\Users\Corey\Documents\workspace\NGN\Library\ngn\node_modules\wrench\node_modules\nodeunit\lib\co
    at C:\Users\Corey\Documents\workspace\NGN\Library\ngn\node_modules\wrench\node_modules\nodeunit\deps\a
    at iterate (C:\Users\Corey\Documents\workspace\NGN\Library\ngn\node_modules\wrench\node_modules\nodeun

Error: ENOENT, no such file or directory 'C:\Users\Corey\Documents\workspace\NGN\Library\ngn\node_modules\
    at Object.fs.lstatSync (fs.js:679:18)
    at checkResultDontInflate (C:\Users\Corey\Documents\workspace\NGN\Library\ngn\node_modules\wrench\test
    at Object.module.exports.testCase.test_copyDirSyncRecursiveDontInflate (C:\Users\Corey\Documents\works
sync_unix.js:183:9)
    at Object.<anonymous> (C:\Users\Corey\Documents\workspace\NGN\Library\ngn\node_modules\wrench\node_mod
    at Object.<anonymous> (C:\Users\Corey\Documents\workspace\NGN\Library\ngn\node_modules\wrench\node_mod
    at C:\Users\Corey\Documents\workspace\NGN\Library\ngn\node_modules\wrench\node_modules\nodeunit\lib\co
    at Object.exports.runTest (C:\Users\Corey\Documents\workspace\NGN\Library\ngn\node_modules\wrench\node
    at C:\Users\Corey\Documents\workspace\NGN\Library\ngn\node_modules\wrench\node_modules\nodeunit\lib\co
    at C:\Users\Corey\Documents\workspace\NGN\Library\ngn\node_modules\wrench\node_modules\nodeunit\deps\a
    at iterate (C:\Users\Corey\Documents\workspace\NGN\Library\ngn\node_modules\wrench\node_modules\nodeun

✔ group_copydir - test_copyDirSyncRecursivePreserveFiles
✔ group_copydir - test_copyDirSyncRecursiveOverwriteFiles
✔ group_rmdir - test_rmdirSyncRecursive
✔ group_rmdir - test_rmdirSyncRecursiveFromRoot

FAILURES: 6/45 assertions failed (475ms)
npm ERR! Test failed.  See above for more details.
npm ERR! not ok code 0

C:\Users\Corey\Documents\workspace\NGN\Library\ngn\node_modules\wrench>
@saintedlama
Copy link

Same situation here on my windows 7 box

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants