====== Troubleshooting Need4Viz for Webi installation and configuration issues ====== //Anonymised summary of support ticket #893604 (2022-11-16)// ===== Symptom ===== %%Installation fails during Puppeteer setup with 'Cannot find module' error. Subsequent issues include missing Node.js directories, incorrect file paths in configuration files, and missing custom elements in SAP BusinessObjects Web Intelligence interface.%% ===== Environment ===== CentOS 7, SAP BusinessObjects BI 4.2 SP9 Patch 5, Node.js v12.8.1, Need4Viz for Webi, Tomcat, PM2. ===== Resolution ===== - Ensure Node.js and npm are installed. Use compatible versions (e.g., Node.js v12.x with Puppeteer v5.5.0) to avoid module conflicts. - %%Install Puppeteer with the command: `npm install puppeteer@5.5.0 --save -g --unsafe-perm=true`.%% - %%Verify Node.js installation paths and update all references in configuration files (e.g., `config.js`, `apps_ce.json`) to match the actual installation directory (e.g., `/root/.nvm/versions/node/` instead of `/home/need4viz/.nvm/versions/node/`).%% - %%Stop PM2 services (`pm2 stop all`), remove outdated log files, and reinstall incompatible modules (e.g., `npm uninstall node-fetch && npm install node-fetch@2.6.0 --save -g`).%% - %%Restart services with `pm2 start all` and verify functionality via the `/about` page.%% - In SAP BusinessObjects CMC, ensure Need4Viz services are properly created (paragraphs 4.2 and 4.4 of the installation guide). ===== Other resolution ===== Check SAP BusinessObjects Web Intelligence version compatibility with Need4Viz. Ensure custom elements are enabled in the Webi interface. Refer to Need4Viz documentation for integration verification steps (e.g., creating a drillbar with dimensions and measures).