So even though that's outputted as an error, if you let the process continue it should complete. I don't know why the npm maven plugin puts that to stderr.
On Sat, Jun 12, 2021 at 2:05 PM Tin Vu <[email protected]> wrote: > > Hi Ian, > > Thanks for your reply. After upgrading to Java 11, I got another error as > follow: > ``` > [ERROR] Compiling @angular/cdk/keycodes : es2015 as esm2015 > [ERROR] Compiling @angular/core : es2015 as esm2015 > [ERROR] Compiling @angular/animations : es2015 as esm2015 > [ERROR] Compiling @angular/animations/browser : es2015 as esm2015 > [ERROR] Compiling @angular/common : es2015 as esm2015 > [ERROR] Compiling @angular/cdk/observers : es2015 as esm2015 > [ERROR] Compiling @angular/cdk/platform : es2015 as esm2015 > [ERROR] Compiling @angular/cdk/bidi : es2015 as esm2015 > [ERROR] Compiling @angular/platform-browser : es2015 as esm2015 > [ERROR] Compiling @angular/cdk/a11y : es2015 as esm2015 > [ERROR] Compiling @angular/forms : es2015 as esm2015 > [ERROR] Compiling @angular/platform-browser/animations : es2015 as esm2015 > [ERROR] Compiling @angular/cdk/collections : es2015 as esm2015 > [ERROR] Compiling @angular/cdk/portal : es2015 as esm2015 > [ERROR] Compiling @angular/cdk/scrolling : es2015 as esm2015 > [ERROR] Compiling @angular/material/core : es2015 as esm2015 > [ERROR] Compiling @angular/cdk/layout : es2015 as esm2015 > [ERROR] Compiling @angular/cdk/overlay : es2015 as esm2015 > [ERROR] Compiling @ngrx/store : es2015 as esm2015 > [ERROR] Compiling @angular/material/form-field : es2015 as esm2015 > [ERROR] Compiling @angular/material/button : es2015 as esm2015 > [ERROR] Compiling @angular/cdk/text-field : es2015 as esm2015 > [ERROR] Compiling @angular/material/select : es2015 as esm2015 > [ERROR] Compiling @angular/material/tooltip : es2015 as esm2015 > [ERROR] Compiling @angular/common/http : es2015 as esm2015 > [ERROR] Compiling @angular/cdk/tree : es2015 as esm2015 > ``` > > On Sat, Jun 12, 2021 at 1:58 PM Ian Maxon <[email protected]> wrote: > > > You need to upgrade to Java 11. Maven enforcer is restricting it to be 11 > > or newer recently. > > > > > On Jun 12, 2021, at 09:01, Tin Vu <[email protected]> wrote: > > > > > > Hi all, > > > > > > I just cloned the latest version of AsterixDB - master branch > > > <https://github.com/apache/asterixdb> (0.9.7). When I build the code > > using > > > the following command: > > > ``` > > > mvn clean package -DskipTests > > > ``` > > > > > > It always show an error: > > > ``` > > > [ERROR] Failed to execute goal > > > org.apache.maven.plugins:maven-enforcer-plugin:3.0.0-M3:enforce > > > (enforce-versions) on project apache-hyracks: Some Enforcer rules have > > > failed. Look above for specific messages explaining why the rule failed. > > > ``` > > > > > > I'm using Java version 1.8.0_241 and Apache Maven 3.6.0. It worked well > > in > > > the past then the error just happened when I rebased my code with the > > > latest version on master branch. > > > > > > I would really appreciate it if someone could help me resolve this issue. > > > > > > Thanks, > > > > > > Tin > >
