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

It fails if the current path includes spaces #77

Open
ilg-ul opened this issue Sep 30, 2023 · 0 comments
Open

It fails if the current path includes spaces #77

ilg-ul opened this issue Sep 30, 2023 · 0 comments

Comments

@ilg-ul
Copy link

ilg-ul commented Sep 30, 2023

The reporter does not like paths with spaces (which are quite common on macOS):

ilg@wksi xpm-js.git % pwd
/Users/ilg/My Files/WKS Projects/xpack.github/npm-modules/xpm-js.git
> tap --timeout 300 --disable-coverage --allow-empty-coverage -R tap-mocha-reporter -r classic run "tests/tap/*.js"

/bin/sh: /Users/ilg/My: No such file or directory
node:events:491
      throw er; // Unhandled 'error' event
      ^

Error: write EPIPE
    at __node_internal_captureLargerStackTrace (node:internal/errors:478:5)
    at __node_internal_errnoException (node:internal/errors:608:12)
    at afterWriteDispatched (node:internal/stream_base_commons:160:15)
    at writeGeneric (node:internal/stream_base_commons:151:3)
    at Socket._writeGeneric (node:net:905:11)
    at Socket._write (node:net:917:8)
    at writeOrBuffer (node:internal/streams/writable:391:12)
    at _write (node:internal/streams/writable:332:10)
    at Socket.Writable.write (node:internal/streams/writable:336:10)
    at TAP.[emitData] (file:///Users/ilg/My%20Files/WKS%20Projects/xpack.github/npm-modules/xpm-js.git/node_modules/minipass/dist/mjs/index.js:790:24)
    at TAP.emit (file:///Users/ilg/My%20Files/WKS%20Projects/xpack.github/npm-modules/xpm-js.git/node_modules/minipass/dist/mjs/index.js:750:37)
    at TAP.emit (file:///Users/ilg/My%20Files/WKS%20Projects/xpack.github/npm-modules/xpm-js.git/node_modules/@tapjs/core/dist/esm/base.js:542:27)
    at TAP.write (file:///Users/ilg/My%20Files/WKS%20Projects/xpack.github/npm-modules/xpm-js.git/node_modules/minipass/dist/mjs/index.js:367:18)
    at TAP.write (file:///Users/ilg/My%20Files/WKS%20Projects/xpack.github/npm-modules/xpm-js.git/node_modules/@tapjs/core/dist/esm/base.js:443:22)
    at TAP.write (file:///Users/ilg/My%20Files/WKS%20Projects/xpack.github/npm-modules/xpm-js.git/node_modules/@tapjs/core/dist/esm/tap.js:184:22)
    at TAP.#online (file:///Users/ilg/My%20Files/WKS%20Projects/xpack.github/npm-modules/xpm-js.git/node_modules/@tapjs/core/dist/esm/base.js:463:21)
    at Parser.<anonymous> (file:///Users/ilg/My%20Files/WKS%20Projects/xpack.github/npm-modules/xpm-js.git/node_modules/@tapjs/core/dist/esm/base.js:292:49)
    at Parser.emit (node:events:513:28)
    at Parser.version (file:///Users/ilg/My%20Files/WKS%20Projects/xpack.github/npm-modules/xpm-js.git/node_modules/tap-parser/dist/esm/index.js:408:18)
    at Parser.parse (file:///Users/ilg/My%20Files/WKS%20Projects/xpack.github/npm-modules/xpm-js.git/node_modules/tap-parser/dist/esm/index.js:783:18)
    at Parser.write (file:///Users/ilg/My%20Files/WKS%20Projects/xpack.github/npm-modules/xpm-js.git/node_modules/tap-parser/dist/esm/index.js:316:18)
    at TAP.#process (file:///Users/ilg/My%20Files/WKS%20Projects/xpack.github/npm-modules/xpm-js.git/node_modules/@tapjs/core/dist/esm/test-base.js:652:29)
    at TAP.plan (file:///Users/ilg/My%20Files/WKS%20Projects/xpack.github/npm-modules/xpm-js.git/node_modules/@tapjs/core/dist/esm/test-base.js:279:26)
    at TAP.plan (file:///Users/ilg/My%20Files/WKS%20Projects/xpack.github/npm-modules/xpm-js.git/node_modules/@tapjs/test/test-built/dist/esm/index.js:55:23)
    at executeTestSuite (/Users/ilg/My Files/WKS Projects/xpack.github/npm-modules/xpm-js.git/node_modules/@tapjs/run/src/execute-test-suite.ts:137:7)
Emitted 'error' event on Socket instance at:
    at emitErrorNT (node:internal/streams/destroy:157:8)
    at emitErrorCloseNT (node:internal/streams/destroy:122:3)
    at processTicksAndRejections (node:internal/process/task_queues:83:21) {
  errno: -32,
  code: 'EPIPE',
  syscall: 'write'
}

 *  The terminal process "/bin/zsh '-l', '-c', 'npm run test-tap'" terminated with exit code: 1. 
 *  Terminal will be reused by tasks, press any key to close it. 
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