billowy-magazine-56938
03/17/2025, 5:38 PMInvalid asset encountered when unmarshaling resource property
billowy-magazine-56938
03/17/2025, 5:39 PMpulumi refresh
billowy-magazine-56938
03/17/2025, 5:48 PMpulumi stack export
has the following data:
{
"urn": "[…]$command:local:Command::build-command",
"custom": true,
"id": "build-command5ffdbbd8",
"type": "command:local:Command",
"inputs": {
"addPreviousOutputInEnv": true,
"assetPaths": [
"build/**"
],
"create": "pnpm build --sourcemapClient --minify=false",
"dir": "../../web-app"
},
"outputs": {
"addPreviousOutputInEnv": true,
"assetPaths": [
"build/**"
],
"assets": {
"build/client/.DS_Store": {
"4dabf18193072939515e22adb298388d": "c44067f5952c0a294b673a41bacd8c17",
"hash": "9d19c5664746dacd091a0b016973eb023b8bdea8716e2b223b9153e8699e4c29"
},
[…]
},
[…]
},
[…]
}
billowy-magazine-56938
03/17/2025, 5:49 PM@pulumi/pulumi
:
https://github.com/pulumi/pulumi/blob/e15e594b4e1b81edb36c03aac1d9f99aeee6bad8/sdk/nodejs/runtime/rpc.ts#L743billowy-magazine-56938
03/17/2025, 5:51 PM.DS_Store
asset has a hash
property rather than the expected path/text/uri properties. this is the case for every asset in that outputs.assets
map.billowy-magazine-56938
03/17/2025, 5:56 PMassetPaths
on my Command
resourceechoing-dinner-19531
03/17/2025, 7:44 PMbillowy-magazine-56938
03/17/2025, 7:45 PMechoing-dinner-19531
03/17/2025, 7:45 PMbillowy-magazine-56938
03/17/2025, 7:51 PMassetPaths
with local.Command
(from @pulumi/command
). some notes:
• assetPaths was an array containing a single relative glob
• the stack export
output showed the outputs.assets
of the command containing { hash }
objects
• the error shows up when running update
after a refresh
command
• error triggered by this line: https://github.com/pulumi/pulumi/blob/e15e594b4e1b81edb36c03aac1d9f99aeee6bad8/sdk/nodejs/runtime/rpc.ts#L743
i'm somewhat confident that's all you need to reproduce...echoing-dinner-19531
03/17/2025, 8:06 PMechoing-dinner-19531
03/17/2025, 8:09 PM