I have merged the Commerce Starter Kit with custom Admin UI code. When I run the aio app build, it is completed successfully, but when I run the aio app deploy, I get the following error:
Deploying web assets for 'commerce/backend-ui/2'
Error: missing files in /home/user/Documents/App-Builder/Publishapp(testing)/testApp1/dist/commerce-backend-ui-2/web-prod, maybe you forgot to build your UI ?
The strange part is: if I zip this same project (without node_modules) and share it with another developer in my team, they only do npm install and aio app deploy, and it works perfectly on their machine.
What could be causing this “missing dist folder” issue only on my system, even though the code and steps are the same?
Views
Replies
Total Likes
please paste the output from
aio info
Views
Replies
Total Likes
Here are the details:-
System:
OS: Linux 6.8 Ubuntu 22.04.5 LTS 22.04.5 LTS (Jammy Jellyfish)
CPU: (6) x64 Intel(R) Core(TM) i5-8400 CPU @ 2.80GHz
Memory: 7.56 GB / 15.43 GB
Shell: 5.1.16 - /bin/bash
Binaries:
Node: 18.20.4 - ~/.nvm/versions/node/v18.20.4/bin/node
Yarn: 1.22.22 - /usr/bin/yarn
npm: 10.7.0 - ~/.nvm/versions/node/v18.20.4/bin/npm
Virtualization:
Docker: Not Found
npmGlobalPackages:
@adobe/aio-cli: 11.0.0
Proxies:
http: (not set)
https: (not set)
CLI plugins:
core:
@adobe/aio-cli 11.0.0
@adobe/aio-cli-plugin-app 14.1.3
@adobe/aio-cli-plugin-app-dev 2.1.2
@adobe/aio-cli-plugin-app-storage 1.1.0
@adobe/aio-cli-plugin-app-templates 2.0.3
@adobe/aio-cli-plugin-auth 4.0.1
@adobe/aio-cli-plugin-certificate 2.0.1
@adobe/aio-cli-plugin-config 5.0.1
@adobe/aio-cli-plugin-console 5.0.1
@adobe/aio-cli-plugin-events 4.0.1
@adobe/aio-cli-plugin-info 4.0.1
@adobe/aio-cli-plugin-runtime 8.0.0
@adobe/aio-cli-plugin-telemetry 2.0.2
@oclif/plugin-autocomplete 3.2.34
@oclif/plugin-help 6.2.32
@oclif/plugin-not-found 2.4.3
@oclif/plugin-plugins 5.4.46
@oclif/plugin-warn-if-update-available 3.1.46
user:
link:
Views
Replies
Total Likes
does the user you are sharing with have the same version of node, CLI, and plugins that you have here?
Can you delete the whole folder and try again from the zip you shared with them?
Views
Replies
Total Likes
The developer whom I share has the node version Node: 20.18.0 -
and the node version I have Node: 18.20.4
I have upgraded the node version, but the issue persists
Views
Replies
Total Likes
Views
Like
Replies
Views
Likes
Replies
Views
Likes
Replies