node-rtsp-stream

운영자 | 기사입력 2021/06/06 [09:20]
>
필자의 다른기사 보기 인쇄하기 메일로 보내기 글자 크게 글자 작게
node-rtsp-stream
 
운영자   기사입력  2021/06/06 [09:20]

npm install node-rtsp-stream

/root

└─┬ [email protected]

  ├── UNMET PEER DEPENDENCY bufferutil@^4.0.1

  ├── UNMET PEER DEPENDENCY utf-8-validate@^5.0.2

  └── [email protected]

 

npm WARN enoent ENOENT: no such file or directory, open '/root/package.json'

npm WARN [email protected] requires a peer of bufferutil@^4.0.1 but none was installed.

npm WARN [email protected] requires a peer of utf-8-validate@^5.0.2 but none was installed.

npm WARN root No description

npm WARN root No repository field.

npm WARN root No README data

npm WARN root No license field.

 

 

 npm init

This utility will walk you through creating a package.json file.

It only covers the most common items, and tries to guess sensible defaults.

 

See `npm help json` for definitive documentation on these fields

and exactly what they do.

 

Use `npm install <pkg> --save` afterwards to install a package and

save it as a dependency in the package.json file.

 

Press ^C at any time to quit.

name: (root)

version: (1.0.0)

description:

entry point: (index.js)

test command:

git repository:

keywords:

author:

license: (ISC)

About to write to /root/package.json:

 

{

  "name": "root",

  "version": "1.0.0",

  "description": "",

  "main": "index.js",

  "dependencies": {

    "node-gyp-build": "^4.2.3",

    "node-rtsp-stream": "^0.0.9",

    "bufferutil": "^4.0.3",

    "utf-8-validate": "^5.0.5"

  },

  "devDependencies": {},

  "scripts": {

    "test": "echo "Error: no test specified" && exit 1"

  },

  "author": "",

  "license": "ISC"

}

 

 

Is this ok? (yes) yes

[root@c01 ~]#

[root@c01 ~]# npm install node-rtsp-stream

[email protected] /root

└── [email protected]

 

npm WARN [email protected] No description

npm WARN [email protected] No repository field.

 

 

 

package.json 에 다음의 내용을 추가

"private": true 

 

 

npm install ws

 

npm index.js

트위터 트위터 페이스북 페이스북 카카오톡 카카오톡
기사입력: 2021/06/06 [09:20]  최종편집: ⓒ iwav