invariant icon indicating copy to clipboard operation
invariant copied to clipboard

not ok TypeError: "file" argument must be a non-empty string

Open sandipmgiri opened this issue 6 years ago • 0 comments

I could build "invariant" package successfully from master , however 1 test case is failing with error :

$ npm install
$ npm test
`> [email protected] test /root/invariant
> NODE_ENV=production tap test/*.js && NODE_ENV=development tap test/*.js

test/test.js ........................................ 11/12
  flow
  not ok TypeError: "file" argument must be a non-empty string
    at:
      file: child_process.js
      line: 381
      column: 11
      function: normalizeSpawnArguments
    test: flow
    message: 'TypeError: "file" argument must be a non-empty string'
    stack: |
      normalizeSpawnArguments (child_process.js:381:11)
      exports.spawn (child_process.js:494:38)
      exports.execFile (child_process.js:210:15)
      test/test.js:35:3
      Test.test (node_modules/tap/lib/test.js:411:27)
      Test._processQueue (node_modules/tap/lib/test.js:794:13)
      Test.<anonymous> (node_modules/tap/lib/test.js:401:10)

total ............................................... 11/12


  11 passing (425.672ms)
  1 failing

npm ERR! Test failed.  See above for more details.
`

$ npm --version 5.6.0 $ node --version v9.9.0

Currently I'm looking into this error , please let me know if this is a know issue.Thanks!

sandipmgiri avatar Aug 02 '18 14:08 sandipmgiri