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
{{ message }}
This repository has been archived by the owner on Dec 15, 2023. It is now read-only.
I'm trying to use dts-gen for express but getting the Error below.
I really just want to extend the express.request.session interface.
Thanks!
Error: Most middleware (like bodyParser) is no longer bundled with Express and must be installed separately. Please see https://github.com/senchalabs/connect#middleware.
$ ./../../node_modules/.bin/dts-gen -m express
Unexpected crash! Please log a bug with the commandline you specified.
/***/***/***/***/***/node_modules/dts-gen/bin/lib/run.js:130
throw e;
^
Error: Most middleware (like bodyParser) is no longer bundled with Express and must be installed separately. Please see https://github.com/senchalabs/connect#middleware.
at Function.get (/***/***/***/***/***/node_modules/express/lib/express.js:108:13)
at getResult (/***/***/***/***/***/node_modules/dts-gen/bin/lib/index.js:148:47)
at getTopLevelDeclarations (/***/***/***/***/***/node_modules/dts-gen/bin/lib/index.js:123:17)
at Object.generateModuleDeclarationFile (/***/***/***/***/***/node_modules/dts-gen/bin/lib/index.js:49:19)
at Object.<anonymous> (/***/***/***/***/***/node_modules/dts-gen/bin/lib/run.js:57:24)
at Module._compile (module.js:660:30)
at Object.Module._extensions..js (module.js:671:10)
at Module.load (module.js:573:32)
at tryModuleLoad (module.js:513:12)
at Function.Module._load (module.js:505:3)
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I'm trying to use dts-gen for express but getting the Error below.
I really just want to extend the express.request.session interface.
Thanks!
my package.json dependencies:
to reproduce:
The text was updated successfully, but these errors were encountered: