N
Novu2mo ago
voidx

Novu API Error with Remix

Hi, I'm trying to setup Novu framework in a fresh Remix project created with this command: npx create-remix and following the Novu quick start guide for Remix, but the /api/novu endpoint throws an error:
Named export 'checkIsResponseError' not found. The requested module '@novu/shared' is a CommonJS module, which may not support all module.exports as named exports.
CommonJS modules can always be imported via the default export, for example using:

import pkg from '@novu/shared';
...
Named export 'checkIsResponseError' not found. The requested module '@novu/shared' is a CommonJS module, which may not support all module.exports as named exports.
CommonJS modules can always be imported via the default export, for example using:

import pkg from '@novu/shared';
...
I've also tried running on an older version: Remix 2.10.3 but the error persists. Looks to me it's a similar issue as https://discord.com/channels/895029566685462578/1311556906288152686
3 Replies
Pawan Jain
Pawan Jain2mo ago
@voidx Thanks for sharing, we are working on fixing this issue
khan_fe_dev
khan_fe_dev2mo ago
Any updates?
Pawan Jain
Pawan Jain2mo ago
@khan_fe_dev We are still working on this. I will keep you updated in this thread

Did you find this page helpful?