Hello a couple of weeks ago I installed wikit, a program for displaying summaries of Wikipedia articles on the linux terminal.
The command that I used for the installation was:
$ sudo npm install wikit -g
The answer shown in the terminal was:
npm WARN deprecated [email protected]: the module is now available as 'css-select'
npm WARN deprecated [email protected]: the module is now available as 'css-what'
/usr/local/bin/wikit -> /usr/local/lib/node_modules/wikit/index.js
\+ [email protected]"
updated 1 package in 11.638s
I assumed that the program had been installed, but when making a query the result was the following:
$ wikit Linux
/usr/local/bin/wikit: línea 2: use strict: orden no encontrada
/usr/local/bin/wikit: línea 4: error sintáctico cerca del elemento inesperado `('
/usr/local/bin/wikit: línea 4: `const path = require('path'),'
I have installed on my PC kubuntu 18.04.
Thank you.
wikit github page
https://github.com/KorySchneider/wikit
and
npm install .... -g
fetches and installs an application from the npmjs system which isn't technically Ubuntu software. Have you tried lodging an issue at github.com/KorySchneider/wikit/issues ? There appears to be an issue raised there already about an hour before you asked this question.