Open mfanuzzi opened 2 years ago
Hi @mfanuzzi,
It seems like import.meta.url
in this line of code is undefined
.
This seems this bug might not be due to js-client
, but to the bundling process done on TypeScript Functions, so I am transferring this to the repository related to it.
cc @eduardoboucas @netlify-team-account-1
- Do you want to request a feature or report a bug? a bug
- What is the current behavior? importing this library into a Netlify typescript function causes a fatal runtime error
- If the current behavior is a bug, please provide the steps to reproduce.
Create a file called
hello.ts
in yourfunctions
folder:Then run
netlify dev
and visit that endpoint; you'll get a 500:- What is the expected behavior? The client instantiates
- Please mention your node.js, and operating system version. Node 14, with: