Last login: Thu Aug 8 20:07:54 on ttys000
Users-iMac:~ user$ /Users/user/Desktop/alura-typer/servidor
-bash: /Users/user/Desktop/alura-typer/servidor: is a directory
Users-iMac:~ user$ npm install
npm WARN saveError ENOENT: no such file or directory, open '/Users/user/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/Users/user/package.json'
npm WARN user No description
npm WARN user No repository field.
npm WARN user No README data
npm WARN user No license field.
up to date in 0.337s
found 0 vulnerabilities
Users-iMac:~ user$ /Users/user/Desktop/alura-typer/servidor
-bash: /Users/user/Desktop/alura-typer/servidor: is a directory
Users-iMac:~ user$ npm start
npm ERR! path /Users/user/package.json
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall open
npm ERR! enoent ENOENT: no such file or directory, open '/Users/user/package.json'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/user/.npm/_logs/2019-08-08T19_09_40_902Z-debug.log
Users-iMac:~ user$ #apt install nodejs-legacy
Users-iMac:~ user$ install nodejs-legacy
usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
[-o owner] file1 file2
install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
[-o owner] file1 ... fileN directory
install -d [-v] [-g group] [-m mode] [-o owner] directory ...
Users-iMac:~ user$
Users-iMac:~ user$ /Users/user/Desktop/alura-typer/servidor
-bash: /Users/user/Desktop/alura-typer/servidor: is a directory
Users-iMac:~ user$ start npm
-bash: start: command not found
Users-iMac:~ user$ start npn
-bash: start: command not found
Users-iMac:~ user$ install nodejs-legacy
usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
[-o owner] file1 file2
install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
[-o owner] file1 ... fileN directory
install -d [-v] [-g group] [-m mode] [-o owner] directory ...
Users-iMac:~ user$ /Users/user/Desktop/alura-typer/servidor>npm install
-bash: /Users/user/Desktop/alura-typer/servidor: is a directory
Users-iMac:~ user$ npm start
npm ERR! path /Users/user/package.json
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall open
npm ERR! enoent ENOENT: no such file or directory, open '/Users/user/package.json'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/user/.npm/_logs/2019-08-08T19_13_51_011Z-debug.log
Users-iMac:~ user$