Error: ENOENT: no such file or directory, open '/home/ajung/.nvm/versions/node/v16.2.0/lib/node_modules/pagedjs/dist/paged.polyfill.js'
I installed 0.1.3 on Node 16.2.0:
ajung@zopyx-nuc ➜ lesson-footnotes git:(master) ✗ npm install -g pagedjs-cli
npm WARN deprecated @babel/polyfill@7.12.1: 🚨 This package has been deprecated in favor of separate inclusion of a polyfill and regenerator-runtime (when needed). See the @babel/polyfill docs (https://babeljs.io/docs/en/babel-polyfill) for more information.
npm WARN deprecated core-js@2.6.12: core-js@<3.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js.
changed 162 packages, and audited 163 packages in 16s
15 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities`
Getting this error:
ajung@zopyx-nuc ➜ lesson-footnotes git:(master) ✗ /home/ajung/.nvm/versions/node/v16.2.0/bin/pagedjs-cli index.html
◵ Loading: index.htmlnode:internal/process/promises:246
triggerUncaughtException(err, true /* fromPromise */);
^
[Error: ENOENT: no such file or directory, open '/home/ajung/.nvm/versions/node/v16.2.0/lib/node_modules/pagedjs/dist/paged.polyfill.js'] {
errno: -2,
code: 'ENOENT',
syscall: 'open',
path: '/home/ajung/.nvm/versions/node/v16.2.0/lib/node_modules/pagedjs/dist/paged.polyfill.js'
}