I'm trying to integrate supertokens with a pre-exi...
# support-questions-legacy
j
I'm trying to integrate supertokens with a pre-existing nodejs express server, and can't get SessionRequest to load. Any ideas? [1] import { SessionRequest } from "supertokens-node/framework/express/index.js"; [1] ^^^^^^^^^^^^^^ [1] SyntaxError: Named export 'SessionRequest' not found. The requested module 'supertokens-node/framework/express/index.js' is a CommonJS module, which may not support all module.exports as named exports. [1] CommonJS modules can always be imported via the default export, for example using:
r
Hey @johnmeloy this is a types import TS projects. You don’t need it since you are not using TS
6 Views