npm 修改镜像源依赖下载缓慢运行报错日志解决

bash 复制代码
// npm 修改为淘宝镜像源
npm config set registry https://registry.npmmirror.com/
//查看当前使用的 npm 镜像源。
npm config get registry 
bash 复制代码
// 强制清除cache缓存
npm cache clean --force

修改为cnpm 使用淘宝镜像源进行下载

bash 复制代码
// 全局安装 cnpm
npm install -g cnpm --registry=https://registry.npmmirror.com
// 验证版本
cnpm -v
// 使用 cnpm 安装依赖
# 原来的命令是 npm install
# 现在替换为:
cnpm install
bash 复制代码
npm国内下载镜像汇总:

npm官方原始镜像: https://registry.npmjs.org/

淘宝npm镜像:http://registry.npmmirror.com

阿里云npm镜像: https://npm.aliyun.com

腾讯云npm镜像: https://mirrors.cloud.tencent.com/npm/

华为云npm镜像: https://mirrors.huaweicloud.com/repository/npm/

网易npm镜像: https://mirrors.163.com/npm/

中科大开源镜像站: http://mirrors.ustc.edu.cn/

清华大学开源镜像站: https://mirrors.tuna.tsinghua.edu.cn/

E:\SoftProject\DJiProject\Cloud-API-Demo-Web>cnpm install

13/42 Installing pascalcase@^0.1.1

  • 18/42 Installing isobject@^3.0.1

  • 18/42 Installing @vue/shared@3.5.35

WARN node unsupported "node@v17.8.0" is incompatible with sass@1.100.0 › chokidar@5.0.0 › readdirp@^5.0.0, expected node| 20/42 Installing entities@^2.0.0

WARN node unsupported "node@v17.8.0" is incompatible with vite-plugin-importer@0.2.5 › @babel/core@7.29.7 › @babel/helpe√ Linked 575 latest versions fallback to E:\SoftProject\DJiProject\Cloud-API-Demo-Web\node_modules.store\node_modules

√ Linked 48 public hoist packages to E:\SoftProject\DJiProject\Cloud-API-Demo-Web\node_modules

deprecate vite-plugin-components@^0.13.3 renamed to unplugin-vue-components, see https://github.com/antfu/unplugin-vue-components/releases/tag/v0.14.0

deprecate vue-i18n@^9.1.6 v9 and v10 no longer supported. please migrate to v11. about maintenance status, see https://vue-i18n.intlify.dev/guide/maintenance.html

deprecate rollup-plugin-external-globals@0.6.1 › magic-string@0.25.9 › sourcemap-codec@^1.4.8 Please use @jridgewell/sourcemap-codec instead

deprecate mqtt@4.3.8 › help-me@3.0.0 › glob@^7.1.6 Glob versions prior to v9 are no longer supported

deprecate vite-plugin-svg-icons@1.1.0 › svg-baker@1.7.0 › micromatch@3.1.0 › snapdragon@0.8.2 › source-map-resolve@^0.5.0 See https://github.com/lydell/source-map-resolve#deprecated

deprecate mqtt@4.3.8 › help-me@3.0.0 › glob@7.2.3 › inflight@^1.0.4 This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.

deprecate vite-plugin-svg-icons@1.1.0 › svg-baker@1.7.0 › micromatch@3.1.0 › snapdragon@0.8.2 › source-map-resolve@0.5.3 › source-map-url@^0.4.0 See https://github.com/lydell/source-map-url#deprecated

deprecate vite-plugin-svg-icons@1.1.0 › svg-baker@1.7.0 › micromatch@3.1.0 › snapdragon@0.8.2 › source-map-resolve@0.5.3 › urix@^0.1.0 Please see https://github.com/lydell/urix#deprecated

deprecate vite-plugin-svg-icons@1.1.0 › svg-baker@1.7.0 › micromatch@3.1.0 › snapdragon@0.8.2 › source-map-resolve@0.5.3 › resolve-url@^0.2.1 https://github.com/lydell/resolve-url#deprecated

deprecate vite-plugin-svg-icons@1.1.0 › svgo@2.8.2 › stable@^0.1.8 Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility

deprecate agora-rtc-sdk-ng@4.24.4 › formdata-polyfill@4.0.10 › fetch-blob@3.2.0 › node-domexception@^1.0.0 Use your platform's native DOMException instead

deprecate eslint@^7.30.0 This version is no longer supported. Please see https://eslint.org/version-support for other options.

deprecate eslint@7.32.0 › @humanwhocodes/config-array@^0.5.0 Use @eslint/config-array instead

deprecate eslint@7.32.0 › @humanwhocodes/config-array@0.5.0 › @humanwhocodes/object-schema@^1.2.0 Use @eslint/object-schema instead

deprecate eslint@7.32.0 › file-entry-cache@6.0.1 › flat-cache@3.2.0 › rimraf@^3.0.2 Rimraf versions prior to v4 are no longer supported

deprecate vue-tsc@0.0.24 › unzipper@0.10.11 › fstream@^1.0.12 This package is no longer supported.

deprecate vue-tsc@0.0.24 › unzipper@0.10.11 › fstream@1.0.12 › rimraf@2 Rimraf versions prior to v4 are no longer supported

Recently updated (since 2026-05-25): 42 packages (detail see file E:\SoftProject\DJiProject\Cloud-API-Demo-Web\node_modules.recently_updates.txt)

√ Run 3 script(s) in 4s.

√ Installed 42 packages on E:\SoftProject\DJiProject\Cloud-API-Demo-Web

√ All packages installed (646 packages installed from npm registry, used 17s(network 17s), speed 0B/s, json 0(0B), tarball 0B, manifests cache hit 608, etag hit 608 / miss 0)

vite v2.9.18 dev server running at:

Network: http://192.168.2.194:8080/

Local: http://localhost:8080/

ready in 35130ms.

已经引用但是未找到,需要下载对应的依赖

The following dependencies are imported but could not be resolved

The following dependencies are imported but could not be resolved: @vue/reactivity (imported by
E:/SoftProject/DJiProject/Cloud-API-Demo-Web/src/components/task/TaskPanel.vue?id=0)
moment (imported by
E:/SoftProject/DJiProject/Cloud-API-Demo-Web/src/utils/time.ts)
lodash (imported by
E:/SoftProject/DJiProject/Cloud-API-Demo-Web/src/utils/device-setting.ts)

Are they installed?

@vue/compiler-sfc defineProps is a compiler macro and no longer needs to be imported.

// 未下载对应的依赖,需要下载

Failed to resolve import "@vue/reactivity" from

"src\pages\page-web\projects\wayline.vue". Does the file exist? Failed

to resolve import "@vue/reactivity" from

"src\pages\page-web\projects\dock.vue". Does the file exist?

Failed to resolve import "moment" from "src\components\task\CreatePlan.vue". Does the file exist?

@vue/compiler-sfc defineEmits is a compiler macro and no longer needs to be imported.

Failed to resolve import "moment" from "src\components\flight-area\use-flight-area.ts". Does the file exist?

Failed to resolve import "lodash" from "src\components\g-map\DeviceSettingBox.vue". Does the file exist?

Deprecation Warning legacy-js-api: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.

More info: https://sass-lang.com/d/legacy-js-api

Deprecation Warning import: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

More info and automated migrator: https://sass-lang.com/d/import

1 │ @import "./src/styles/variables";

│ ^^^^^^^^^^^^^^^^^^^^^^^^

src\App.vue 1:9 root stylesheet

Deprecation Warning legacy-js-api: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.

More info: https://sass-lang.com/d/legacy-js-api

Deprecation Warning import: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

More info and automated migrator: https://sass-lang.com/d/import

1 │ @import "./src/styles/variables";

│ ^^^^^^^^^^^^^^^^^^^^^^^^

src\App.vue 1:9 root stylesheet

Deprecation Warning legacy-js-api: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.

More info: https://sass-lang.com/d/legacy-js-api

Deprecation Warning import: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

More info and automated migrator: https://sass-lang.com/d/import

1 │ @import "./src/styles/variables";@import './common.scss';

│ ^^^^^^^^^^^^^^^^^^^^^^^^

src\styles\index.scss 1:9 root stylesheet

Deprecation Warning import: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

More info and automated migrator: https://sass-lang.com/d/import

1 │ @import "./src/styles/variables";@import './common.scss';

│ ^^^^^^^^^^^^^^^

src\styles\index.scss 1:42 root stylesheet

Deprecation Warning import: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

More info and automated migrator: https://sass-lang.com/d/import

2 │ @import 'flex.style.scss';

│ ^^^^^^^^^^^^^^^^^

src\styles\index.scss 2:9 root stylesheet

Deprecation Warning import: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

More info and automated migrator: https://sass-lang.com/d/import

3 │ @import 'fonts.scss';

│ ^^^^^^^^^^^^

src\styles\index.scss 3:9 root stylesheet

Deprecation Warning legacy-js-api: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.

More info: https://sass-lang.com/d/legacy-js-api

Deprecation Warning import: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

More info and automated migrator: https://sass-lang.com/d/import

1 │ @import "./src/styles/variables";

│ ^^^^^^^^^^^^^^^^^^^^^^^^

src\components\svgIcon.vue 1:9 root stylesheet

Deprecation Warning legacy-js-api: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.

More info: https://sass-lang.com/d/legacy-js-api

Deprecation Warning import: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

More info and automated migrator: https://sass-lang.com/d/import

1 │ @import "./src/styles/variables";

│ ^^^^^^^^^^^^^^^^^^^^^^^^

src\components\livestream-agora.vue 1:9 root stylesheet

Deprecation Warning import: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

More info and automated migrator: https://sass-lang.com/d/import

2 │ @import '/@/styles/index.scss';

│ ^^^^^^^^^^^^^^^^^^^^^^

src\components\livestream-agora.vue 2:9 root stylesheet

Deprecation Warning legacy-js-api: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.

More info: https://sass-lang.com/d/legacy-js-api

Deprecation Warning import: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

More info and automated migrator: https://sass-lang.com/d/import

1 │ @import "./src/styles/variables";

│ ^^^^^^^^^^^^^^^^^^^^^^^^

src\components\livestream-others.vue 1:9 root stylesheet

Deprecation Warning import: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

More info and automated migrator: https://sass-lang.com/d/import

2 │ @import '/@/styles/index.scss';

│ ^^^^^^^^^^^^^^^^^^^^^^

src\components\livestream-others.vue 2:9 root stylesheet

Deprecation Warning import: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

More info and automated migrator: https://sass-lang.com/d/import

1 │ @import './common.scss';

│ ^^^^^^^^^^^^^^^

src\styles\index.scss 1:9 @import

src\components\livestream-agora.vue 2:9 root stylesheet

Deprecation Warning import: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

More info and automated migrator: https://sass-lang.com/d/import

2 │ @import 'flex.style.scss';

│ ^^^^^^^^^^^^^^^^^

src\styles\index.scss 2:9 @import

src\components\livestream-agora.vue 2:9 root stylesheet

Deprecation Warning import: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

More info and automated migrator: https://sass-lang.com/d/import

3 │ @import 'fonts.scss';

│ ^^^^^^^^^^^^

src\styles\index.scss 3:9 @import

src\components\livestream-agora.vue 2:9 root stylesheet

Deprecation Warning import: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

More info and automated migrator: https://sass-lang.com/d/import

1 │ @import './common.scss';

│ ^^^^^^^^^^^^^^^

src\styles\index.scss 1:9 @import

src\components\livestream-others.vue 2:9 root stylesheet

Deprecation Warning import: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

More info and automated migrator: https://sass-lang.com/d/import

2 │ @import 'flex.style.scss';

│ ^^^^^^^^^^^^^^^^^

src\styles\index.scss 2:9 @import

src\components\livestream-others.vue 2:9 root stylesheet

Deprecation Warning import: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

More info and automated migrator: https://sass-lang.com/d/import

3 │ @import 'fonts.scss';

│ ^^^^^^^^^^^^

src\styles\index.scss 3:9 @import

src\components\livestream-others.vue 2:9 root stylesheet

Deprecation Warning legacy-js-api: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.

More info: https://sass-lang.com/d/legacy-js-api

Deprecation Warning import: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

More info and automated migrator: https://sass-lang.com/d/import

1 │ @import "./src/styles/variables";

│ ^^^^^^^^^^^^^^^^^^^^^^^^

src\components\GMap.vue 1:9 root stylesheet

Deprecation Warning legacy-js-api: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.

More info: https://sass-lang.com/d/legacy-js-api

Deprecation Warning import: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

More info and automated migrator: https://sass-lang.com/d/import

1 │ @import "./src/styles/variables";

│ ^^^^^^^^^^^^^^^^^^^^^^^^

src\components\g-map\DockControlPanel.vue 1:9 root stylesheet

Deprecation Warning legacy-js-api: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.

More info: https://sass-lang.com/d/legacy-js-api

Deprecation Warning import: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

More info and automated migrator: https://sass-lang.com/d/import

1 │ @import "./src/styles/variables";

│ ^^^^^^^^^^^^^^^^^^^^^^^^

src\components\flight-area\FlightAreaActionIcon.vue 1:9 root stylesheet

Deprecation Warning legacy-js-api: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.

More info: https://sass-lang.com/d/legacy-js-api

Deprecation Warning import: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

More info and automated migrator: https://sass-lang.com/d/import

1 │ @import "./src/styles/variables";

│ ^^^^^^^^^^^^^^^^^^^^^^^^

src\components\g-map\DroneControlPanel.vue 1:9 root stylesheet

@vue/compiler-sfc ::v-deep usage as a combinator has been deprecated. Use :deep() instead of ::v-deep .

@vue/compiler-sfc ::v-deep usage as a combinator has been deprecated. Use :deep() instead of ::v-deep .

Deprecation Warning legacy-js-api: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.

More info: https://sass-lang.com/d/legacy-js-api

Deprecation Warning import: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

More info and automated migrator: https://sass-lang.com/d/import

1 │ @import "./src/styles/variables";

│ ^^^^^^^^^^^^^^^^^^^^^^^^

src\components\flight-area\FlightAreaIcon.vue 1:9 root stylesheet

Deprecation Warning legacy-js-api: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.

More info: https://sass-lang.com/d/legacy-js-api

Deprecation Warning import: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

More info and automated migrator: https://sass-lang.com/d/import

1 │ @import "./src/styles/variables";

│ ^^^^^^^^^^^^^^^^^^^^^^^^

src\components\g-map\DroneControlPopover.vue 1:9 root stylesheet

Deprecation Warning legacy-js-api: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.

More info: https://sass-lang.com/d/legacy-js-api

Deprecation Warning import: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

More info and automated migrator: https://sass-lang.com/d/import

1 │ @import "./src/styles/variables";

│ ^^^^^^^^^^^^^^^^^^^^^^^^

src\components\g-map\DroneControlInfoPanel.vue 1:9 root stylesheet

@vue/compiler-sfc ::v-deep usage as a combinator has been deprecated. Use :deep() instead of ::v-deep .

E:\SoftProject\DJiProject\Cloud-API-Demo-Web>cnpm install moment lodash vue

√ Linked 3 latest versions fallback to E:\SoftProject\DJiProject\Cloud-API-Demo-Web\node_modules.store\node_modules

√ Installed 3 packages on E:\SoftProject\DJiProject\Cloud-API-Demo-Web

√ All packages installed (used 267ms(network 265ms), speed 0B/s, json 0(0B), tarball 0B, manifests cache hit 3, etag hit 3 / miss 0)

dependencies:

  • moment ^2.30.1
  • lodash ^4.18.1
  • vue ^3.5.35

E:\SoftProject\DJiProject\Cloud-API-Demo-Web>npm run serve

demo-web@0.0.1 serve

vite

vite v2.9.18 dev server running at:

Network: http://192.168.2.194:8080/

Local: http://localhost:8080/

ready in 42796ms.

The following dependencies are imported but could not be resolved:

@vue/reactivity (imported by E:/SoftProject/DJiProject/Cloud-API-Demo-Web/src/components/task/TaskPanel.vue?id=0) Are they installed?
@vue/compiler-sfc defineProps is a compiler macro and no longer needs to be imported.

Failed to resolve import "@vue/reactivity" from "src\pages\page-web\projects\dock.vue". Does the file exist?

Failed to resolve import "@vue/reactivity" from "src\pages\page-web\projects\wayline.vue". Does the file exist?

@vue/compiler-sfc defineEmits is a compiler macro and no longer needs to be imported.

Deprecation Warning legacy-js-api: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.

More info: https://sass-lang.com/d/legacy-js-api

Deprecation Warning import: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

More info and automated migrator: https://sass-lang.com/d/import

1 │ @import "./src/styles/variables";@import './common.scss';

│ ^^^^^^^^^^^^^^^^^^^^^^^^

src\styles\index.scss 1:9 root stylesheet

Deprecation Warning import: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

More info and automated migrator: https://sass-lang.com/d/import

1 │ @import "./src/styles/variables";@import './common.scss';

│ ^^^^^^^^^^^^^^^

src\styles\index.scss 1:42 root stylesheet

Deprecation Warning import: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

More info and automated migrator: https://sass-lang.com/d/import

2 │ @import 'flex.style.scss';

│ ^^^^^^^^^^^^^^^^^

src\styles\index.scss 2:9 root stylesheet

Deprecation Warning import: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

More info and automated migrator: https://sass-lang.com/d/import

3 │ @import 'fonts.scss';

│ ^^^^^^^^^^^^

src\styles\index.scss 3:9 root stylesheet

Deprecation Warning legacy-js-api: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.

More info: https://sass-lang.com/d/legacy-js-api

Deprecation Warning import: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

More info and automated migrator: https://sass-lang.com/d/import

1 │ @import "./src/styles/variables";

│ ^^^^^^^^^^^^^^^^^^^^^^^^

src\App.vue 1:9 root stylesheet

Deprecation Warning legacy-js-api: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.

More info: https://sass-lang.com/d/legacy-js-api

Deprecation Warning import: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

More info and automated migrator: https://sass-lang.com/d/import

1 │ @import "./src/styles/variables";

│ ^^^^^^^^^^^^^^^^^^^^^^^^

src\App.vue 1:9 root stylesheet

Deprecation Warning legacy-js-api: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.

More info: https://sass-lang.com/d/legacy-js-api

Deprecation Warning import: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

More info and automated migrator: https://sass-lang.com/d/import

1 │ @import "./src/styles/variables";

│ ^^^^^^^^^^^^^^^^^^^^^^^^

src\components\svgIcon.vue 1:9 root stylesheet

Deprecation Warning legacy-js-api: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.

More info: https://sass-lang.com/d/legacy-js-api

Deprecation Warning import: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

More info and automated migrator: https://sass-lang.com/d/import

1 │ @import "./src/styles/variables";

│ ^^^^^^^^^^^^^^^^^^^^^^^^

src\components\GMap.vue 1:9 root stylesheet

Deprecation Warning legacy-js-api: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.

More info: https://sass-lang.com/d/legacy-js-api

Deprecation Warning import: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

More info and automated migrator: https://sass-lang.com/d/import

1 │ @import "./src/styles/variables";

│ ^^^^^^^^^^^^^^^^^^^^^^^^

src\components\livestream-others.vue 1:9 root stylesheet

Deprecation Warning import: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

More info and automated migrator: https://sass-lang.com/d/import

2 │ @import '/@/styles/index.scss';

│ ^^^^^^^^^^^^^^^^^^^^^^

src\components\livestream-others.vue 2:9 root stylesheet

Deprecation Warning legacy-js-api: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.

More info: https://sass-lang.com/d/legacy-js-api

Deprecation Warning import: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

More info and automated migrator: https://sass-lang.com/d/import

1 │ @import "./src/styles/variables";

│ ^^^^^^^^^^^^^^^^^^^^^^^^

src\components\livestream-agora.vue 1:9 root stylesheet

Deprecation Warning import: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

More info and automated migrator: https://sass-lang.com/d/import

2 │ @import '/@/styles/index.scss';

│ ^^^^^^^^^^^^^^^^^^^^^^

src\components\livestream-agora.vue 2:9 root stylesheet

Deprecation Warning import: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

More info and automated migrator: https://sass-lang.com/d/import

1 │ @import './common.scss';

│ ^^^^^^^^^^^^^^^

src\styles\index.scss 1:9 @import

src\components\livestream-others.vue 2:9 root stylesheet

Deprecation Warning import: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

More info and automated migrator: https://sass-lang.com/d/import

2 │ @import 'flex.style.scss';

│ ^^^^^^^^^^^^^^^^^

src\styles\index.scss 2:9 @import

src\components\livestream-others.vue 2:9 root stylesheet

Deprecation Warning import: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

More info and automated migrator: https://sass-lang.com/d/import

3 │ @import 'fonts.scss';

│ ^^^^^^^^^^^^

src\styles\index.scss 3:9 @import

src\components\livestream-others.vue 2:9 root stylesheet

Deprecation Warning legacy-js-api: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.

More info: https://sass-lang.com/d/legacy-js-api

Deprecation Warning import: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

More info and automated migrator: https://sass-lang.com/d/import

1 │ @import "./src/styles/variables";

│ ^^^^^^^^^^^^^^^^^^^^^^^^

src\components\task\CreatePlan.vue 1:9 root stylesheet

Deprecation Warning import: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

More info and automated migrator: https://sass-lang.com/d/import

1 │ @import './common.scss';

│ ^^^^^^^^^^^^^^^

src\styles\index.scss 1:9 @import

src\components\livestream-agora.vue 2:9 root stylesheet

Deprecation Warning import: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

More info and automated migrator: https://sass-lang.com/d/import

2 │ @import 'flex.style.scss';

│ ^^^^^^^^^^^^^^^^^

src\styles\index.scss 2:9 @import

src\components\livestream-agora.vue 2:9 root stylesheet

Deprecation Warning import: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

More info and automated migrator: https://sass-lang.com/d/import

3 │ @import 'fonts.scss';

│ ^^^^^^^^^^^^

src\styles\index.scss 3:9 @import

src\components\livestream-agora.vue 2:9 root stylesheet

Deprecation Warning legacy-js-api: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.

More info: https://sass-lang.com/d/legacy-js-api

Deprecation Warning import: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

More info and automated migrator: https://sass-lang.com/d/import

1 │ @import "./src/styles/variables";

│ ^^^^^^^^^^^^^^^^^^^^^^^^

src\components\g-map\DockControlPanel.vue 1:9 root stylesheet

Deprecation Warning legacy-js-api: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.

More info: https://sass-lang.com/d/legacy-js-api

Deprecation Warning import: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

More info and automated migrator: https://sass-lang.com/d/import

1 │ @import "./src/styles/variables";

│ ^^^^^^^^^^^^^^^^^^^^^^^^

src\components\flight-area\FlightAreaActionIcon.vue 1:9 root stylesheet

Deprecation Warning legacy-js-api: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.

More info: https://sass-lang.com/d/legacy-js-api

Deprecation Warning import: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

More info and automated migrator: https://sass-lang.com/d/import

1 │ @import "./src/styles/variables";

│ ^^^^^^^^^^^^^^^^^^^^^^^^

src\components\g-map\DroneControlPanel.vue 1:9 root stylesheet

@vue/compiler-sfc ::v-deep usage as a combinator has been deprecated. Use :deep() instead of ::v-deep .

@vue/compiler-sfc ::v-deep usage as a combinator has been deprecated. Use :deep() instead of ::v-deep .

Deprecation Warning legacy-js-api: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.

More info: https://sass-lang.com/d/legacy-js-api

Deprecation Warning import: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

More info and automated migrator: https://sass-lang.com/d/import

1 │ @import "./src/styles/variables";

│ ^^^^^^^^^^^^^^^^^^^^^^^^

src\components\g-map\DeviceSettingBox.vue 1:9 root stylesheet

Deprecation Warning legacy-js-api: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.

More info: https://sass-lang.com/d/legacy-js-api

Deprecation Warning import: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

More info and automated migrator: https://sass-lang.com/d/import

1 │ @import "./src/styles/variables";

│ ^^^^^^^^^^^^^^^^^^^^^^^^

src\components\g-map\DroneControlInfoPanel.vue 1:9 root stylesheet

@vue/compiler-sfc ::v-deep usage as a combinator has been deprecated. Use :deep() instead of ::v-deep .

Deprecation Warning legacy-js-api: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.

More info: https://sass-lang.com/d/legacy-js-api

Deprecation Warning import: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

More info and automated migrator: https://sass-lang.com/d/import

1 │ @import "./src/styles/variables";

│ ^^^^^^^^^^^^^^^^^^^^^^^^

src\components\g-map\DroneControlPopover.vue 1:9 root stylesheet

