This error message usually means that n8n was not able to load a node/credential file. In this case it’s trying to load NetlifyOAuth2Api credentials class, which is uncommented so it can’t load it. But n8n should not try to load it because it is not referenced in the nodes-base package.json (NetlifyApi is referenced and should work).
You are using the n8n-nodes-starter project to develop your node and run npm link to get your node working with the globally installed n8n, right?
Do you have a NetlifyOAuth2Api credential reference in your project’s package.json?
Does n8n start correctly without your node’s project linked?
To make sure the globally installed n8n is working on its own you could reinstall it:
I do not have NetlifyOauth setup on my end with n8n-node-starter package. I’ve tried linking it with the global n8n, and also tried running it independently. Both attempts failed with the same error.
I’ve also tried reinstalling global n8n, but it didn’t help.
No there aren’t any more error message. I’ve tried uninstalling nodejs and npm, and installed it again, and now it works. I’m suspecting that having both global n8n and n8n-io/n8n in my machine somehow affected the result.
When you say n8n-io/n8n do you mean docker and npm? On my daily machine I have Desktop, Docker and npm installed the only real catch is making sure I don’t start all 3 at the same time.