[
https://issues.apache.org/jira/browse/GRIFFIN-218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16706885#comment-16706885
]
Saket Bihari commented on GRIFFIN-218:
--------------------------------------
Dear Team,
I tied the suggested steps but still it is installing version v3.x for npm &
6.x for node.
Not sure why this is happening. Pls see the below steps executed.
Pls help to resolve this asap.
------------------------------------------------------------------
[root@vm-dip-nd3 angular]# curl -sL https://rpm.nodesource.com/setup_10.x |
bash -
## Installing the NodeSource Node.js 10.x repo...
## Inspecting system...
+ rpm -q --whatprovides redhat-release || rpm -q --whatprovides centos-release
|| rpm -q --whatprovides cloudlinux-release || rpm -q --whatprovides sl-release
+ uname -m
## Confirming "el7-x86_64" is supported...
+ curl -sLf -o /dev/null
'https://rpm.nodesource.com/pub_10.x/el/7/x86_64/nodesource-release-el7-1.noarch.rpm'
## Downloading release setup RPM...
+ mktemp
+ curl -sL -o '/tmp/tmp.mNiLVMQCpS'
'https://rpm.nodesource.com/pub_10.x/el/7/x86_64/nodesource-release-el7-1.noarch.rpm'
## Installing release setup RPM...
+ rpm -i --nosignature --force '/tmp/tmp.mNiLVMQCpS'
## Cleaning up...
+ rm -f '/tmp/tmp.mNiLVMQCpS'
## Checking for existing installations...
+ rpm -qa 'node|npm' | grep -v nodesource
## Run `sudo yum install -y nodejs` to install Node.js 10.x and npm.
## You may also need development tools to build native addons:
sudo yum install gcc-c++ make
## To install the Yarn package manager, run:
curl -sL https://dl.yarnpkg.com/rpm/yarn.repo | sudo tee
/etc/yum.repos.d/yarn.repo
sudo yum install yarn
[root@vm-dip-nd3 angular]# yum install -y nodejs
Loaded plugins: fastestmirror, langpacks
Repository nodesource is listed more than once in the configuration
Repository nodesource-source is listed more than once in the configuration
Loading mirror speeds from cached hostfile
* epel: d2lzkl7pfhq30w.cloudfront.net
Resolving Dependencies
--> Running transaction check
---> Package nodejs.x86_64 2:6.15.0-1nodesource will be installed
--> Finished Dependency Resolution
Dependencies Resolved
========================================================================================================================================================================
Package Arch Version Repository Size
========================================================================================================================================================================
Installing:
nodejs x86_64 2:6.15.0-1nodesource nodesource 13 M
Transaction Summary
========================================================================================================================================================================
Install 1 Package
Total download size: 13 M
Installed size: 39 M
Downloading packages:
nodejs-6.15.0-1nodesource.x86_64.rpm | 13 MB 00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : 2:nodejs-6.15.0-1nodesource.x86_64 1/1
Verifying : 2:nodejs-6.15.0-1nodesource.x86_64 1/1
Installed:
nodejs.x86_64 2:6.15.0-1nodesource
Complete!
[root@vm-dip-nd3 angular]#
> Issues with griffin deployment "0.3.0-incubating"
> -------------------------------------------------
>
> Key: GRIFFIN-218
> URL: https://issues.apache.org/jira/browse/GRIFFIN-218
> Project: Griffin (Incubating)
> Issue Type: Bug
> Affects Versions: 0.3.0-incubating
> Environment: Centos
> Reporter: Saket Bihari
> Assignee: Juan Li
> Priority: Major
> Attachments: npm-debug.log
>
>
> We are evaluating griffin for one of our POC. While deploying the
> "0.3.0-incubating" in our centos having below prerequisite we are getting the
> below error.
> Please help me to resolve the issue asap.
> -----------------Error-----------------------------
> [INFO]
> [INFO] --- frontend-maven-plugin:1.6:npm (npm install) @ ui ---
> [INFO] Running 'npm install' in /root/griffin-0.3.0-incubating/ui/angular
> [WARNING] npm WARN deprecated [email protected]: ng2-bootstrap is renamed
> to ngx-bootstrap, please do npm i ngx-bootstrap -S
> [WARNING] npm WARN deprecated [email protected]: Typings is deprecated in favor
> of NPM @types -- see README for more information
> [WARNING] npm WARN deprecated [email protected]: Browserslist 2 could fail
> on reading Browserslist >3.0 config used in other tools.
> [WARNING] npm WARN deprecated [email protected]: This version is no longer
> maintained. Please upgrade to the latest version.
> [WARNING] npm WARN deprecated [email protected]: This version is no longer
> maintained. Please upgrade to the latest version.
> [WARNING] npm WARN deprecated [email protected]: This version is no longer
> maintained. Please upgrade to the latest version.
> [WARNING] npm WARN prefer global [email protected] should be installed with -g
> [INFO]
> [INFO] > [email protected] install
> /root/griffin-0.3.0-incubating/ui/angular/node_modules/node-sass
> [INFO] > node scripts/install.js
> [INFO]
> [ERROR] module.js:478
> [ERROR] throw err;
> [ERROR] ^
> [ERROR]
> [ERROR] Error: Cannot find module
> '/root/griffin-0.3.0-incubating/ui/angular/node_modules/node-sass/scripts/install.js'
> [ERROR] at Function.Module._resolveFilename (module.js:476:15)
> [ERROR] at Function.Module._load (module.js:424:25)
> [ERROR] at Module.runMain (module.js:611:10)
> [ERROR] at run (bootstrap_node.js:394:7)
> [ERROR] at startup (bootstrap_node.js:160:9)
> [ERROR] at bootstrap_node.js:507:3
> [INFO]
> [INFO] > [email protected] postinstall
> /root/griffin-0.3.0-incubating/ui/angular/node_modules/uglifyjs-webpack-plugin
> [INFO] > node lib/post_install.js
> [INFO]
> [ERROR] module.js:478
> [ERROR] throw err;
> [ERROR] ^
> [ERROR]
> [ERROR] Error: Cannot find module
> '/root/griffin-0.3.0-incubating/ui/angular/node_modules/uglifyjs-webpack-plugin/lib/post_install.js'
> [ERROR] at Function.Module._resolveFilename (module.js:476:15)
> [ERROR] at Function.Module._load (module.js:424:25)
> [ERROR] at Module.runMain (module.js:611:10)
> -----------------------------Summary------------------------------
> Reactor Summary:
> [INFO]
> [INFO] Apache Griffin 0.3.0-incubating .................... SUCCESS [ 1.122 s]
> [INFO] Apache Griffin :: UI :: Default UI ................. FAILURE [01:26
> min]
> [INFO] Apache Griffin :: Web Service ...................... SKIPPED
> [INFO] Apache Griffin :: Measures ......................... SKIPPED
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 01:27 min
> [INFO] Finished at: 2018-11-30T05:54:48+00:00
> [INFO] Final Memory: 21M/535M
>
> ------------------Installed Prerequisite---------------------------
> JDK-done
> Hadoop-done
> Spark-done
> hive -done
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)