You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At writing time, this project doesn't seem to be compatible with Node.js v18. Reproduction:
use Node.js v18
try running npm test
bump into this outcome:
> somnus@8.3.2-rc.4 pretest
> npm run tslint
> somnus@8.3.2-rc.4 tslint
> tslint -c tslint.json 'src/**/*.ts'
> somnus@8.3.2-rc.4 test
> npm run test:src && npm run test:dist
> somnus@8.3.2-rc.4 test:src
> TARGET_DIST_BUILD=false npm run test:base
> somnus@8.3.2-rc.4 test:base
> mocha --require ts-node/register --file test/setup.js -R spec test/**/*.ts test/*.ts
test suite targeting source
TypeError: Cannot set property closed of #<Readable> which has only a getter
at patch (/workspaces/somnus/node_modules/restify/lib/request.js:848:30)
at Object.<anonymous> (/workspaces/somnus/node_modules/restify/lib/server.js:33:1)
at Module._compile (node:internal/modules/cjs/loader:1105:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:827:12)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/workspaces/somnus/node_modules/restify/lib/index.js:10:14)
at Module._compile (node:internal/modules/cjs/loader:1105:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:827:12)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/workspaces/somnus/src/somnus.ts:22:1)
at Module._compile (node:internal/modules/cjs/loader:1105:14)
at Module.m._compile (/workspaces/somnus/node_modules/ts-node/src/index.ts:858:23)
at Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
at Object.require.extensions.<computed> [as .ts] (/workspaces/somnus/node_modules/ts-node/src/index.ts:861:12)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:827:12)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/workspaces/somnus/test/setup.js:17:5)
at Module._compile (node:internal/modules/cjs/loader:1105:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:827:12)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.exports.requireOrImport (/workspaces/somnus/node_modules/mocha/lib/esm-utils.js:42:12)
at Object.exports.loadFilesAsync (/workspaces/somnus/node_modules/mocha/lib/esm-utils.js:55:34)
at Mocha.loadFilesAsync (/workspaces/somnus/node_modules/mocha/lib/mocha.js:473:19)
at singleRun (/workspaces/somnus/node_modules/mocha/lib/cli/run-helpers.js:125:15)
at exports.runMocha (/workspaces/somnus/node_modules/mocha/lib/cli/run-helpers.js:190:10)
at Object.exports.handler (/workspaces/somnus/node_modules/mocha/lib/cli/run.js:362:11)
at /workspaces/somnus/node_modules/yargs/build/index.cjs:443:71
The text was updated successfully, but these errors were encountered:
At writing time, this project doesn't seem to be compatible with Node.js v18. Reproduction:
npm test
The text was updated successfully, but these errors were encountered: