live-video-tut
live-video-tut copied to clipboard
Error: Unknown or unexpected option: --cache-directory
Al momento de correr npm run dev se rompe la compilacion del ts-node
[nodemon] starting ts-node --cache-directory .tscache ./server.ts
C:\Users\Usuario\Documents\Projects\practices\live-video-tut\node_modules\arg\index.js:92
throw err;
^
Error: Unknown or unexpected option: --cache-directory
at arg (C:\Users\Usuario\Documents\Projects\practices\live-video-tut\node_modules\arg\index.js:90:19)
at Object.
audited 2464 packages in 11.693s
found 135 vulnerabilities (102 low, 33 high)
run npm audit fix
to fix them, or npm audit
for details
PS C:\Users\Usuario\Documents\Projects\practices\live-video-tut> npm uninstall ts-node
npm WARN [email protected] No description
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
removed 8 packages and audited 2456 packages in 2.526s
found 135 vulnerabilities (102 low, 33 high)
run npm audit fix
to fix them, or npm audit
for details
PS C:\Users\Usuario\Documents\Projects\practices\live-video-tut> npm i ts-node
npm WARN [email protected] No description
npm WARN [email protected] No repository field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
- [email protected]
added 8 packages from 40 contributors and audited 2464 packages in 4.132s
found 135 vulnerabilities (102 low, 33 high)
run
npm audit fix
to fix them, ornpm audit
for details PS C:\Users\Usuario\Documents\Projects\practices\live-video-tut> npm run dev
[email protected] dev C:\Users\Usuario\Documents\Projects\practices\live-video-tut nodemon --exec "ts-node" --cache-directory .tscache ./server.ts
[nodemon] 1.19.1
[nodemon] to restart at any time, enter rs
[nodemon] watching: .
[nodemon] starting ts-node --cache-directory .tscache ./server.ts
PS C:\Users\Usuario\Documents\Projects\practices\live-video-tut> npm install -D ts-node
npm notice save ts-node is being moved from dependencies to devDependencies
npm WARN [email protected] No description
npm WARN [email protected] No repository field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents):
y"} (current: {"os":"win32","arch":"x64"})
-
[email protected] updated 1 package and audited 2464 packages in 2.804s found 135 vulnerabilities (102 low, 33 high) run
npm audit fix
to fix them, ornpm audit
for details PS C:\Users\Usuario\Documents\Projects\practices\live-video-tut> npm install -D typescript npm notice save typescript is being moved from dependencies to devDependencies npm WARN [email protected] No description npm WARN [email protected] No repository field. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"}) -
[email protected] updated 1 package and audited 2464 packages in 5.038s found 135 vulnerabilities (102 low, 33 high) run
npm audit fix
to fix them, ornpm audit
for details PS C:\Users\Usuario\Documents\Projects\practices\live-video-tut> npm run dev
[email protected] dev C:\Users\Usuario\Documents\Projects\practices\live-video-tut nodemon --exec "ts-node" --cache-directory .tscache ./server.ts
[nodemon] 1.19.1
[nodemon] to restart at any time, enter rs
[nodemon] watching: .
[nodemon] starting ts-node --cache-directory .tscache ./server.ts
C:\Users\Usuario\Documents\Projects\practices\live-video-tut\node_modules\arg\index.js:90
throw err;
^
Error: Unknown or unexpected option: --cache-directory
at arg (C:\Users\Usuario\Documents\Projects\practices\live-video-tut\node_modules\arg\index.js:88:19)
at main (C:\Users\Usuario\Documents\Projects\practices\live-video-tut\node_modules\ts-node\dist\bin.js:34:18)
at Object.
There is no argument called "--cache-directory". For more args that can be passed to ts-node