Install node-path-dirname by entering the following commands in the terminal:
sudo apt update sudo apt install node-path-dirname
Description:
Node.js library for function path.dirname ponyfill
This was needed in order to expose path.posix.dirname() on Node.js v0.10 . Node.js is an event-based server-side JavaScript engine.
Homepage: https://github.com/es128/path-dirname#readme
Version: 1.0.2-1
Section: universe/web