Meaningless ERROR message while installing metatron discovery

105 views
Skip to first unread message

Jae Young Lee

unread,
Sep 14, 2018, 5:36:24 AM9/14/18
to Metatron Discovery User Group

While installing metatron discovery with command '$ mvn clean install -DskipTests' in  https://github.com/metatron-app/metatron-discovery, I get following ERROR messages. 
Despite the error messages metatron discovery install well. 


[INFO] > uglifyjs-we...@0.4.6 postinstall /Users/goodljy 1/Z_metatron/metatron-discovery/discovery-frontend/node_modules/uglifyjs-webpack-plugin
[INFO] > node lib/post_install.js
[INFO]
[ERROR] npm notice created a lockfile as package-lock.json. You should commit this file.
[WARNING] npm WARN @angular/co...@2.4.10 requires a peer of rxjs@^5.0.1 but none was installed.
[WARNING] npm WARN ng2-tr...@5.0.0 requires a peer of @angular/core@^2.0.0 but none was installed.
[WARNING] npm WARN ng2-tr...@5.0.0 requires a peer of @angular/http@^2.0.0 but none was installed.
[WARNING] npm WARN tsu...@3.0.0 requires a peer of typescript@>=2.8.0 || >= 3.1.0-dev but none was installed.
[WARNING] npm WARN @fimbul/bif...@0.11.0 requires a peer of typescript@>= 2.7.1 || >= 3.0.0-dev || >= 3.0.0-insiders || 3.0.0-rc || >= 3.1.0-dev but none was installed.
[WARNING] npm WARN @fimbul/ym...@0.11.0 requires a peer of typescript@>= 2.7.1 || >= 3.0.0-dev || >= 3.0.0-insiders || 3.0.0-rc || >= 3.1.0-dev but none was installed.
[ERROR]
[INFO] added 1307 packages in 46.392s
[INFO] Date: 2018-09-14T08:40:40.635Z


kyungtaak Noh

unread,
Sep 15, 2018, 1:24:56 AM9/15/18
to Metatron Discovery User Group
Jaeyoung,

This issue occurs because the package-lock.json file is not managed through VCS.
(there is a well-documented web link )

This issue is not a problem right now.
However, since we have a potential risk of build failure, we will consider managing it in VCS.


This consideration will be managed by the github issue.


sudhanshu...@gmail.com

unread,
Nov 22, 2018, 3:23:00 AM11/22/18
to Metatron Discovery User Group
While running mvn clean install -DskipTests in centos facing issue with

[INFO]
[ERROR] npm notice created a lockfile as package-lock.json. You should commit this file.
[WARNING] npm WARN @angular/co...@2.4.10 requires a peer of rxjs@^5.0.1 but none was installed.
[WARNING] npm WARN ng2-tr...@5.0.0 requires a peer of @angular/core@^2.0.0 but none was installed.
[WARNING] npm WARN ng2-tr...@5.0.0 requires a peer of @angular/http@^2.0.0 but none was installed.

[WARNING] npm WARN ajv-ke...@2.1.1 requires a peer of ajv@^5.0.0 but none was installed.
[WARNING] npm WARN tsu...@3.5.0 requires a peer of typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev but none was installed.
[WARNING] npm WARN @fimbul/bif...@0.15.0 requires a peer of typescript@>= 2.8.1 || >= 3.2.0-dev || >= 3.3.0-dev but none was installed.
[WARNING] npm WARN tsu...@3.5.0 requires a peer of typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev but none was installed.
[WARNING] npm WARN @fimbul/ym...@0.15.0 requires a peer of tsutils@>2.29.0 but none was installed.
[WARNING] npm WARN @fimbul/ym...@0.15.0 requires a peer of typescript@>= 2.8.1 || >= 3.2.0-dev || >= 3.3.0-dev but none was installed.
[ERROR]
[INFO] added 1618 packages in 122.486s


Sudhanshu Lenka

unread,
Nov 22, 2018, 3:38:38 AM11/22/18
to Metatron Discovery User Group
Hi ,

I am able to build discovery-frontend-3.0.6.jar , where other jar not able to build .

Regards,
Sudhanshu lenka

Sudhanshu Lenka

unread,
Nov 22, 2018, 3:51:42 AM11/22/18
to Metatron Discovery User Group
Hi All,

This is full error which not let me build .tar file 


[INFO] > openl...@4.6.5 postinstall /root/metatron-discovery/discovery-frontend/node_modules/openlayers
[INFO] > closure-util update
[INFO]
[ERROR] info install Download complete: /root/metatron-discovery/discovery-frontend/node_modules/closure-util/.deps/compiler/5eb2c411b449e9f3d879be0f59139cb5b2894c09
[ERROR] info install Download complete: /root/metatron-discovery/discovery-frontend/node_modules/closure-util/.deps/library/947e46b02fd5e472c2daa86669c09303ca3e7033
[INFO]
[INFO] > closur...@1.26.0 postinstall /root/metatron-discovery/discovery-frontend/node_modules/closure-util
[INFO] > node ./bin/closure-util.js update
[INFO]
[INFO]
[INFO] > node...@4.10.0 postinstall /root/metatron-discovery/discovery-frontend/node_modules/node-sass
[INFO] > node scripts/build.js
[INFO]
[INFO] Binary found at /root/metatron-discovery/discovery-frontend/node_modules/node-sass/vendor/linux-x64-57/binding.node
[INFO] Testing binary
[INFO] Binary is fine
[INFO]
[INFO] > uglifyjs-we...@0.4.6 postinstall /root/metatron-discovery/discovery-frontend/node_modules/uglifyjs-webpack-plugin
[INFO] > node lib/post_install.js
[INFO] added 1618 packages in 128.433s


Regards,
Sudhanshu Lenka

Alchan Lee

unread,
Dec 10, 2018, 7:06:39 AM12/10/18
to Metatron Discovery User Group
Hi All,

It looks two issues are being talked about in this thread.

Unfortunately, we cannot give a project without these error messages, but I can advise that you can ignore them.
These are already known problems into 3rd-party tools and not affect our applicaion.


1. [ERROR] info install Downloading http://~~~

I agree that these statements are confusing to the user, but it should be fixed in NPM.
NPM write log http level to stderr for some reason, but does not affect the build process.

Maven just forward stdout to stdout, and stderr to stderr. 
I'd say it's a tiny gap of thinking about stdout between maven and NPM. It is not a bug.

Without "Process finished with exit code 1" message, maven keep building application.

One thing I can tell you is 
Please be patient as it takes a lot of time to build application. 

(it's common disadvantage of Angular apps, it takes ~8min in my desktop)

   if somebody can give advice about it, please contribute :)


2. Manage package-lock.json

This file is automatically generated for maintains identical dependency.
We are keep discussing it, because fixed dependency means fixed environment too.
I'll update further information soon.

If you don't want to see this log, you can disable it using this command.
   ~$ npm config set package-lock false



Sincerely,
Alchan.

vinutho...@gmail.com

unread,
Sep 11, 2020, 12:49:41 PM9/11/20
to Metatron Discovery User Group
hi sudanshu,

can u share what you did to build frontend??

thx

Reply all
Reply to author
Forward
0 new messages