-
Notifications
You must be signed in to change notification settings - Fork 115
The engine "node" is incompatible with this module #233
Comments
same issue here
|
Sorry, I lost track of this issue. Yes, v12.19.0 is configured in that base dockerfile. However, I couldn't reproduce this issue. I was able to install node 16, with the following logs from cloud build:
This is different from builds failures reported here:
I spent some time today, and realized that
NODE_ENV=*********** in the log seems to be NODE_ENV= development. Because the other option "production" actually has one less "*". We will continue the investigation tomorrow.
|
Taking a closer look
Not including |
Good point. I missed that first if statement in that template and thought it's always true. (Blaming the two
Yes,
I will try to reproduce this. |
Okay, I triggered an error (not exactly the same yet), by changing my package.json file. This newly added "gcp-build" triggered the bug. "scripts": { Kenneth's fix #258 looks promising to me. |
Status update: we are releasing Kenneth's fix #258 . |
Following this issue https://stackoverflow.com/questions/72052616/google-app-engine-the-engine-node-is-incompatible-with-this-module and this one too #214, we still have an issue with the Node version.
This questions has been asked many times already, and I checked all the answers but none of them helped me.
I'm trying to deploy a NodeJs app to GAE using a app.yml file. It was working perfectly until my last Github PR on it where I upgraded some nodes modules.
Now I'm getting the Error The engine "node" is incompatible with this module. Expected version "16.x.x". Got "12.19.0".
As you can see I'm up to date on my computer. I also removed and install Node, Npm and Yarn tonight just to be sure.
I tried deploying the app with a specific node version on my packages.json but with or without it's not working.
I also tried to remove the cache on GAE using this, without no effect.
On my app.yml I'm using nodejs en Env: flex:
I can't use node16 as I need env: flex.
Of course I tried to delete the Node_modules and yarn.lock for at least 100 times but still nothing, always the same error.
Nothing change on the app.yml file since the last deployment. The only thing is that I upgraded some Node Modules.
On the Yarn side I've tried:
But still not working.
Any help will be really grateful.
The text was updated successfully, but these errors were encountered: