This topic was automatically generated from Slack. You can find the original thread here.
what would cause this?
This topic was automatically generated from Slack. You can find the original thread here.
what would cause this?
On the same workflow, I just tried a few events and replays. All are failing with the same error.
Debugging further, seems there’s a problem with a custom component finding the @pipedream/platform
package…
Was working as recently as a couple hours ago.
cc @U02SX7ETBFB
Error: Cannot find package '@pipedream/platform' imported from /tmp/__pdg__/dist/code/03ea07e8fd32e081a9e57b4f20460e930ba0f3b48a6ed7ae1e3c7db9782594f1/node_modules/.pnpm/@pipedream+microsoft_outlook@1.0.1/node_modules/@pipedream/microsoft_outlook/microsoft_outlook.app.mjs
Hi Zalman - are you using a pre-built action or custom code?
Yes, it’s a custom component I built (slightly adapted from an existing component).
Can you share the custom code? Since it’s multi-file it might be easiest with a Github Repo link
I’ll share it, it’s only a single file.
It takes the existing Microsoft Outlook Send Email component and makes a single modification to pass a two dimensional array of emails and it sends a new email to each, using the first array as an array of recipients on the email.
It was working literally 2.5hr ago - something must’ve changed
There was a version change to the @pipedream/microsoft_outlook
component 6 days ago: @pipedream/microsoft_outlook - npm
Not any changes today though, have you made any deployments to this workflow since between the 10th and today?
must be the change, I’m just gonna modify the import to import the last version I know was working without any issue
import microsoftOutlook from "@pipedream/microsoft_outlook@0.0.10";
Maybe as an experiment, try pinning the outlook import to the past version:
import microsoftOutlook from "@Pipedream/microsoft_outlook@1.0.0";
before the major changes…
Yea let me know if that works
that worked in my test, let me try the 1.0.0 version
nope, so something while importing 1.0.0 or greater is returning that error
Cannot find package '@pipedream/platform'
Alright, glad there’s a workaround. Could you do me a favor and make an issue on our GH tracker? Then I can reference that to the right team.
Thanks! I’ll get this forwarded