You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to deploy it on GCR using the general build pack for Go, Node.js, Python, Java, .NET Core, Ruby or PHP, I get this error Buildpack": missing main.py and GOOGLE_FUNCTION_SOURCE not specified. Either create the function in main.py or specify GOOGLE_FUNCTION_SOURCE to point to the file that contains the function.
It looks like the build pack has erroneously concluded that my project is a python project.
I have the following files that ought to lead it to conclude it's a node/JS project:
node_modules
package-lock.json
package.json, containing the following scripts:
build
dev
I don't have a start script, is that the issue?
server.js
tsconfig.json
vite.config.ts
The text was updated successfully, but these errors were encountered:
I have a node project using remix.js.
When I try to deploy it on GCR using the general build pack for
Go, Node.js, Python, Java, .NET Core, Ruby or PHP
, I get this errorBuildpack": missing main.py and GOOGLE_FUNCTION_SOURCE not specified. Either create the function in main.py or specify GOOGLE_FUNCTION_SOURCE to point to the file that contains the function
.It looks like the build pack has erroneously concluded that my project is a python project.
I have the following files that ought to lead it to conclude it's a node/JS project:
The text was updated successfully, but these errors were encountered: