You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When running an app that imports components that import types, the cache does not get respected and you get errors like: Error fetching file registry.candle.dev/common/openapi-ui:3: Pulling asset registry.candle.dev/common/openapi-ui:3 failed: Refusing to overwrite /Users/jsoverson/.wick/cache/registry.candle.dev/types/http/0.3.0/component.yaml. Set 'overwrite' to true to force. Error: Error fetching file registry.candle.dev/common/openapi-ui:3: Pulling asset registry.candle.dev/common/openapi-ui:3 failed: Refusing to overwrite /Users/jsoverson/.wick/cache/registry.candle.dev/types/http/0.3.0/component.yaml. Set 'overwrite' to true to force.
Describe the bug
When running an app that imports components that import types, the cache does not get respected and you get errors like:
Error fetching file registry.candle.dev/common/openapi-ui:3: Pulling asset registry.candle.dev/common/openapi-ui:3 failed: Refusing to overwrite /Users/jsoverson/.wick/cache/registry.candle.dev/types/http/0.3.0/component.yaml. Set 'overwrite' to true to force. Error: Error fetching file registry.candle.dev/common/openapi-ui:3: Pulling asset registry.candle.dev/common/openapi-ui:3 failed: Refusing to overwrite /Users/jsoverson/.wick/cache/registry.candle.dev/types/http/0.3.0/component.yaml. Set 'overwrite' to true to force.
To Reproduce
Use
wick run
on this file: https://github.com/candlecorp/wick/blob/cce0e9c77fef216e550a283a18b90af687b484d0/examples/http/rest-router.wickExpected behavior
Duplicate imports should come from cache and not attempt to overwrite each other.
Actual behavior
Error gets thrown when the duplicated asset is pulled and written
Environment:
The text was updated successfully, but these errors were encountered: