Issue with Library in Pipedream on Slack Node: What Changed and How to Fix?

This topic was automatically generated from Slack. You can find the original thread here.

Hey guys. I’m having a problem using a library of mine in pipedream on the slack node. Before everything was fine, running without errors, we did not change any version of our SDK and began to present this error:

What could he be doing wrong? Or what’s changed so that I can start running my SDK properly again?

Hi Danilo, what’s the library that you’re attempting to import into a Node.js step

import { MySDK } from '@mysdk/hub@0.0.1';

export default defineComponent({
  props: {
    slack: {
      type: "app",
      app: "slack",
    }
  },
  async run({steps, $}) {
    ...
  }
})

A library of mine that is hosted on npm

Need the name of the library?

Yes that would be very helpful, I suspect there’s some kind of collision or incompatibility in the code itself.

I sent you in private

Did you see it?

I did thanks Danilo, but it may be problematic to report this upstream since you want to keep this NPM package location private. Our bug tracker is public.

I understand. The name of the npm library I’m wanting to use is @pilla/hub

Thanks Danilo,

Some other rhyming issues on our public issue tracker:

I believe these all have the same underlying issue. I will catalog them into one, and mention this one as another case.

Ok, thanks

I noticed that the date of the last interaction on these issues is in April, and the problem only occurred this last week, so there may be some changes, can you tell me if you are working on this problem?

This issue on our backlog but the cause is currently not known. Just that it’s caused my a small subset of NPM packages. The current theory is there’s some kind of conflict in dependent packages or some code level collision during environment bootstrapping.