PipedreamHQ / PipedreamHQ/pipedream
[BUG] importing Nhost Javascript Client breaks Node.js code steps
- Dominant language
- JavaScript
- Stars
- 11.7k
- Forks
- 5.8k
- Avg merge
- 3d 10h
- Merged PRs (30d)
- 102
Description
**Describe the bug**
When attempting to import the `NhostClient` from NPM, the Pipedream code step breaks with a message:
`Code Error could not compute configurable props`
**To Reproduce**
Steps to reproduce the behavior:
1. Create a new Node.js code step
2. Attempt to import an version of the NHostClient
3. Test and observe error
```javascript
import { NhostClient } from '@nhost/nhost-js'
// To use previous step data, pass the `steps` object to the run() function
export default defineComponent({
async run({ steps, $ }) {
// Return data to use it in future steps
return steps.trigger.event
},
})
```
**Expected behavior**
I expect to be able to import the Nhost Client.
**Screenshots**

**Additional context**
Reported from community here:
https://pipedream.com/community/t/error-code-error-could-not-compute-configurable-props/3299
Contributor guide
Assessment
This issue has not been assessed yet.