Skip to content
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

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

Open
sandipmgiri opened this issue Aug 2, 2018 · 0 comments
Open

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

sandipmgiri opened this issue Aug 2, 2018 · 0 comments

Comments

@sandipmgiri
Copy link

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

$ npm install
$ npm test
`> invariant@2.2.4 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!

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

No branches or pull requests

1 participant