How to resolve 'TypeError: Cannot read property 'path' of undefined' error in N4V custom maps

Anonymised summary of support ticket #988642 (2022-01-06)

Symptom

After installing or updating N4V custom maps, an error occurs when using a custom map in Web Intelligence: 'TypeError: Cannot read property 'path' of undefined'.

Environment

N4V FOR WEBI custom maps, SAP BusinessObjects Web Intelligence, Windows environment with N4V services running.

Resolution

  1. Restart the N4V services after installing or updating the custom maps.
  2. Open a PowerShell command prompt and execute the script located in the N4V installation directory: \scripts\Start_Need4Viz.ps1.
  3. Alternatively, restart the Node.js process managing the maps by running the command: pm2 start 1.