この会話は、活動がないためロックされています。新しい投稿を作成してください。
この会話は、活動がないためロックされています。新しい投稿を作成してください。
So, currently my project does not commit yarn.lock to the repository.
And I have access to https://experience.adobe.com/#/@myproject/cloud-manager/home.html/program/00001 to perform deployment (Real URI is redacted).
Currently, the build is failing due to one of the npm dependencies major version has changed.
I am wondering if there's any way we can clear yarn cache or lock files from the platform.
Error Log (Redacted):
06:39:39,772 [Exec Stream Pumper] [INFO] info If you think this is a bug, please open a bug report with the information provided in "/build_root/build/someprogram2-p33333/ui.frontend/yarn-error.log".error An unexpected error occurred: "ENOENT: no such file or directory, lstat '/build_root/build/someprogram2-p33333/xps-react/node_modules/autoprefixer'".
Sorry if this has been asked before, I am fairly new to AEM.
Please kindly assist me.
解決済! 解決策の投稿を見る。
表示
返信
いいね!の合計
Download the source code to your local machine and try to build to replicate the issue in your local. Once you're able to replicate the issue in your local machine then you delete node module and re build the code.
If your build is success then you can raise support ticket to clean up the node module to solve the build issue.
Hope this helps you!!
Thanks!!!.
try to delete your node module folder and run npm install command and see.
It should work fine.
UmeshThakur
Hi @Umesh_Thakur - Thanks for the response.
The node_modules directories are not committed. So I assume when the build starts it shouldn't have any, right? Or is there anyway I can SSH to cloud manager and run the build manually?
Download the source code to your local machine and try to build to replicate the issue in your local. Once you're able to replicate the issue in your local machine then you delete node module and re build the code.
If your build is success then you can raise support ticket to clean up the node module to solve the build issue.
Hope this helps you!!
Thanks!!!.
You're right, the issue intermittenly happens in my local, and somehow I missed this.
Thanks!
表示
返信
いいね!の合計