Installer: node not built yet

Hey team,
I keep getting this error saying “Installer: node not built yet”


And I’m really struggling to troubleshoot what’s going wrong here.
Video of it happening here:

Also means when I go run one, it just hangs for ages. And if I run the whole nodul then it just spins for ages. I thought maybe it was because I didn’t have a nodul out node in there to finish it off but I added that in and I still had the same error.

The only way I’ve been able to fix it is to create a new node, copy the JS into the new node. And relink everything then it works again for some reason… But it just happened to another node just now as well.

This error usually happens when your code tries to import unsupported npm packages. Because the cloud environment has some limitations, this can cause issues.

Take a look at the imports in your code.

The import was:
import mysql from ‘mysql2/promise’;

Which had been working fine up until the time I was building this last night. And it’d be fine if I just created a new node and pasted the exact same code in… There was just something weird happening last night to a bunch of nodes for some reason. Seems to be fine now