Hello good folks of n8n, I have an issue that you might be able to help me with
I am following the instructions to create a custom node so I could use the ‘http’ module in my functions. I keep on getting the error
error TS1003: Identifier expected. when i try to build it.
My custom node code is the default code plus this line after the import statements
import * as http from 'http' . Here’s the complete code for your reference https://gist.github.com/sauravtom/4c47e13102a3e1a5f5cc349092afe939
It seems to be a typescript specific error but despite searching online i am unable to fix this, any help regarding this would be greatly appreciated.