Expand my Community achievements bar.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Compilation/Deployment Error using MVN

Avatar

Level 8

Hi all,

 

I have downloaded aem-guides-wknd.

While running "mvn clean install -PautoInstallSPackage", getting the below error:

 

[INFO] WARNING in ./src/main/webpack/site/main.ts
[INFO] Module Warning (from ./node_modules/glob-import-loader/index.js):
[INFO] (Emitted value instead of an instance of Error) Could not find any files that matched the wildcard path.
[INFO] NonErrorEmittedError: (Emitted value instead of an instance of Error) Could not find any files that matched the wildcard path.
[INFO] at Object.emitWarning (C:\Rama\Adobe\WKND Site\code\Latest\aem-guides-wknd\ui.frontend\node_modules\webpack\lib\NormalModule.js:721:16)
[INFO] at C:\Rama\Adobe\WKND Site\code\Latest\aem-guides-wknd\ui.frontend\node_modules\glob-import-loader\index.js:60:24
[INFO] at finishWithoutResolve (C:\Rama\Adobe\WKND Site\code\Latest\aem-guides-wknd\ui.frontend\node_modules\enhanced-resolve\lib\Resolver.js:570:11)
[INFO] at C:\Rama\Adobe\WKND Site\code\Latest\aem-guides-wknd\ui.frontend\node_modules\enhanced-resolve\lib\Resolver.js:659:14
[INFO] at C:\Rama\Adobe\WKND Site\code\Latest\aem-guides-wknd\ui.frontend\node_modules\enhanced-resolve\lib\Resolver.js:720:5
[INFO] at eval (eval at create (C:\Rama\Adobe\WKND Site\code\Latest\aem-guides-wknd\ui.frontend\node_modules\tapable\lib\HookCodeFactory.js:33:10), <anonymous>:15:1)
[INFO] at C:\Rama\Adobe\WKND Site\code\Latest\aem-guides-wknd\ui.frontend\node_modules\enhanced-resolve\lib\Resolver.js:720:5
[INFO] at eval (eval at create (C:\Rama\Adobe\WKND Site\code\Latest\aem-guides-wknd\ui.frontend\node_modules\tapable\lib\HookCodeFactory.js:33:10), <anonymous>:27:1)
[INFO] at C:\Rama\Adobe\WKND Site\code\Latest\aem-guides-wknd\ui.frontend\node_modules\enhanced-resolve\lib\DescriptionFilePlugin.js:89:43
[INFO] at C:\Rama\Adobe\WKND Site\code\Latest\aem-guides-wknd\ui.frontend\node_modules\enhanced-resolve\lib\Resolver.js:720:5

 

I looked at a similar previous post and the solution offered was to remove some entries in src/main/webpack/site/main.ts.

What what is the file type of this file?

What app shall I use to edit it?

 

Appreciate all your replies.

 

Thanks,

RK.

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

4 Replies

Avatar

Community Advisor

Hi @nsvsrk 

 

Which version of archetype did you use to generate ? Try to install using latest archetype version to fix the problem 

 

Thanks 

 

Avatar

Level 8

Hi @PRATHYUSHA_VP ,

 

I did not install any archetype.

 

Rather generated WKND project  with the command:

mvn -B org.apache.maven.plugins:maven-archetype-plugin:3.2.1:generate \
-D archetypeGroupId=com.adobe.aem \
-D archetypeArtifactId=aem-project-archetype \
-D archetypeVersion=39 \
-D appTitle="WKND Sites Project" \
-D appId="wknd" \
-D groupId="com.adobe.aem.guides" \
-D artifactId="aem-guides-wknd" \
-D package="com.adobe.aem.guides.wknd" \
-D version="0.0.1-SNAPSHOT" \
-D aemVersion="cloud"

 

Thanks,

RK.

Avatar

Community Advisor

Hi, please find the same issue in below thread and follow the steps mentioned - 

 

https://github.com/adobe/aem-project-archetype/issues/986

 

Thanks

Avatar

Level 8

Hello,

 

This is a TypeScript file format.

A TypeScript file is a text file containing source code written in the TypeScript programming language. These files typically have a ".ts" extension (or ".tsx" if they include JSX syntax).

 

You can use your IDE(Intellij, Ecllipse, Visual studio etc) or any text editor like sublime , Notepad++ to open and edit this file.