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
Please only file issues here that you believe represent actual bugs or
feature requests for the Telnyx Node library.
If you're having general trouble with your Telnyx integration, please reach out
to support using the form at https://support.telnyx.com/ (preferred) or via
email to [email protected].
If you are reporting a bug, please include your Node version and the version of
the Telnyx Node library you're using, as well as any other details that may be
helpful in reproducing the problem.
Bug:
When using Node.js ESM ("type": "module"), imports inside node_modules/telnyx/dist/ (e.g., import { createTelnyx } from './telnyx') are missing the .js extension. This causes Node to throw:
Please only file issues here that you believe represent actual bugs or
feature requests for the Telnyx Node library.
If you're having general trouble with your Telnyx integration, please reach out
to support using the form at https://support.telnyx.com/ (preferred) or via
email to [email protected].
If you are reporting a bug, please include your Node version and the version of
the Telnyx Node library you're using, as well as any other details that may be
helpful in reproducing the problem.
Bug:
When using Node.js ESM ("type": "module"), imports inside node_modules/telnyx/dist/ (e.g., import { createTelnyx } from './telnyx') are missing the .js extension. This causes Node to throw:
Error [ERR_MODULE_NOT_FOUND]: Cannot find module '.../telnyx/dist/telnyx' ... Error [ERR_MODULE_NOT_FOUND]: Cannot find module '.../telnyx/dist/utils' ...
To Reproduce"
Set
"type": "module"
in package.json.Install the latest Telnyx version: npm install telnyx.
In your code, do:
Run in node v20.17.0+ env
The text was updated successfully, but these errors were encountered: