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
A static project containing .mst files (mustache templates) can not be deployed. Debug log:
Deploying actions
⠋ Deploying web assets @adobe/aio-lib-core-tvm:debug initializing with config: {
@adobe/aio-lib-core-tvm:debug "ow": {
@adobe/aio-lib-core-tvm:debug "namespace": "278519-mhtest-stage",
@adobe/aio-lib-core-tvm:debug "auth": "<hidden>"
@adobe/aio-lib-core-tvm:debug },
@adobe/aio-lib-core-tvm:debug "apiUrl": "https://firefly-tvm.adobe.io",
@adobe/aio-lib-core-tvm:debug "cacheFile": "/Users/mhaack/workspaces/playground/aio-pwa/.aws.tmp.creds.json"
@adobe/aio-lib-core-tvm:debug }
@adobe/aio-lib-core-tvm:debug read credentials from cache file with key b96338bb5bc5e6512bd5f8cf241b7168c3d302052818878a5188b8797fc8ef5c
TypeError: mimeType.startsWith is not a function
at RemoteStorage._getCacheControlConfig (/Users/mhaack/.nvm/versions/node/v12.13.0/lib/node_modules/@adobe/aio-cli/node_modules/@adobe/aio-lib-web/lib/remote-storage.js:179:25)
at RemoteStorage.uploadFile (/Users/mhaack/.nvm/versions/node/v12.13.0/lib/node_modules/@adobe/aio-cli/node_modules/@adobe/aio-lib-web/lib/remote-storage.js:110:37)
at async /Users/mhaack/.nvm/versions/node/v12.13.0/lib/node_modules/@adobe/aio-cli/node_modules/@adobe/aio-lib-web/lib/remote-storage.js:157:21
at async Promise.all (index 42)
at async Object.deployWeb (/Users/mhaack/.nvm/versions/node/v12.13.0/lib/node_modules/@adobe/aio-cli/node_modules/@adobe/aio-lib-web/src/deploy-web.js:58:3)
at async Deploy.run (/Users/mhaack/.nvm/versions/node/v12.13.0/lib/node_modules/@adobe/aio-cli/node_modules/@adobe/aio-cli-plugin-app/src/commands/app/deploy.js:108:35)
at async Deploy._run (/Users/mhaack/.nvm/versions/node/v12.13.0/lib/node_modules/@adobe/aio-cli/node_modules/@oclif/command/lib/command.js:43:20)
at async Config.runCommand (/Users/mhaack/.nvm/versions/node/v12.13.0/lib/node_modules/@adobe/aio-cli/node_modules/@oclif/config/lib/config.js:173:24)
at async Main.run (/Users/mhaack/.nvm/versions/node/v12.13.0/lib/node_modules/@adobe/aio-cli/node_modules/@oclif/command/lib/main.js:27:9)
at async Main._run (/Users/mhaack/.nvm/versions/node/v12.13.0/lib/node_modules/@adobe/aio-cli/node_modules/@oclif/command/lib/command.js:43:20)
Describe the bug
A static project containing .mst files (mustache templates) can not be deployed. Debug log:
Sample files can be found here: https://github.com/magento/pwa-studio/tree/develop/packages/venia-ui/templates
Expected behavior
Deployment is working.
Additional context
aio cli version:
The text was updated successfully, but these errors were encountered: