Hi all...
Which package is the 'typescript' command part of ?
tried to google it but can not find how to install it...
TIA
Santo
On Sun, 19 Jul 2020 00:44:19 -0400, santo <nanci@auroville.org.in>
wrote:
The npm program is in the package npm.
Regards, Dave Hodgins
[santo@localhost bin]$ santo@localhost bin]$ npm
bash: npm: command not found
On Sun, 19 Jul 2020 02:58:24 -0400, santo <santo@auroville.org.in> wrote:'/home/dave/package.json'
[santo@localhost bin]$ santo@localhost bin]$ npm
bash: npm: command not found
[dave@x3 ~]$ rpm -qa|grep -e npm -e nodejs|sort
nodejs-10.15.3-8.mga7
nodejs-libs-10.15.3-8.mga7
npm-6.4.1-1.10.15.3.8.mga7
[dave@x3 ~]$ npm install typescript --save-dev
npm WARN saveError ENOENT: no such file or directory, open
npm notice created a lockfile as package-lock.json. You should commit thisfile.
npm WARN enoent ENOENT: no such file or directory, open'/home/dave/package.json'
npm WARN dave No description
npm WARN dave No repository field.
npm WARN dave No README data
npm WARN dave No license field.
+ typescript@3.9.7
added 1 package from 1 contributor in 15.503s
Regards, Dave Hodgins
On Sun, 19 Jul 2020 03:06:05 -0400, David W. Hodgins wrote:
On Sun, 19 Jul 2020 02:58:24 -0400, santo <santo@auroville.org.in> wrote:
[santo@localhost bin]$ santo@localhost bin]$ npm
bash: npm: command not found
[dave@x3 ~]$ rpm -qa|grep -e npm -e nodejs|sort
nodejs-10.15.3-8.mga7
nodejs-libs-10.15.3-8.mga7
npm-6.4.1-1.10.15.3.8.mga7
[dave@x3 ~]$ npm install typescript --save-dev
npm WARN saveError ENOENT: no such file or directory, open '/home/dave/package.json'
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN enoent ENOENT: no such file or directory, open '/home/dave/package.json'
npm WARN dave No description
npm WARN dave No repository field.
npm WARN dave No README data
npm WARN dave No license field.
+ typescript@3.9.7
added 1 package from 1 contributor in 15.503s
Regards, Dave Hodgins
Tried as root as well but nothing seem to happen..
Santo
[santo@localhost ~]$ rpm -qa|grep -e npm -e nodejs|sort
[santo@localhost ~]$
[santo@localhost ~]$ su -
Password:
[root@localhost ~]# rpm -qa|grep -e npm -e nodejs|sort
[root@localhost ~]#
On 2020-07-19, santo <santo@auroville.org.in> wrote:
On Sun, 19 Jul 2020 03:06:05 -0400, David W. Hodgins wrote:
On Sun, 19 Jul 2020 02:58:24 -0400, santo <santo@auroville.org.in> wrote: >>>
[santo@localhost bin]$ santo@localhost bin]$ npm
bash: npm: command not found
[dave@x3 ~]$ rpm -qa|grep -e npm -e nodejs|sort
nodejs-10.15.3-8.mga7
nodejs-libs-10.15.3-8.mga7
npm-6.4.1-1.10.15.3.8.mga7
[dave@x3 ~]$ npm install typescript --save-dev
npm WARN saveError ENOENT: no such file or directory, open '/home/dave/package.json'
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN enoent ENOENT: no such file or directory, open '/home/dave/package.json'
npm WARN dave No description
npm WARN dave No repository field.
npm WARN dave No README data
npm WARN dave No license field.
+ typescript@3.9.7
added 1 package from 1 contributor in 15.503s
Regards, Dave Hodgins
Tried as root as well but nothing seem to happen..
Santo
[santo@localhost ~]$ rpm -qa|grep -e npm -e nodejs|sort
[santo@localhost ~]$
Which means you have not installed them. So install them first.
Ie run his first commands first the test they are installed.
urpmi npm nodejs nodejs-lib
On Sun, 19 Jul 2020 12:26:36 +0000, William Unruh wrote:
[santo@localhost ~]$ rpm -qa|grep -e npm -e nodejs|sort
[santo@localhost ~]$
Which means you have not installed them. So install them first.
Ie run his first commands first the test they are installed.
urpmi npm nodejs nodejs-lib
that is exactly the problem...I am tryibg to install them...
I am really sorry but obviously there is something I do not get..
[root@localhost ~]# urpmi npm nodesj-lib
No package named nodesj-lib
[root@localhost ~]#
On Sun, 19 Jul 2020 12:26:36 +0000, William Unruh wrote:
On 2020-07-19, santo <santo@auroville.org.in> wrote:
On Sun, 19 Jul 2020 03:06:05 -0400, David W. Hodgins wrote:
On Sun, 19 Jul 2020 02:58:24 -0400, santo <santo@auroville.org.in>
wrote:
[santo@localhost bin]$ santo@localhost bin]$ npm bash: npm: command
not found
[dave@x3 ~]$ rpm -qa|grep -e npm -e nodejs|sort nodejs-10.15.3-8.mga7
nodejs-libs-10.15.3-8.mga7 npm-6.4.1-1.10.15.3.8.mga7 [dave@x3 ~]$
npm install typescript --save-dev npm WARN saveError ENOENT: no such
file or directory, open '/home/dave/package.json'
npm notice created a lockfile as package-lock.json. You should commit
this file. npm WARN enoent ENOENT: no such file or directory, open
'/home/dave/package.json' npm WARN dave No description npm WARN dave
No repository field.
npm WARN dave No README data npm WARN dave No license field.
+ typescript@3.9.7 added 1 package from 1 contributor in 15.503s
Regards, Dave Hodgins
Tried as root as well but nothing seem to happen..
Santo
[santo@localhost ~]$ rpm -qa|grep -e npm -e nodejs|sort
[santo@localhost ~]$
Which means you have not installed them. So install them first.
Ie run his first commands first the test they are installed.
urpmi npm nodejs nodejs-lib
that is exactly the problem...I am tryibg to install them...
I am really sorry but obviously there is something I do not get..
[root@localhost ~]# urpmi npm nodesj-lib No package named nodesj-lib [root@localhost ~]#
On Sun, 19 Jul 2020 13:11:22 +0000, santo wrote:
On Sun, 19 Jul 2020 12:26:36 +0000, William Unruh wrote:
[santo@localhost ~]$ rpm -qa|grep -e npm -e nodejs|sort
[santo@localhost ~]$
Which means you have not installed them. So install them first.
Ie run his first commands first the test they are installed.
urpmi npm nodejs nodejs-lib
that is exactly the problem...I am tryibg to install them...
I am really sorry but obviously there is something I do not get..
[root@localhost ~]# urpmi npm nodesj-lib
No package named nodesj-lib
[root@localhost ~]#
apologies for the typing mistake
[root@localhost ~]# urpmi npm nodejs nodejs-lib
No package named nodejs-lib
[root@localhost ~]#
[root@localhost ~]# npm install typescript --save-dev
npm ERR! cb() never called!
On Sun, 19 Jul 2020 12:26:36 +0000, William Unruh wrote:
On 2020-07-19, santo <santo@auroville.org.in> wrote:
On Sun, 19 Jul 2020 03:06:05 -0400, David W. Hodgins wrote:
On Sun, 19 Jul 2020 02:58:24 -0400, santo <santo@auroville.org.in> wrote: >>>>
[santo@localhost bin]$ santo@localhost bin]$ npm
bash: npm: command not found
[dave@x3 ~]$ rpm -qa|grep -e npm -e nodejs|sort
nodejs-10.15.3-8.mga7
nodejs-libs-10.15.3-8.mga7
npm-6.4.1-1.10.15.3.8.mga7
[dave@x3 ~]$ npm install typescript --save-dev
npm WARN saveError ENOENT: no such file or directory, open '/home/dave/package.json'
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN enoent ENOENT: no such file or directory, open '/home/dave/package.json'
npm WARN dave No description
npm WARN dave No repository field.
npm WARN dave No README data
npm WARN dave No license field.
+ typescript@3.9.7
added 1 package from 1 contributor in 15.503s
Regards, Dave Hodgins
Tried as root as well but nothing seem to happen..
Santo
[santo@localhost ~]$ rpm -qa|grep -e npm -e nodejs|sort
[santo@localhost ~]$
Which means you have not installed them. So install them first.
Ie run his first commands first the test they are installed.
urpmi npm nodejs nodejs-lib
that is exactly the problem...I am tryibg to install them...
I am really sorry but obviously there is something I do not get..
[root@localhost ~]# urpmi npm nodesj-lib
No package named nodesj-lib
[root@localhost ~]#
On Sun, 19 Jul 2020 13:14:33 +0000, santo wrote:
On Sun, 19 Jul 2020 13:11:22 +0000, santo wrote:
On Sun, 19 Jul 2020 12:26:36 +0000, William Unruh wrote:
[santo@localhost ~]$ rpm -qa|grep -e npm -e nodejs|sort
[santo@localhost ~]$
Which means you have not installed them. So install them first.
Ie run his first commands first the test they are installed.
urpmi npm nodejs nodejs-lib
that is exactly the problem...I am tryibg to install them...
I am really sorry but obviously there is something I do not get..
[root@localhost ~]# urpmi npm nodesj-lib No package named nodesj-lib
[root@localhost ~]#
apologies for the typing mistake
[santo@localhost ~]$ su -
Password:
[root@localhost ~]# rpm -qa|grep -e npm -e nodejs|sort
nodejs-10.15.3-8.mga7 nodejs-libs-10.15.3-8.mga7
npm-6.4.1-1.10.15.3.8.mga7 [root@localhost ~]# npm install typescript --save-dev npm ERR! cb() never called!
npm ERR! This is an error with npm itself. Please report this error at:
npm ERR! <https://npm.community>
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2020-07-19T13_56_22_816Z-debug.lo
[root@localhost ~]# urpmi npm nodejs nodejs-lib No package named
nodejs-lib [root@localhost ~]#
sigh!...
I have no idea how I managed to delete Jim post...
On Sun, 19 Jul 2020 10:01:29 -0400, santo <santo@auroville.org.in>wrote:
[root@localhost ~]# npm install typescript --save-dev
npm ERR! cb() never called!
Try running that as the regular user, not as root.
Regards, Dave Hodgins
On Sun, 19 Jul 2020 13:30:46 -0400, David W. Hodgins wrote:
On Sun, 19 Jul 2020 10:01:29 -0400, santo <santo@auroville.org.in>wrote:
[root@localhost ~]# npm install typescript --save-dev
npm ERR! cb() never called!
Try running that as the regular user, not as root.
Regards, Dave Hodgins
[santo@localhost ~]$ npm install typescript --save-dev
npm WARN saveError ENOENT: no such file or directory, open '/home/santo/ package.json'
npm notice created a lockfile as package-lock.json. You should commit
this file.
npm WARN enoent ENOENT: no such file or directory, open '/home/santo/ package.json'
npm WARN santo No description
npm WARN santo No repository field.
npm WARN santo No README data
npm WARN santo No license field.
+ typescript@3.9.7
added 1 package from 1 contributor in 53.592s
[santo@localhost ~]$ typescript
bash: typescript: command not found
From Mageia Forum got the suggestion to install through the repositores
so in MCC 'Install Remove Software I typed 'npm'
( and not 'typescript as I did earlier without luck...)and found it...I uninstalled it and then installed it again...same result
[santo@localhost ~]$ typescript
bash: typescript: command not found
I remember years ago that just by typing typescript I would get a message that the outcome of the command I would type next would be saved in a
file called 'transcript' in /home directory...was so easy to use and
useful for me...now it is installed I believe but still 'command not
found'
what is it that I am missing?
+ typescript@3.9.7
added 1 package from 1 contributor in 53.592s
[santo@localhost ~]$ typescript
bash: typescript: command not found
On 2020-07-20, santo <santo@auroville.org.in> wrote:
On Sun, 19 Jul 2020 13:30:46 -0400, David W. Hodgins wrote:
On Sun, 19 Jul 2020 10:01:29 -0400, santo <santo@auroville.org.in>wrote:
+ typescript@3.9.7 added 1 package from 1 contributor in 53.592s
[santo@localhost ~]$ typescript bash: typescript: command not found
From Mageia Forum got the suggestion to install through the repositores
so in MCC 'Install Remove Software I typed 'npm'
( and not 'typescript as I did earlier without luck...)and found
it...I
uninstalled it and then installed it again...same result
[santo@localhost ~]$ typescript bash: typescript: command not found
I remember years ago that just by typing typescript I would get a
message that the outcome of the command I would type next would be
saved in a file called 'transcript' in /home directory...was so easy to
use and useful for me...now it is installed I believe but still
'command not found'
what is it that I am missing?
I know nothing about typescript or nmn, however if you want to find the typescript command do (as root)
updatedb locate typescript
On Mon, 20 Jul 2020 20:57:12 +0000, William Unruh wrote:
On 2020-07-20, santo <santo@auroville.org.in> wrote:
On Sun, 19 Jul 2020 13:30:46 -0400, David W. Hodgins wrote:
On Sun, 19 Jul 2020 10:01:29 -0400, santo <santo@auroville.org.in>wrote:
+ typescript@3.9.7 added 1 package from 1 contributor in 53.592s
[santo@localhost ~]$ typescript bash: typescript: command not found
From Mageia Forum got the suggestion to install through the
repositores so in MCC 'Install Remove Software I typed 'npm'
( and not 'typescript as I did earlier without luck...)and found
it...I
uninstalled it and then installed it again...same result
[santo@localhost ~]$ typescript bash: typescript: command not found
I remember years ago that just by typing typescript I would get a
message that the outcome of the command I would type next would be
saved in a file called 'transcript' in /home directory...was so easy
to use and useful for me...now it is installed I believe but still
'command not found'
what is it that I am missing?
I know nothing about typescript or nmn, however if you want to find the
typescript command do (as root)
updatedb locate typescript
Apologies to all...the fact is that my memory ( and my hidden
dislexya...)
failed me...I checked as you said and the command is not 'typescript'
but 'script'...
santo@localhost ~]$ script Script started, file is typescript [santo@localhost ~]$
the file was saved as 'typescript' and not 'transcript'
To me it was and is useful as I could keep record of what I do on the
command line in case I make mistakes if I need help to solve them...
Thank you for your patience and help Santo
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 427 |
Nodes: | 16 (2 / 14) |
Uptime: | 96:39:58 |
Calls: | 9,047 |
Calls today: | 4 |
Files: | 13,395 |
Messages: | 6,014,436 |