#[SOLVED] appwrite function cannot use import statement outside a module

3 messages · Page 1 of 1 (latest)

loud fable
#

I'm getting this error when executing my function, I know it says that the Stripe import cannot go outside the function, however in the appwrite documentation there is an example of a function that imports a dependency outside of all the code.

what im doing wrong?

quartz pollen
loud fable
#

thanks Steven, I think it was that