Untitled
unknown
text
2 years ago
3.9 kB
4
Indexable
Never
/home/yohann/.nvm/versions/node/v18.8.0/bin/node /home/yohann/.nvm/versions/node/v18.8.0/lib/node_modules/npm/bin/npx-cli.js --yes --package @tsed/cli tsed init --package-manager=npm --project-name=untitled3 --features=graphql,typeorm,swagger,passportjs,socketio,testing,jest,linter,eslint,prettier --arch=default --convention=default --platform=express --skip-prompt . ↓ Write RC files [SKIPPED] ✔ Install plugins ⠴ Load plugins ◼ Install plugins dependencies [15:02:05] ✔ @tsed/cli-plugin-eslint module loaded ↓ Write RC files [SKIPPED] ✔ Install plugins ✔ Load plugins ✔ Install plugins dependencies ✔ Generate project files ✔ Generate files for eslint ✔ Add dependencies ✔ Generate files for jest ✔ Generate files ✔ Install dependencies ↓ Add husky prepare task [SKIPPED] ✖ Cannot read properties of undefined (reading 'pipe') TypeError: Cannot read properties of undefined (reading 'pipe') at CliExeca.run (/home/yohann/.npm/_npx/8fd6f229e097057e/node_modules/@tsed/cli-core/lib/cjs/services/CliExeca.js:22:79) at ProjectPackageJson.runScript (/home/yohann/.npm/_npx/8fd6f229e097057e/node_modules/@tsed/cli-core/lib/cjs/services/ProjectPackageJson.js:290:30) at Task.task (/home/yohann/.npm/_npx/8fd6f229e097057e/node_modules/@tsed/cli/lib/cjs/commands/init/InitCmd.js:168:45) at Task.run (/home/yohann/.npm/_npx/8fd6f229e097057e/node_modules/listr2/dist/index.cjs:979:35) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) { name: 'CLI_ERROR', cli: CliCore { injector: [Getter], cliService: [Getter] }, origin: TypeError: Cannot read properties of undefined (reading 'pipe') at CliExeca.run (/home/yohann/.npm/_npx/8fd6f229e097057e/node_modules/@tsed/cli-core/lib/cjs/services/CliExeca.js:22:79) at ProjectPackageJson.runScript (/home/yohann/.npm/_npx/8fd6f229e097057e/node_modules/@tsed/cli-core/lib/cjs/services/ProjectPackageJson.js:290:30) at Task.task (/home/yohann/.npm/_npx/8fd6f229e097057e/node_modules/@tsed/cli/lib/cjs/commands/init/InitCmd.js:168:45) at Task.run (/home/yohann/.npm/_npx/8fd6f229e097057e/node_modules/listr2/dist/index.cjs:979:35) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) } node:internal/errors:484 ErrorCaptureStackTrace(err); ^ TypeError [ERR_INVALID_ARG_TYPE]: Command failed with ERR_INVALID_ARG_TYPE: npm run barrels The "file" argument must be of type string. Received an instance of Array at new NodeError (node:internal/errors:393:5) at validateString (node:internal/validators:161:11) at normalizeSpawnArguments (node:child_process:538:3) at Object.spawn (node:child_process:736:13) at CliExeca.execa [as raw] (/home/yohann/.npm/_npx/8fd6f229e097057e/node_modules/execa/index.js:83:26) at CliExeca.run (/home/yohann/.npm/_npx/8fd6f229e097057e/node_modules/@tsed/cli-core/lib/cjs/services/CliExeca.js:21:25) at ProjectPackageJson.runScript (/home/yohann/.npm/_npx/8fd6f229e097057e/node_modules/@tsed/cli-core/lib/cjs/services/ProjectPackageJson.js:290:30) at Task.task (/home/yohann/.npm/_npx/8fd6f229e097057e/node_modules/@tsed/cli/lib/cjs/commands/init/InitCmd.js:168:45) at Task.run (/home/yohann/.npm/_npx/8fd6f229e097057e/node_modules/listr2/dist/index.cjs:979:35) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) { code: 'ERR_INVALID_ARG_TYPE', originalMessage: 'The "file" argument must be of type string. Received an instance of Array', shortMessage: 'Command failed with ERR_INVALID_ARG_TYPE: npm run barrels\n' + 'The "file" argument must be of type string. Received an instance of Array', command: 'npm run barrels', escapedCommand: 'npm run barrels', exitCode: undefined, signal: undefined, signalDescription: undefined, stdout: '', stderr: '', all: '', failed: true, timedOut: false, isCanceled: false, killed: false }