Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The function does not appear on Azure with Pothos #75

Open
keita-makino opened this issue Jun 27, 2024 · 1 comment
Open

The function does not appear on Azure with Pothos #75

keita-makino opened this issue Jun 27, 2024 · 1 comment

Comments

@keita-makino
Copy link

keita-makino commented Jun 27, 2024

When I use the example described in the readme the function is deployed to Azure, but the code with a schema that is generated through Pothos failed to be successfully deployed on Azure as the image below shows.

image

It works if you delete src/functions/database.ts in the code repository of mine (https://github.com/3rfm-its-davis/odometer-reading) or change its contents to what listed in the readme. It also works in the local environment.

I think it's something because of this package but did you have some suggestions for this situation?

Edit: I mistakenly exposed the subscription ID :/ so moved the resources to a new one and deleted the one shown above.

@charlesgardyn
Copy link
Contributor

did you configure main in package.json? You need to point to the correct folder like this: "main": "dist/src/functions/*.js"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants