Closed dong-lufei closed 1 year ago
# GitHub 仓库文档和插件市场文档建议更新 https://ext.dcloud.net.cn/plugin?id=392 # npm 方式 安装命令就不要用上个年代的淘汰命令了:npm install luch-request -S npm i luch-request npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: 'luch-request@3.1.0', npm WARN EBADENGINE required: { node: '16' }, npm WARN EBADENGINE current: { node: 'v18.16.0', npm: '9.5.1' } npm WARN EBADENGINE }
// npm 下载安装后的导入使用方式 import Request from 'luch-request' const http = new Request();
// 插件市场下载安装后的导入使用方式 import Request from '@/js_sdk/luch-request/luch-request/index.js' const http = new Request();
npm WARN EBADENGINE Unsupported engine
https://www.quanzhan.co/luch-request/guide/3.x/#%E5%BF%AB%E9%80%9F%E4%B8%8A%E6%89%8B 看上面链接命令:npm install luch-request -S ,这是上一年代的 npm 命令