PipedreamHQ / PipedreamHQ/pipedream

[BUG] Cannot use @postlight/parser in pipedream workflow

Open
#6,208 1 comment 0 reactions 0 assignees View on GitHub
bug tracked internally triaged
Dominant language
JavaScript
Stars
11.7k
Forks
5.8k
Avg merge
3d 10h
Merged PRs (30d)
102

Description

**Describe the bug**
If use `import Parser from "@postlight/parser"` in the node.js workflow, there is an "npm install failed" occurs.

I have tested the library with node.js 14 and pnpm on my own machine and it works well.

Slack message: https://pipedream-users.slack.com/archives/CPTJYRY5A/p1682700126470269

**To Reproduce**

Copy this snippet

```javascript
import Parser from "@postlight/parser"

export default defineComponent({
async run({ steps, $ }) {
// do nothing
}
})
```

And create a node.js step, click test, then an error occurs

**Expected behavior**

No error

**Screenshots**

![image](https://user-images.githubusercontent.com/11208082/235488807-853d0ea8-11db-4eb1-9743-c0b7d68eaa33.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.