Unable to deploy WKND code in AEMaaCS | Community
Skip to main content
Mario248
Level 7
August 30, 2023
Solved

Unable to deploy WKND code in AEMaaCS

  • August 30, 2023
  • 1 reply
  • 990 views

I want to have some sample content in AEM cloud instance so I planned to use the WKND website. Initially I tried to download the zip from git release note (https://github.com/adobe/aem-guides-wknd/releases/download/aem-guides-wknd-3.2.0/aem-guides-wknd.all-3.2.0.zip) and tried to install through package manager directly on AEM Dev cloud instance. But it failed to install the package due to the following error - Package (or its subpackage(s)) contains application content which isn't supported at runtime. I knew that the package which I am trying to install contains both mutable and immutable (application code). which is why the system gives me the above error.

 

So an alternate option I want to install this WKND through cloud manager pipeline so I set up a new repo and dump all the code and created a new pipeline for the deployment. But when I start a pipeline I get the below error immediately, 

 

 

 

Cloning into 'weekend'... Warning: Permanently added the RSA host key for IP address 'xx' to the list of known hosts. Already on 'main' Your branch is up to date with 'origin/main'. [BUILD] Running git change-log command(s) [BUILD] Running npm audit command(s) Executing command npm --progress false audit --production --audit-level=critical npm ERR! code EAUDITNOPJSON npm ERR! audit No package.json found: Cannot audit a project without a package.json npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2023-08-30T07_41_42_361Z-debug.log

 

 

AFAIK this package.json and package.lock.json is required only for Node js. I am not sure why I am getting this error in WKND code. Has anyone faced this issue ?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Ezhilarasu

Please check whether the pipeline is created with full stack. You might have created a pipeline with Front end that is why it is looking for package.json

1 reply

EzhilarasuAdobe EmployeeAccepted solution
Adobe Employee
August 30, 2023

Please check whether the pipeline is created with full stack. You might have created a pipeline with Front end that is why it is looking for package.json

Mario248
Mario248Author
Level 7
August 30, 2023

yeah, it was type of frontend pipepine