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
tsc
node_modules/@types/hapi__hapi/index.d.ts(514,32): error TS2709: Cannot use namespace 'Boom' as a type.
node_modules/@types/hapi__hapi/index.d.ts(4050,18): error TS2709: Cannot use namespace 'Boom' as a type.
src/index.ts(7,10): error TS2305: Module '"../node_modules/@hapi/boom/lib"' has no exported member 'serverUnavailable'.
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! nodejs@0.1.0 seed: tsc
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the nodejs@0.1.0 tsc script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! nodejs@0.1.0 build:development: tsc && pm2 start ecosystem.config.js --env development --no-daemon
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the nodejs-server-app-vanilla@0.1.0 build:development script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
Please help...
The text was updated successfully, but these errors were encountered:
Hi, i've got the same problem, it's because @hapi/hapi depends on @hapi/boom that now contains types definitions and @types/hapi__hapi depends on @types/hapi__boom that contains different definitions that are not compatible with ones contained in @hapi/boom
Removed types from 7.x. Will put them back on 8.x. If you have types issues between the new boom types and external DT types, don't upgrade to v8 until the full hapi ecosystem is properly upgraded its types and they are all in sync.
This thread has been automatically locked due to inactivity. Please open a new issue for related bugs or questions following the new issue template instructions.
lockbot
locked as resolved and limited conversation to collaborators
Jan 9, 2020
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Uh oh!
There was an error while loading. Please reload this page.
Hi,
I got this error three days ago, before that days everythings is ok. Actually I didn't yet use Boom, my dependencies:
And this the detailed error:
Please help...
The text was updated successfully, but these errors were encountered: