atom / apm

Atom Package Manager
https://atom.io/packages
MIT License
1.27k stars 297 forks source link

npm test fails #305

Open mark-hahn opened 9 years ago

mark-hahn commented 9 years ago

Windows 8.1 apm 0.137.0 npm 2.3.0 node 0.10.35 python 2.7.9 git 1.9.5.msysgit.0 visual studio 2013


C:\Users\Administrator\.atom\dev\apm>npm test

> atom-package-manager@0.139.0 test C:\Users\Administrator\.atom\dev\apm
> grunt test

Running "clean" task

Running "coffee:glob_to_multiple" (coffee) task
>> 38 files created.

Running "coffeelint:src" (coffeelint) task
>> 38 files lint free.

Running "coffeelint:test" (coffeelint) task
>> 20 files lint free.

Running "coffeelint:gruntfile" (coffeelint) task
>> 1 file lint free.

Running "shell:test" (shell) task
..........................FFFF.FFF.FF..............F....F.F......................

apm install
  when installing an atom package
    when a package name is specified
      when the package is already in the cache
        it installs it from the cache
          Expected false to be truthy. (..\..\..\..\..\..\Administrator\.atom\dev\apm\spec\install-spec.coffee:113:83)
          Expected '
gyp WARN install got an error, rolling back install
gyp ERR! install error
gyp ERR! stack Error: node.lib local checksum 49b20743ba952c93470f0e8489c2a6f1f2d979c9cbe6937f34d6ef9e23885e1d not match
 remote undefined
gyp ERR! stack     at deref (C:\Users\Administrator\.atom\dev\apm\node_modules\npm\node_modules\node-gyp\lib\install.js:
299:20)
gyp ERR! stack     at Request.<anonymous> (C:\Users\Administrator\.atom\dev\apm\node_modules\npm\node_modules\node-gyp\l
ib\install.js:409:24)
gyp ERR! stack     at Request.emit (events.js:129:20)
gyp ERR! stack     at IncomingMessage.<anonymous> (C:\Users\Administrator\.atom\dev\apm\node_modules\npm\node_modules\re
quest\request.js:1187:12)
gyp ERR! stack     at IncomingMessage.emit (events.js:129:20)
gyp ERR! stack     at _stream_readable.js:908:16
gyp ERR! stack     at process._tickCallback (node.js:355:11)
gyp ERR! System Windows_NT 6.3.9600
gyp ERR! command "C:\\Program Files (x86)\\nodejs\\node.exe" "C:\\Users\\Administrator\\.atom\\dev\\apm\\node_modules\\n
pm\\node_modules\\node-gyp\\bin\\node-gyp.js" "install" "--target=v0.10.3" "--dist-url=http://localhost:3000/node" "--ar
ch=ia32" "--ensure" "--proxy=http://localhost:8888/"
gyp ERR! cwd C:\Users\ADMINI~1\AppData\Local\Temp\apm-home-dir-115117-4784-1m278h4
gyp ERR! node -v v0.12.0
gyp ERR! node-gyp -v v1.0.2
gyp ERR! not ok
' to be null. (..\..\..\..\..\..\Administrator\.atom\dev\apm\spec\install-spec.coffee:114:53)
          Expected false to be truthy. (..\..\..\..\..\..\Administrator\.atom\dev\apm\spec\install-spec.coffee:115:46)
          Expected false to be truthy. (..\..\..\..\..\..\Administrator\.atom\dev\apm\spec\install-spec.coffee:125:83)
          Expected '
gyp WARN install got an error, rolling back install
gyp ERR! install error
gyp ERR! stack Error: node.lib local checksum 49b20743ba952c93470f0e8489c2a6f1f2d979c9cbe6937f34d6ef9e23885e1d not match
 remote undefined
