Hi
@Torben Noer,
I am using windows.
>node --version
v10.20.1
- I had restarted machine after installing Node.
- Downloaded customviz.tgz using chrome from Environment path:
https://<cognosroot>/bi/js/vida/customvis.tgz
- Opened CMD with Administrator previleges.
>npm install -g customvis.tgz
npm WARN registry Using stale data from
https://registry.npmjs.org/ because the host is inaccessible -- are you offline?npm WARN registry Using stale data from
https://registry.npmjs.org/ due to a request error during revalidation.
npm WARN deprecated
rollup-plugin-node-resolve@4.0.1: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-node-resolve.
npm WARN deprecated
rollup-plugin-babel@3.0.7: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-babel.
npm WARN deprecated
core-js@2.6.11: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
npm WARN deprecated
resolve-url@0.2.1:
https://github.com/lydell/resolve-url#deprecatednpm WARN deprecated
urix@0.1.0: Please see
https://github.com/lydell/urix#deprecatedC:\Users\User1\AppData\Roaming\npm\customvis -> C:\Users\User1\AppData\Roaming\npm\node_modules\@businessanalytics\customvis\dist\cli\customvis.js
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^2.0.6 (node_modules\@businessanalytics\customvis\node_modules\chokidar\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for
fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
+ @businessanalytics/
customvis@1.1.118updated 1 package in 5.677s
- Ran test command to validate
>customvis --help
'customvis' is not recognized as an internal or external command,
operable program or batch file.
------------------------------
Buddhi Gupta
------------------------------
Original Message:
Sent: Tue June 02, 2020 10:01 AM
From: Torben Noer
Subject: CustomVis install Issue
and what are you using... Mac or Win?
- If you run this command, what does it return?
node --version
- When you download the customvis cli, it's not in Firefox, correct? (since they will break the tgz format)
- And when installing the CLI, you are opening the CMD as an administrator (on Windows) or using the command (on Mac):
sudo npm install -g customvis.tgz
- And finally, if it's installing, what will this command return?
customvis --help
Torben
------------------------------
Torben Noer
Original Message:
Sent: Tue June 02, 2020 09:52 AM
From: Buddhi Gupta
Subject: CustomVis install Issue
Yes @Torben Noer, I restarted my machine but it doesn't recognize customvis --help command.
I tested with my colleague as well and have same behavior. We tested on CA 11.1.6 on cloud.
------------------------------
Buddhi Gupta
Original Message:
Sent: Tue June 02, 2020 07:31 AM
From: Torben Noer
Subject: CustomVis install Issue
Hi Buddhi
The warnings should not impact anything...
Did you restart your laptop after installing NodeJS?
Torben
------------------------------
Torben Noer
Original Message:
Sent: Fri May 29, 2020 10:11 AM
From: Buddhi Gupta
Subject: CustomVis install Issue
I am facing error while setting up customvis using
https://www.ibm.com/support/knowledgecenter/SSEP7J_11.1.0/com.ibm.swg.ba.cognos.dg_custom_vis.doc/ca_customviz_tutstepbystep1.html
After downloading node v10.20.1 from previous release, install commands doesn't install it
- npm install -g customvis.tgz
npm WARN deprecated rollup-plugin-node-resolve@4.0.1: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-node-resolve.
npm WARN deprecated rollup-plugin-babel@3.0.7: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-babel.
After this step, it fails in validation.
I am using CA 11.1.6 on Cloud.
Will there be any issue with customvis package downloaded from Cognos Server?
Thanks for any inputs for troubleshooting issue further.
------------------------------
Buddhi Gupta
------------------------------
#CognosAnalyticswithWatson