npm install socket.io 安装不了
$ npm install socket.ionpm WARN saveError ENOENT: no such file or directory, open 'D:\Documents\HBuilderProject\websocket\demo5\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 'D:\Documents\HBuilderProject\websocket\demo5\package.json' npm WARN demo5 No description npm WARN demo5 No repository field. npm WARN demo5 No README data npm WARN demo5 No license field. + socket.io@2.2.0added 45 packages from 33 contributors and audited 77 packages in 3.61s found 0 vulnerabilities
|