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

Error.captureStackTrace(this, exports.assert); #3003

Open
danzf opened this issue Nov 20, 2023 · 7 comments
Open

Error.captureStackTrace(this, exports.assert); #3003

danzf opened this issue Nov 20, 2023 · 7 comments
Labels
support Questions, discussions, and general support

Comments

@danzf
Copy link

danzf commented Nov 20, 2023

Runtime

node :v18.13.0 , npm :8.19.3

Runtime version

node :v18.13.0 , npm :8.19.3

Module version

"joi": "^17.11.0"

Used with

No response

Any other relevant information

node_modules/@hapi/hoek/lib/error.js:23
Error.captureStackTrace(this, exports.assert);
^
Error: Missing default value
at new module.exports (/user/node_modules/@hapi/hoek/lib/error.js:23:19)
at module.exports (/user/node_modules/@hapi/hoek/lib/assert.js:21:11)
at internals.Base._default (/user/node_modules/joi/lib/base.js:831:9)
at internals.Base.default (/user/node_modules/joi/lib/base.js:111:21)
at Object. (/user/src/modules/settings/entity/schema.ts:15:46)
at Module._compile (node:internal/modules/cjs/loader:1218:14)
at Module.m._compile (/user/node_modules/ts-node/src/index.ts:1618:23)
at Module._extensions..js (node:internal/modules/cjs/loader:1272:10)
at Object.require.extensions. [as .ts] (/user/node_modules/ts-node/src/index.ts:1621:12)
at Module.load (node:internal/modules/cjs/loader:1081:32)
[nodemon] app crashed - waiting for file changes before starting...

How can we help?

const some = 'properly formatted code example';
@danzf danzf added the support Questions, discussions, and general support label Nov 20, 2023
@Marsup
Copy link
Collaborator

Marsup commented Nov 20, 2023

Any code to reproduce this?

@danzf
Copy link
Author

danzf commented Nov 20, 2023 via email

@danzf
Copy link
Author

danzf commented Nov 20, 2023 via email

@danzf
Copy link
Author

danzf commented Nov 21, 2023 via email

@Nargonath
Copy link
Member

@danzf if you tried to submit an image, we cannot see it.

@danzf
Copy link
Author

danzf commented Nov 21, 2023

user@danz-2 i-site-service % pm run start: dev

microsite-service@1.0.0 start: dev
npx nodemon
[nodemon] 2.0.22
[nodemon] to restart at any time, enter
'rs'
[nodemon] watching path(s): src/**/* [nodemon] watching extensions: ts, js [nodemon] starting 'npx ts-node ./src/main.ts*
/Users/project/node_modules/@hapi/hoek/lib/error.js:23
Error.captureStackTrace(this, exports.assert);
Error: Missing default value
at new module. exports (/Users/project/node_modules/@hapi/hoek/lib/error.js:23:19)
at module.exports (/Users/project/node_modules/@hapi/hoek/lib/assert.js:21:11) at internals. Base._default (/Users/project/node_modules/joi/lib/base.js:831:9 at internals. Base.default (/Users/project/node_modules/joi/lib/base.js:111:21) at Object. (/Users/project/src/modules/settings/entity/schema.ts:15:46) at Module. _compile (node: internal/modules/cjs/loader: 1256:14)
at Module.._compile (/Users/project/node_modules/ts-node/src/index.ts:1618:23)
at Module._extensions..js (node: internal/modules/cjs/loader: 1310:10)
at Object. require. extensions. [as ts] (/Users/project/node_modules/ts-node/src/index.ts:1621:12)
at Module. load (node: internal/modules/cjs/loader: 1119:32)
[nodemon] app crashed - waiting for file changes before starting...

@Marsup
Copy link
Collaborator

Marsup commented Nov 21, 2023

Sorry but that doesn't really help, there's no reproducible code here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
support Questions, discussions, and general support
Projects
None yet
Development

No branches or pull requests

3 participants