-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Open
Labels
bugSomething isn't workingSomething isn't workingtriagedFor maintainers: This issue has been triaged by a Pipedream employeeFor maintainers: This issue has been triaged by a Pipedream employee
Description
Describe the bug
Creating a new connection to E2B fails with Error [ERR_REQUIRE_ESM]: require() of ES Module, when attempting to test connection.
To Reproduce
Steps to reproduce the behavior:
- Go to Pipedream workflow builder, in a code step add the E2B "Run any node.js code API" action and configure by adding a new one using E2B API Key.
- After enterting your API Key, click on 'Test connection'
- See error
Expected behavior
Test connection runs succesfully.
Screenshots
Additional context
When the component development team addressed fix of the E2B run_query action, it was found that pinning the EB2 library will fix that action issue. The test request of the E2B app uses the same library, pinning it fixes it too.
Here is an appslug for repurposing showing the test request using the pineed library
Essentially this change is about updating line 2 of component scaffolding section to
import { Sandbox } from '@e2b/code-interpreter@1.0.3';
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingtriagedFor maintainers: This issue has been triaged by a Pipedream employeeFor maintainers: This issue has been triaged by a Pipedream employee
Type
Projects
Status
Backlog