gyp ERR! stack     at deref (C:\Users\Administrator\.atom\dev\apm\node_modules\npm\node_modules\node-gyp\lib\install.js:
299:20)
gyp ERR! stack     at Request.<anonymous> (C:\Users\Administrator\.atom\dev\apm\node_modules\npm\node_modules\node-gyp\l
ib\install.js:409:24)
gyp ERR! stack     at Request.emit (events.js:129:20)
gyp ERR! stack     at IncomingMessage.<anonymous> (C:\Users\Administrator\.atom\dev\apm\node_modules\npm\node_modules\re
quest\request.js:1187:12)
gyp ERR! stack     at IncomingMessage.emit (events.js:129:20)
gyp ERR! stack     at _stream_readable.js:908:16
gyp ERR! stack     at process._tickCallback (node.js:355:11)
gyp ERR! System Windows_NT 6.3.9600
gyp ERR! command "C:\\Program Files (x86)\\nodejs\\node.exe" "C:\\Users\\Administrator\\.atom\\dev\\apm\\node_modules\\n
pm\\node_modules\\node-gyp\\bin\\node-gyp.js" "install" "--target=v0.10.3" "--dist-url=http://localhost:3000/node" "--ar
ch=ia32" "--ensure" "--proxy=http://localhost:8888/"
gyp ERR! cwd C:\Users\ADMINI~1\AppData\Local\Temp\apm-home-dir-115117-4784-1m278h4
gyp ERR! node -v v0.12.0
gyp ERR! node-gyp -v v1.0.2
gyp ERR! not ok
' to be null. (..\..\..\..\..\..\Administrator\.atom\dev\apm\spec\install-spec.coffee:126:53)
          Expected false to be truthy. (..\..\..\..\..\..\Administrator\.atom\dev\apm\spec\install-spec.coffee:127:46)
      when multiple releases are available
        it installs the latest compatible version
          Error: ENOENT, no such file or directory 'C:\Users\ADMINI~1\AppData\Local\Temp\apm-home-dir-115117-4784-1wcmhg
5\packages\test-module\package.json'
            Error: ENOENT, no such file or directory 'C:\Users\ADMINI~1\AppData\Local\Temp\apm-home-dir-115117-4784-1wcm
hg5\packages\test-module\package.json'
            at Error (native)
            at Object.fs.openSync (fs.js:502:18)
            at Object.fs.readFileSync (fs.js:354:15)
            at [object Object].<anonymous> (C:\Users\Administrator\.atom\dev\apm\spec\install-spec.coffee:141:34)
        it ignores the commit SHA suffix in the version
          Error: ENOENT, no such file or directory 'C:\Users\ADMINI~1\AppData\Local\Temp\apm-home-dir-115117-4784-1h5829
p\packages\test-module\package.json'
            Error: ENOENT, no such file or directory 'C:\Users\ADMINI~1\AppData\Local\Temp\apm-home-dir-115117-4784-1h58
29p\packages\test-module\package.json'
            at Error (native)
            at Object.fs.openSync (fs.js:502:18)
            at Object.fs.readFileSync (fs.js:354:15)
            at [object Object].<anonymous> (C:\Users\Administrator\.atom\dev\apm\spec\install-spec.coffee:155:34)
      it installs the package
        Expected true to be falsy. (..\..\..\..\..\..\Administrator\.atom\dev\apm\spec\install-spec.coffee:95:57)
        Expected false to be truthy. (..\..\..\..\..\..\Administrator\.atom\dev\apm\spec\install-spec.coffee:96:77)
        Expected false to be truthy. (..\..\..\..\..\..\Administrator\.atom\dev\apm\spec\install-spec.coffee:97:81)
        Expected '
gyp WARN install got an error, rolling back install
gyp ERR! install error
gyp ERR! stack Error: node.lib local checksum 49b20743ba952c93470f0e8489c2a6f1f2d979c9cbe6937f34d6ef9e23885e1d not match
 remote undefined
gyp ERR! stack     at deref (C:\Users\Administrator\.atom\dev\apm\node_modules\npm\node_modules\node-gyp\lib\install.js:
299:20)
gyp ERR! stack     at Request.<anonymous> (C:\Users\Administrator\.atom\dev\apm\node_modules\npm\node_modules\node-gyp\l
ib\install.js:409:24)
gyp ERR! stack     at Request.emit (events.js:129:20)
gyp ERR! stack     at IncomingMessage.<anonymous> (C:\Users\Administrator\.atom\dev\apm\node_modules\npm\node_modules\re
quest\request.js:1187:12)
gyp ERR! stack     at IncomingMessage.emit (events.js:129:20)
gyp ERR! stack     at _stream_readable.js:908:16
gyp ERR! stack     at process._tickCallback (node.js:355:11)
gyp ERR! System Windows_NT 6.3.9600
gyp ERR! command "C:\\Program Files (x86)\\nodejs\\node.exe" "C:\\Users\\Administrator\\.atom\\dev\\apm\\node_modules\\n
pm\\node_modules\\node-gyp\\bin\\node-gyp.js" "install" "--target=v0.10.3" "--dist-url=http://localhost:3000/node" "--ar
ch=ia32" "--ensure" "--proxy=http://localhost:8888/"
gyp ERR! cwd C:\Users\ADMINI~1\AppData\Local\Temp\apm-home-dir-115117-4784-cs1utr
gyp ERR! node -v v0.12.0
gyp ERR! node-gyp -v v1.0.2
gyp ERR! not ok
' to be null. (..\..\..\..\..\..\Administrator\.atom\dev\apm\spec\install-spec.coffee:98:51)
    when multiple package names are specified
      it installs all packages
        Expected false to be truthy. (..\..\..\..\..\..\Administrator\.atom\dev\apm\spec\install-spec.coffee:184:77)
        Expected false to be truthy. (..\..\..\..\..\..\Administrator\.atom\dev\apm\spec\install-spec.coffee:185:81)
        Expected false to be truthy. (..\..\..\..\..\..\Administrator\.atom\dev\apm\spec\install-spec.coffee:186:79)
        Expected false to be truthy. (..\..\..\..\..\..\Administrator\.atom\dev\apm\spec\install-spec.coffee:187:82)
        Expected '
gyp WARN install got an error, rolling back install
gyp ERR! install error
gyp ERR! stack Error: x64/node.lib local checksum 25d7639c423f94a1a930287b6c04cef45d8326d1b2ce375ee1ac275204533ad4 not m
atch remote undefined
gyp ERR! stack     at deref (C:\Users\Administrator\.atom\dev\apm\node_modules\npm\node_modules\node-gyp\lib\install.js:
299:20)
gyp ERR! stack     at Request.<anonymous> (C:\Users\Administrator\.atom\dev\apm\node_modules\npm\node_modules\node-gyp\l
ib\install.js:383:24)
gyp ERR! stack     at Request.emit (events.js:129:20)
gyp ERR! stack     at IncomingMessage.<anonymous> (C:\Users\Administrator\.atom\dev\apm\node_modules\npm\node_modules\re
quest\request.js:1187:12)
gyp ERR! stack     at IncomingMessage.emit (events.js:129:20)
gyp ERR! stack     at _stream_readable.js:908:16
gyp ERR! stack     at process._tickCallback (node.js:355:11)
gyp ERR! System Windows_NT 6.3.9600
gyp ERR! command "C:\\Program Files (x86)\\nodejs\\node.exe" "C:\\Users\\Administrator\\.atom\\dev\\apm\\node_modules\\n
pm\\node_modules\\node-gyp\\bin\\node-gyp.js" "install" "--target=v0.10.3" "--dist-url=http://localhost:3000/node" "--ar
ch=ia32" "--ensure" "--proxy=http://localhost:8888/"
gyp ERR! cwd C:\Users\ADMINI~1\AppData\Local\Temp\apm-home-dir-115117-4784-1c4hnli
gyp ERR! node -v v0.12.0
gyp ERR! node-gyp -v v1.0.2
gyp ERR! not ok
' to be null. (..\..\..\..\..\..\Administrator\.atom\dev\apm\spec\install-spec.coffee:188:51)
      it installs them in order and stops on the first failure
        Expected false to be truthy. (..\..\..\..\..\..\Administrator\.atom\dev\apm\spec\install-spec.coffee:201:77)
        Expected false to be truthy. (..\..\..\..\..\..\Administrator\.atom\dev\apm\spec\install-spec.coffee:202:81)
    when no path is specified
      it installs all dependent modules
        Expected false to be truthy. (..\..\..\..\..\..\Administrator\.atom\dev\apm\spec\install-spec.coffee:219:104)
        Expected false to be truthy. (..\..\..\..\..\..\Administrator\.atom\dev\apm\spec\install-spec.coffee:220:108)
        Expected '
gyp WARN install got an error, rolling back install
gyp ERR! install error
gyp ERR! stack Error: node.lib local checksum 49b20743ba952c93470f0e8489c2a6f1f2d979c9cbe6937f34d6ef9e23885e1d not match
 remote undefined
gyp ERR! stack     at deref (C:\Users\Administrator\.atom\dev\apm\node_modules\npm\node_modules\node-gyp\lib\install.js:
299:20)
gyp ERR! stack     at Request.<anonymous> (C:\Users\Administrator\.atom\dev\apm\node_modules\npm\node_modules\node-gyp\l
ib\install.js:409:24)
gyp ERR! stack     at Request.emit (events.js:129:20)
gyp ERR! stack     at IncomingMessage.<anonymous> (C:\Users\Administrator\.atom\dev\apm\node_modules\npm\node_modules\re
quest\request.js:1187:12)
gyp ERR! stack     at IncomingMessage.emit (events.js:129:20)
gyp ERR! stack     at _stream_readable.js:908:16
gyp ERR! stack     at process._tickCallback (node.js:355:11)
gyp ERR! System Windows_NT 6.3.9600
gyp ERR! command "C:\\Program Files (x86)\\nodejs\\node.exe" "C:\\Users\\Administrator\\.atom\\dev\\apm\\node_modules\\n
pm\\node_modules\\node-gyp\\bin\\node-gyp.js" "install" "--target=v0.10.3" "--dist-url=http://localhost:3000/node" "--ar
ch=ia32" "--ensure" "--proxy=http://localhost:8888/"
gyp ERR! cwd C:\Users\ADMINI~1\AppData\Local\Temp\apm-home-dir-115117-4784-o9ac0c
gyp ERR! node -v v0.12.0
gyp ERR! node-gyp -v v1.0.2
gyp ERR! not ok
' to be undefined. (..\..\..\..\..\..\Administrator\.atom\dev\apm\spec\install-spec.coffee:221:51)
    when the package contains symlinks
      it copies them correctly from the temp directory
        Expected false to be truthy. (..\..\..\..\..\..\Administrator\.atom\dev\apm\spec\install-spec.coffee:249:77)
        Expected false to be truthy. (..\..\..\..\..\..\Administrator\.atom\dev\apm\spec\install-spec.coffee:252:99)
    when a packages file is specified
      it installs all the packages listed in the file
        Expected false to be truthy. (..\..\..\..\..\..\Administrator\.atom\dev\apm\spec\install-spec.coffee:269:77)
        Expected false to be truthy. (..\..\..\..\..\..\Administrator\.atom\dev\apm\spec\install-spec.coffee:270:81)
        Expected false to be truthy. (..\..\..\..\..\..\Administrator\.atom\dev\apm\spec\install-spec.coffee:271:79)
        Expected false to be truthy. (..\..\..\..\..\..\Administrator\.atom\dev\apm\spec\install-spec.coffee:272:82)
        Expected '
gyp WARN install got an error, rolling back install
gyp ERR! install error
gyp ERR! stack Error: x64/node.lib local checksum 25d7639c423f94a1a930287b6c04cef45d8326d1b2ce375ee1ac275204533ad4 not m
atch remote undefined
gyp ERR! stack     at deref (C:\Users\Administrator\.atom\dev\apm\node_modules\npm\node_modules\node-gyp\lib\install.js:
299:20)
gyp ERR! stack     at Request.<anonymous> (C:\Users\Administrator\.atom\dev\apm\node_modules\npm\node_modules\node-gyp\l
ib\install.js:383:24)
gyp ERR! stack     at Request.emit (events.js:129:20)
gyp ERR! stack     at IncomingMessage.<anonymous> (C:\Users\Administrator\.atom\dev\apm\node_modules\npm\node_modules\re
quest\request.js:1187:12)
gyp ERR! stack     at IncomingMessage.emit (events.js:129:20)
gyp ERR! stack     at _stream_readable.js:908:16
gyp ERR! stack     at process._tickCallback (node.js:355:11)
gyp ERR! System Windows_NT 6.3.9600
gyp ERR! command "C:\\Program Files (x86)\\nodejs\\node.exe" "C:\\Users\\Administrator\\.atom\\dev\\apm\\node_modules\\n
pm\\node_modules\\node-gyp\\bin\\node-gyp.js" "install" "--target=v0.10.3" "--dist-url=http://localhost:3000/node" "--ar
ch=ia32" "--ensure" "--proxy=http://localhost:8888/"
gyp ERR! cwd C:\Users\ADMINI~1\AppData\Local\Temp\apm-home-dir-115117-4784-btnk03
gyp ERR! node -v v0.12.0
gyp ERR! node-gyp -v v1.0.2
gyp ERR! not ok
' to be null. (..\..\..\..\..\..\Administrator\.atom\dev\apm\spec\install-spec.coffee:273:51)
apm rebuild
  it rebuilds all modules
    Expected '
gyp WARN install got an error, rolling back install
gyp ERR! install error
gyp ERR! stack Error: node.lib local checksum 49b20743ba952c93470f0e8489c2a6f1f2d979c9cbe6937f34d6ef9e23885e1d not match
 remote undefined