Deprecation Warning legacy-js-api: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.

More info: https://sass-lang.com/d/legacy-js-api

Deprecation Warning import: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

More info and automated migrator: https://sass-lang.com/d/import

1 │ @import "./src/styles/variables";

│ ^^^^^^^^^^^^^^^^^^^^^^^^

src\components\flight-area\FlightAreaIcon.vue 1:9 root stylesheet

Deprecation Warning legacy-js-api: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.

More info: https://sass-lang.com/d/legacy-js-api

Deprecation Warning import: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

More info and automated migrator: https://sass-lang.com/d/import

1 │ @import "./src/styles/variables";

│ ^^^^^^^^^^^^^^^^^^^^^^^^

src\components\g-map\DeviceSettingPopover.vue 1:9 root stylesheet

终止批处理操作吗(Y/N)? y

E:\SoftProject\DJiProject\Cloud-API-Demo-Web>npm run dev

npm ERR! Missing script: "dev"

npm ERR!

npm ERR! To see a list of scripts, run:

npm ERR! npm run

npm ERR! A complete log of this run can be found in:

npm ERR! E:\RuanJian\Node\Node\node_cache_logs\2026-06-01T02_44_56_135Z-debug-0.log

**

E:\SoftProject\DJiProject\Cloud-API-Demo-Web>cnpm install @vue/reactivity

**

√ Linked 1 latest versions fallback to E:\SoftProject\DJiProject\Cloud-API-Demo-Web\node_modules.store\node_modules

√ Installed 1 packages on E:\SoftProject\DJiProject\Cloud-API-Demo-Web

√ All packages installed (used 86ms(network 84ms), speed 0B/s, json 0(0B), tarball 0B, manifests cache hit 1, etag hit 1 / miss 0)

**dependencies:

  • @vue/reactivity ^3.5.35**

E:\SoftProject\DJiProject\Cloud-API-Demo-Web>cnpm run serve

npm WARN cli npm v9.9.2 does not support Node.js v17.8.0. This version of npm supports the following node versions: ^14.17.0 || ^16.13.0 || >=18.0.0. You can find the latest version at https://nodejs.org/.

demo-web@0.0.1 serve

vite

vite v2.9.18 dev server running at:

Network: http://192.168.2.194:8080/

Local: http://localhost:8080/

ready in 840ms.

@vue/compiler-sfc defineProps is a compiler macro and no longer needs to be imported.

@vue/compiler-sfc defineEmits is a compiler macro and no longer needs to be imported.

Deprecation Warning legacy-js-api: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.

More info: https://sass-lang.com/d/legacy-js-api

Deprecation Warning import: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

More info and automated migrator: https://sass-lang.com/d/import

1 │ @import "./src/styles/variables";

│ ^^^^^^^^^^^^^^^^^^^^^^^^

src\App.vue 1:9 root stylesheet

Deprecation Warning legacy-js-api: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.

More info: https://sass-lang.com/d/legacy-js-api

Deprecation Warning import: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

More info and automated migrator: https://sass-lang.com/d/import

1 │ @import "./src/styles/variables";

│ ^^^^^^^^^^^^^^^^^^^^^^^^

src\App.vue 1:9 root stylesheet

Deprecation Warning legacy-js-api: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.

More info: https://sass-lang.com/d/legacy-js-api

Deprecation Warning import: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

More info and automated migrator: https://sass-lang.com/d/import

1 │ @import "./src/styles/variables";@import './common.scss';

│ ^^^^^^^^^^^^^^^^^^^^^^^^

src\styles\index.scss 1:9 root stylesheet

Deprecation Warning import: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

More info and automated migrator: https://sass-lang.com/d/import

1 │ @import "./src/styles/variables";@import './common.scss';

│ ^^^^^^^^^^^^^^^

src\styles\index.scss 1:42 root stylesheet

Deprecation Warning import: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

More info and automated migrator: https://sass-lang.com/d/import

2 │ @import 'flex.style.scss';

│ ^^^^^^^^^^^^^^^^^

src\styles\index.scss 2:9 root stylesheet

Deprecation Warning import: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

More info and automated migrator: https://sass-lang.com/d/import

3 │ @import 'fonts.scss';

│ ^^^^^^^^^^^^

src\styles\index.scss 3:9 root stylesheet

Deprecation Warning legacy-js-api: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.

More info: https://sass-lang.com/d/legacy-js-api

Deprecation Warning import: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

More info and automated migrator: https://sass-lang.com/d/import

1 │ @import "./src/styles/variables";

│ ^^^^^^^^^^^^^^^^^^^^^^^^

src\components\GMap.vue 1:9 root stylesheet

Deprecation Warning legacy-js-api: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.

More info: https://sass-lang.com/d/legacy-js-api

Deprecation Warning import: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

More info and automated migrator: https://sass-lang.com/d/import

1 │ @import "./src/styles/variables";

│ ^^^^^^^^^^^^^^^^^^^^^^^^

src\components\svgIcon.vue 1:9 root stylesheet

Deprecation Warning legacy-js-api: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.

