FlatFilers / platform-sdk-starter

Basic starter for platform sdk
5 stars 23 forks source link

Deploying from the XDK is failing #97

Open ashleygmulligan2 opened 1 year ago

ashleygmulligan2 commented 1 year ago

Getting this error when trying to deploy via the "XDK" using the SDK starter repo

Image

Running: @flatfile/api@0.0.9 @flatfile/hooks@1.2.3 @flatfile/schema@0.2.10 @flatfile/configure@0.5.11

Repo: There's an issue with creating the build file when we're trying to also deploy an agent when attaching a custom action to the config.

Arsik36 commented 1 year ago

Able to deploy successfully with

ashleygmulligan2 commented 1 year ago

Arseniy says: “@flatfile/schema”: “*” fixes it for him

Arsik36 commented 1 year ago

@ashleygmulligan2 even specifying @flatfile/schema@0.2.10 on my end instead of * deploys without error messages

alexhollenbeck commented 1 year ago

@Arsik36 @bangarang @ashleygmulligan2 it's possible this was fixed by https://github.com/FlatFilers/platform-sdk-mono/pull/297 - can you try again with the latest @flatfile/configure (0.5.13)?

Arsik36 commented 1 year ago

@alexhollenbeck I confirm 0.5.13 deployed well for me. I didn't see prior deploy issues as Hans did, so someone else please also confirm you are able to deploy.

ashleygmulligan2 commented 1 year ago

Rock narrowed it down the TextEncoder issue they were having yesterday with the onTrak starter build to: Deploying with require('axios') instead of an es6 import

This worked but now the question is how we keep ES6 imports.

There’s just a typing issue with something depending on axios that gets ignored when requiring it the old way and gets add properly in the NodeVM - Rockis going to see if he can get axios specifically