nodejs绿色免安装 try onnx on web(chrome)
程序开发
2023-09-07 08:00:37
nodejs安装版
nodejs绿色免安装
下载zip并解压即可
清除缓存:npm cache clean -f
将项目中的node_modules文件夹以及package-lock.json文件删除
执行:npm install --registry=https://registry.npm.taobao.org重新拉取依赖
启动项目:npm run dev
download resources
(base)$:~/CLionProjects/web/onnxjs-master/examples/browser/resnet50$ npm install http-server -gadded 39 packages, and audited 40 packages in 18s10 packages are looking for fundingrun `npm fund` for detailsfound 0 vulnerabilities
npm notice
npm notice New major version of npm available! 8.19.2 -> 9.5.0
npm notice Changelog: https://github.com/npm/cli/releases/tag/v9.5.0
npm notice Run npm install -g npm@9.5.0 to update!
npm notice
(base) $:~/CLionProjects/web/onnxjs-master/examples/browser/resnet50$ http-server .. -c-1 -p 3000
Starting up http-server, serving ..http-server version: 14.1.1http-server settings:
CORS: disabled
Cache: -1 seconds
Connection Timeout: 120 seconds
Directory Listings: visible
AutoIndex: visible
Serve GZIP Files: false
Serve Brotli Files: false
Default File Extension: noneAvailable on:http://127.0.0.1:3000http://192.168.0.109:3000
Hit CTRL-C to stop the server
结果
参考与更多
- Node 成功的主要因素之一是它广受欢迎的软件包管理器——npm,因为 npm 使 JavaScript 开发人员可以快速方便地共享软件包
标签:
上一篇:
ionic2/ionic3 弹框Alerts、滑动框Slides 用法小结
下一篇:
相关文章
-
无相关信息