Hey. I'm using pulumi to deploy our server(s) to w...
# aws
k
Hey. I'm using pulumi to deploy our server(s) to was. until now we were doing it by running
pulumi up
from the command line. I'm trying to use the deployment feature. I configured the github app with aws iam. and for some reason preview fails. any idea what I can do? seems like all the steps are working except preview
s
That's a very old version of the AWS provider. 6.60.x is current. What happens if you upgrade?
k
that's a good idea. although it's v6.0, not so old
I get
Copy code
error: Error: ENOENT: no such file or directory, stat 'C:\repos\dr-server\game-server\game-server'
        at Object.statSync (node:fs:1658:25)
        at resolveConfigPath (C:\repos\dr-server\node_modules\tsconfig-paths\src\tsconfig-loader.ts:86:10)
        at loadSyncDefault (C:\repos\dr-server\node_modules\tsconfig-paths\src\tsconfig-loader.ts:57:22)
        at tsConfigLoader (C:\repos\dr-server\node_modules\tsconfig-paths\src\tsconfig-loader.ts:46:22)
        at configLoader (C:\repos\dr-server\node_modules\tsconfig-paths\src\config-loader.ts:66:22)
        at Object.register (C:\repos\dr-server\node_modules\tsconfig-paths\src\register.ts:79:42)
        at Object.<anonymous> (C:\repos\dr-server\node_modules\tsconfig-paths\register.js:1:15)
        at Module._compile (node:internal/modules/cjs/loader:1358:14)
        at Module._extensions..js (node:internal/modules/cjs/loader:1416:10)
        at Object.require.extensions.<computed> [as .js] (C:\repos\dr-server\node_modules\ts-node\src\index.ts:1608:43)
s
You may need to also upgrade nodejs. Not sure.
k
node is on v20
s
That looks like a node issue. It's definitely looking for a file that's not there. Where could that path be referenced in your code? Or maybe you need to do an
npm i
?
k
It works before upgrading to latest pulumi version
upgraded: node v22.11.0 pulumu cli v3.141.0 pulumi packages:
"@pulumi/aws": "^6.60.0", "@pulumi/awsx": "^2.19.0", "@pulumi/pulumi": "^3.140.0",
still get the same error
tested and before I updated pulumi packages,
pulumi preview
from the cmd line worked