gyp ERR! stack     at deref (C:\Users\Administrator\.atom\dev\apm\node_modules\npm\node_modules\node-gyp\lib\install.js:
299:20)
gyp ERR! stack     at Request.<anonymous> (C:\Users\Administrator\.atom\dev\apm\node_modules\npm\node_modules\node-gyp\l
ib\install.js:409:24)
gyp ERR! stack     at Request.emit (events.js:129:20)
gyp ERR! stack     at IncomingMessage.<anonymous> (C:\Users\Administrator\.atom\dev\apm\node_modules\npm\node_modules\re
quest\request.js:1187:12)
gyp ERR! stack     at IncomingMessage.emit (events.js:129:20)
gyp ERR! stack     at _stream_readable.js:908:16
gyp ERR! stack     at process._tickCallback (node.js:355:11)
gyp ERR! System Windows_NT 6.3.9600
gyp ERR! command "C:\\Program Files (x86)\\nodejs\\node.exe" "C:\\Users\\Administrator\\.atom\\dev\\apm\\node_modules\\n
pm\\node_modules\\node-gyp\\bin\\node-gyp.js" "install" "--target=v0.10.3" "--dist-url=http://localhost:3000/node" "--ar
ch=ia32" "--ensure" "--proxy=http://localhost:8888/"
gyp ERR! cwd C:\Users\ADMINI~1\AppData\Local\Temp\apm-home-dir-115117-4784-fcxeo8
gyp ERR! node -v v0.12.0
gyp ERR! node-gyp -v v1.0.2
gyp ERR! not ok
' to be undefined. (..\..\..\..\..\Administrator\.atom\dev\apm\spec\rebuild-spec.coffee:51:47)
apm stars
  when the install flag is specified
    it installs all of the stars
      Expected '
gyp WARN install got an error, rolling back install
gyp ERR! install error
gyp ERR! stack Error: node.lib local checksum 49b20743ba952c93470f0e8489c2a6f1f2d979c9cbe6937f34d6ef9e23885e1d not match
 remote undefined
gyp ERR! stack     at deref (C:\Users\Administrator\.atom\dev\apm\node_modules\npm\node_modules\node-gyp\lib\install.js:
299:20)
gyp ERR! stack     at Request.<anonymous> (C:\Users\Administrator\.atom\dev\apm\node_modules\npm\node_modules\node-gyp\l
ib\install.js:409:24)
gyp ERR! stack     at Request.emit (events.js:129:20)
gyp ERR! stack     at IncomingMessage.<anonymous> (C:\Users\Administrator\.atom\dev\apm\node_modules\npm\node_modules\re
quest\request.js:1187:12)
gyp ERR! stack     at IncomingMessage.emit (events.js:129:20)
gyp ERR! stack     at _stream_readable.js:908:16
gyp ERR! stack     at process._tickCallback (node.js:355:11)
gyp ERR! System Windows_NT 6.3.9600
gyp ERR! command "C:\\Program Files (x86)\\nodejs\\node.exe" "C:\\Users\\Administrator\\.atom\\dev\\apm\\node_modules\\n
pm\\node_modules\\node-gyp\\bin\\node-gyp.js" "install" "--target=v0.10.3" "--dist-url=http://localhost:3000/node" "--ar
ch=ia32" "--ensure" "--proxy=http://localhost:8888/"
gyp ERR! cwd C:\Users\ADMINI~1\AppData\Local\Temp\apm-home-dir-115117-4784-bpbw0a
gyp ERR! node -v v0.12.0
gyp ERR! node-gyp -v v1.0.2
gyp ERR! not ok
' to be null. (..\..\..\..\..\Administrator\.atom\dev\apm\spec\stars-spec.coffee:82:49)
      Expected false to be truthy. (..\..\..\..\..\Administrator\.atom\dev\apm\spec\stars-spec.coffee:83:75)
      Expected false to be truthy. (..\..\..\..\..\Administrator\.atom\dev\apm\spec\stars-spec.coffee:84:79)
apm test
  it calls atom to test
    Expected -1 not to be -1. (..\..\..\..\..\Administrator\.atom\dev\apm\spec\test-spec.coffee:27:73)
    Expected -1 not to be -1. (..\..\..\..\..\Administrator\.atom\dev\apm\spec\test-spec.coffee:28:74)
    Expected -1 not to be -1. (..\..\..\..\..\Administrator\.atom\dev\apm\spec\test-spec.coffee:29:75)

Finished in 55.634 seconds
81 tests, 247 assertions, 36 failures, 0 skipped

Warning: Command failed: C:\WINDOWS\system32\cmd.exe /s /c "node node_modules/jasmine-focused/bin/jasmine-focused --capt
ureExceptions --coffee spec/"
 Use --force to continue.

Aborted due to warnings.
npm ERR! Test failed.  See above for more details.

C:\Users\Administrator\.atom\dev\apm>
mark-hahn commented 9 years ago

BTW, I am trying to get APM in dev mode so I can do a PR to be able to globally disable colors in my terminal. Two questions ...