More info: https://sass-lang.com/d/legacy-js-api

Deprecation Warning import: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

More info and automated migrator: https://sass-lang.com/d/import

1 │ @import "./src/styles/variables";

│ ^^^^^^^^^^^^^^^^^^^^^^^^

src\components\livestream-agora.vue 1:9 root stylesheet

Deprecation Warning import: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

More info and automated migrator: https://sass-lang.com/d/import

2 │ @import '/@/styles/index.scss';

│ ^^^^^^^^^^^^^^^^^^^^^^

src\components\livestream-agora.vue 2:9 root stylesheet

Deprecation Warning legacy-js-api: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.

More info: https://sass-lang.com/d/legacy-js-api

Deprecation Warning import: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

More info and automated migrator: https://sass-lang.com/d/import

1 │ @import "./src/styles/variables";

│ ^^^^^^^^^^^^^^^^^^^^^^^^

src\pages\page-web\projects\dock.vue 1:9 root stylesheet

Deprecation Warning legacy-js-api: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.

More info: https://sass-lang.com/d/legacy-js-api

Deprecation Warning import: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

More info and automated migrator: https://sass-lang.com/d/import

1 │ @import "./src/styles/variables";

│ ^^^^^^^^^^^^^^^^^^^^^^^^

src\components\task\CreatePlan.vue 1:9 root stylesheet

Deprecation Warning legacy-js-api: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.

More info: https://sass-lang.com/d/legacy-js-api

Deprecation Warning import: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

More info and automated migrator: https://sass-lang.com/d/import

1 │ @import "./src/styles/variables";

│ ^^^^^^^^^^^^^^^^^^^^^^^^

src\components\livestream-others.vue 1:9 root stylesheet

Deprecation Warning import: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

More info and automated migrator: https://sass-lang.com/d/import

2 │ @import '/@/styles/index.scss';

│ ^^^^^^^^^^^^^^^^^^^^^^

src\components\livestream-others.vue 2:9 root stylesheet

Deprecation Warning import: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

More info and automated migrator: https://sass-lang.com/d/import

1 │ @import './common.scss';

│ ^^^^^^^^^^^^^^^

src\styles\index.scss 1:9 @import

src\components\livestream-agora.vue 2:9 root stylesheet

Deprecation Warning import: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

More info and automated migrator: https://sass-lang.com/d/import

2 │ @import 'flex.style.scss';

│ ^^^^^^^^^^^^^^^^^

src\styles\index.scss 2:9 @import

src\components\livestream-agora.vue 2:9 root stylesheet

Deprecation Warning import: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

More info and automated migrator: https://sass-lang.com/d/import

3 │ @import 'fonts.scss';

│ ^^^^^^^^^^^^

src\styles\index.scss 3:9 @import

src\components\livestream-agora.vue 2:9 root stylesheet

Deprecation Warning import: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

More info and automated migrator: https://sass-lang.com/d/import

1 │ @import './common.scss';

│ ^^^^^^^^^^^^^^^

src\styles\index.scss 1:9 @import

src\components\livestream-others.vue 2:9 root stylesheet

Deprecation Warning import: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

More info and automated migrator: https://sass-lang.com/d/import

2 │ @import 'flex.style.scss';

│ ^^^^^^^^^^^^^^^^^

src\styles\index.scss 2:9 @import

src\components\livestream-others.vue 2:9 root stylesheet

Deprecation Warning import: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

More info and automated migrator: https://sass-lang.com/d/import

3 │ @import 'fonts.scss';

│ ^^^^^^^^^^^^

src\styles\index.scss 3:9 @import

src\components\livestream-others.vue 2:9 root stylesheet

Deprecation Warning legacy-js-api: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.

More info: https://sass-lang.com/d/legacy-js-api

Deprecation Warning import: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

More info and automated migrator: https://sass-lang.com/d/import

1 │ @import "./src/styles/variables";

│ ^^^^^^^^^^^^^^^^^^^^^^^^

src\pages\page-web\projects\wayline.vue 1:9 root stylesheet

Deprecation Warning legacy-js-api: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.

More info: https://sass-lang.com/d/legacy-js-api

Deprecation Warning import: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

More info and automated migrator: https://sass-lang.com/d/import

1 │ @import "./src/styles/variables";

│ ^^^^^^^^^^^^^^^^^^^^^^^^

src\components\g-map\DroneControlPanel.vue 1:9 root stylesheet

Deprecation Warning legacy-js-api: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.

More info: https://sass-lang.com/d/legacy-js-api

Deprecation Warning import: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

More info and automated migrator: https://sass-lang.com/d/import

1 │ @import "./src/styles/variables";

│ ^^^^^^^^^^^^^^^^^^^^^^^^

src\components\g-map\DockControlPanel.vue 1:9 root stylesheet

@vue/compiler-sfc ::v-deep usage as a combinator has been deprecated. Use :deep() instead of ::v-deep .

@vue/compiler-sfc ::v-deep usage as a combinator has been deprecated. Use :deep() instead of ::v-deep .

Deprecation Warning legacy-js-api: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.

More info: https://sass-lang.com/d/legacy-js-api

Deprecation Warning import: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

More info and automated migrator: https://sass-lang.com/d/import

1 │ @import "./src/styles/variables";

│ ^^^^^^^^^^^^^^^^^^^^^^^^

src\components\flight-area\FlightAreaActionIcon.vue 1:9 root stylesheet

Deprecation Warning legacy-js-api: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.

More info: https://sass-lang.com/d/legacy-js-api

Deprecation Warning import: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

More info and automated migrator: https://sass-lang.com/d/import

1 │ @import "./src/styles/variables";

│ ^^^^^^^^^^^^^^^^^^^^^^^^

src\components\g-map\DroneControlPopover.vue 1:9 root stylesheet

Deprecation Warning legacy-js-api: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.

More info: https://sass-lang.com/d/legacy-js-api

Deprecation Warning import: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

More info and automated migrator: https://sass-lang.com/d/import

1 │ @import "./src/styles/variables";

│ ^^^^^^^^^^^^^^^^^^^^^^^^

src\components\g-map\DeviceSettingBox.vue 1:9 root stylesheet

Deprecation Warning legacy-js-api: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.

More info: https://sass-lang.com/d/legacy-js-api

Deprecation Warning import: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

More info and automated migrator: https://sass-lang.com/d/import

1 │ @import "./src/styles/variables";

│ ^^^^^^^^^^^^^^^^^^^^^^^^

src\components\g-map\DroneControlInfoPanel.vue 1:9 root stylesheet

@vue/compiler-sfc ::v-deep usage as a combinator has been deprecated. Use :deep() instead of ::v-deep .

Deprecation Warning legacy-js-api: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.

More info: https://sass-lang.com/d/legacy-js-api

Deprecation Warning import: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

More info and automated migrator: https://sass-lang.com/d/import

1 │ @import "./src/styles/variables";

│ ^^^^^^^^^^^^^^^^^^^^^^^^

src\components\flight-area\FlightAreaIcon.vue 1:9 root stylesheet

Deprecation Warning legacy-js-api: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.

More info: https://sass-lang.com/d/legacy-js-api

Deprecation Warning import: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

More info and automated migrator: https://sass-lang.com/d/import

1 │ @import "./src/styles/variables";

│ ^^^^^^^^^^^^^^^^^^^^^^^^

src\components\g-map\DeviceSettingPopover.vue 1:9 root stylesheet

Deprecation Warning legacy-js-api: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.

More info: https://sass-lang.com/d/legacy-js-api

Deprecation Warning import: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

More info and automated migrator: https://sass-lang.com/d/import

1 │ @import "./src/styles/variables";

│ ^^^^^^^^^^^^^^^^^^^^^^^^

src\pages\page-web\index.vue 1:9 root stylesheet

Deprecation Warning import: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

More info and automated migrator: https://sass-lang.com/d/import

2 │ @import '/@/styles/index.scss';

│ ^^^^^^^^^^^^^^^^^^^^^^

src\pages\page-web\index.vue 2:9 root stylesheet

Deprecation Warning import: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

More info and automated migrator: https://sass-lang.com/d/import

1 │ @import './common.scss';

│ ^^^^^^^^^^^^^^^

src\styles\index.scss 1:9 @import

src\pages\page-web\index.vue 2:9 root stylesheet

Deprecation Warning import: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

More info and automated migrator: https://sass-lang.com/d/import

2 │ @import 'flex.style.scss';

│ ^^^^^^^^^^^^^^^^^

src\styles\index.scss 2:9 @import

src\pages\page-web\index.vue 2:9 root stylesheet

Deprecation Warning import: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

More info and automated migrator: https://sass-lang.com/d/import

3 │ @import 'fonts.scss';

│ ^^^^^^^^^^^^

src\styles\index.scss 3:9 @import

src\pages\page-web\index.vue 2:9 root stylesheet

相关推荐
Soari1 小时前
Hermes-webui:面向 Hermes Agent 的自托管 Web 控制台
前端·webui·agent ai·自托管ai
wgc2k3 小时前
Node.js游戏服务器项目移植 3-手撸简单的内存泄露监控
服务器·游戏·node.js
JustHappy10 小时前
古法编程秘籍(二):什么是代码模块化?别背概念,把房间收拾明白就够了
前端·后端
小江的记录本10 小时前
【JVM虚拟机】堆内存分代模型:年轻代(Eden+Survivor)、老年代、元空间Metaspace(附《思维导图》+《面试高频考点清单》)
java·前端·jvm·后端·python·spring·面试
weixin_4713830311 小时前
图片预解码缓存
前端·浏览器缓存·图片预解码
郑洁文12 小时前
基于网络爬虫的Web敏感信息泄露自动化检测工具
前端·爬虫·网络安全·自动化
zhiSiBuYu051713 小时前
Claude-Code 新手极速上手指南
javascript·node.js
郑洁文13 小时前
可视化Web渗透分析工具的设计与实现
前端
罗超驿13 小时前
18.Web API 实战:元素与表单属性的获取和修改
开发语言·前端·javascript