I've got the followwing error when deploy the app:
status: FAILURE unmarshalling package.json: json: cannot unmarshal array into Go struct field PackageJSON.dependencies of type map[string]string
The generated package.json is set to an empty array in dependencies, when changed to an empty object it works.
I just figured out what was causing this: An empty array on adapter dependencies configuration in svelte.config.js. Just remove it and everything works as expected.
I've got the followwing error when deploy the app:
status: FAILURE unmarshalling package.json: json: cannot unmarshal array into Go struct field PackageJSON.dependencies of type map[string]string
The generated
package.json
is set to an empty array independencies
, when changed to an empty object it works.Before:
After: