Hi All,
I have installed the form-data module using npm without any issues.However, when i imported it from my code the following error occurred.
Error: Cannot find module 'form-data'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:362:17)
at require (module.js:378:17)
at Object.<anonymous> (E:\Rajasekar\Nimbus\V2\Services\Node\providerv2\connectors\cloudsigma.compute\cloudsigma.compute.js:13:16)
at Module._compile (module.js:449:26)
at Object.Module._extensions..js (module.js:467:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:362:17)
I have been struggling with this error for 2 days and have given up. If anyone knows what the solution may be, please help. This will be highly appreciated.
Thanks in advance,
Raja