Anyone that has seen `TypeError: Invalid Version` ...
# general
Anyone that has seen
TypeError: Invalid Version
in an automation project and knows what to do? The weird thing is that I only get it for every second request.
Copy code
TypeError: Invalid Version: 
    at new SemVer (/src/api/node_modules/@pulumi/pulumi/node_modules/semver/semver.js:332:11)
    at LocalWorkspace.<anonymous> (/src/api/node_modules/@pulumi/pulumi/automation/localWorkspace.js:561:29)
    at (<anonymous>)
    at fulfilled (/src/api/node_modules/@pulumi/pulumi/automation/localWorkspace.js:18:58)
I first thought it might be because mismatch of installed pulumi version and pulumi npm package, but that doesn't seem to be the case. Running 3.14.0 and have 3.14.0 installed in my app now.
ok, so this is rather strange. When this line is executed on my machine, I do get empty version back, but only on every second call. Anyone knows why this might be?
What even makes this stranger that it works every time when make a call to the app I have with the REST plugin in code, but from the browser it fails every second time basically.
What's even more fun is that it works 100% when I run it in debug mode.