[Bug] Console project not start & docs is need to update
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 25/100
- issue の種類
- バグ
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- node.js, typescript, vite
- 領域
- build-system, frontend
調査の方向性
報告された Windows および Node 環境を使用し、npm i に続けて npm run dev を実行して、コンソールプロジェクトから再現します。まず src/App.vue、src/views/TestCase.vue、src/views/types.ts から始め、その後、解決できない imports と vue-codemirror のエラーを調査します。開発サーバーがこれらの依存関係解決エラーなしで起動すれば完了です。要求されたドキュメント更新の内容は指定されていません。
索引モデルが issue の本文から書いたものです。
説明
Description:
Console is start. but no.
Repro steps:
npm iorcnpm inpm run dev
Note: If there are privacy concerns, sanitize the data prior to
sharing.
Environment:
- win 11
- node 20.12.2 npm 9.8.1
Logs:
$ npm run dev
> [email protected] dev
> vite
VITE v4.5.3 ready in 686 ms
➜ Local: http://localhost:5173/
➜ Network: use --host to expose
➜ press h to show help
Error: The following dependencies are imported but could not be resolved:
@element-plus/icons-vue (imported by D:/open_sources/apitesting/console/atest-ui/src/views/TestCase.vue?id=0)
lodash (imported by D:/open_sources/apitesting/console/atest-ui/src/views/types.ts)
Are they installed?
at file:///D:/open_sources/apitesting/console/atest-ui/node_modules/.store/[email protected]/node_modules/vite/dist/node/chunks/dep-41cf5ffd.js:45779:23
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async file:///D:/open_sources/apitesting/console/atest-ui/node_modules/.store/[email protected]/node_modules/vite/dist/node/chunks/dep-41cf5ffd.js:45187:38
Failed to resolve import "@element-plus/icons-vue" from "src\App.vue". Does the file exist?
Failed to resolve import "@element-plus/icons-vue" from "src\views\SecretManager.vue". Does the file exist?
Failed to resolve import "@element-plus/icons-vue" from "src\views\StoreManager.vue". Does the file exist?
Failed to resolve import "@element-plus/icons-vue" from "src\views\TestingPanel.vue". Does the file exist?
22:01:16 [vite] Internal server error: Failed to resolve import "@element-plus/icons-vue" from "src\App.vue". Does the file exist?
Plugin: vite:import-analysis
File: D:/open_sources/apitesting/console/atest-ui/src/App.vue:7:7
5 | Location,
6 | Share
7 | } from "@element-plus/icons-vue";
| ^
8 | import { ref, watch } from "vue";
9 | import { API } from "./views/net";
at formatError (file:///D:/open_sources/apitesting/console/atest-ui/node_modules/.store/[email protected]/node_modules/vite/dist/node/chunks/dep-41cf5ffd.js:44062:46)
at TransformContext.error (file:///D:/open_sources/apitesting/console/atest-ui/node_modules/.store/[email protected]/node_modules/vite/dist/node/chunks/dep-41cf5ffd.js:44058:19)
at normalizeUrl (file:///D:/open_sources/apitesting/console/atest-ui/node_modules/.store/[email protected]/node_modules/vite/dist/node/chunks/dep-41cf5ffd.js:41844:33)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async file:///D:/open_sources/apitesting/console/atest-ui/node_modules/.store/[email protected]/node_modules/vite/dist/node/chunks/dep-41cf5ffd.js:41998:47
at async Promise.all (index 1)
at async TransformContext.transform (file:///D:/open_sources/apitesting/console/atest-ui/node_modules/.store/[email protected]/node_modules/vite/dist/node/chunks/dep-41cf5ffd.js:41914:13)
at async Object.transform (file:///D:/open_sources/apitesting/console/atest-ui/node_modules/.store/[email protected]/node_modules/vite/dist/node/chunks/dep-41cf5ffd.js:44352:30)
at async loadAndTransform (file:///D:/open_sources/apitesting/console/atest-ui/node_modules/.store/[email protected]/node_modules/vite/dist/node/chunks/dep-41cf5ffd.js:55026:29)
at async viteTransformMiddleware (file:///D:/open_sources/apitesting/console/atest-ui/node_modules/.store/[email protected]/node_modules/vite/dist/node/chunks/dep-41cf5ffd.js:64430:32)
Failed to resolve import "@element-plus/icons-vue" from "src\views\TestSuite.vue". Does the file exist?
Failed to resolve import "@element-plus/icons-vue" from "src\views\TestCase.vue". Does the file exist?
Failed to resolve import "@element-plus/icons-vue" from "src\views\TestingPanel.vue". Does the file exist?
Failed to resolve import "@element-plus/icons-vue" from "src\views\SecretManager.vue". Does the file exist?
Failed to resolve import "@element-plus/icons-vue" from "src\views\StoreManager.vue". Does the file exist?
Failed to resolve import "lodash" from "src\views\types.ts". Does the file exist?
Failed to resolve import "lodash" from "src\views\types.ts". Does the file exist? (x2)
Failed to resolve import "@element-plus/icons-vue" from "src\views\TestCase.vue". Does the file exist?
Failed to resolve import "@element-plus/icons-vue" from "src\views\TestSuite.vue". Does the file exist?
Failed to resolve import "lodash" from "src\views\types.ts". Does the file exist?
Failed to resolve import "lodash" from "src\views\types.ts". Does the file exist? (x2)
X [ERROR] Could not resolve "codemirror"
node_modules/.store/[email protected]/node_modules/vue-codemirror/dist/vue-codemirror.esm.js:7:172:
7 │ ...,watch as a,onBeforeUnmount as i,h as c}from"vue";import{basicSetup as s}from"codemirror";import{EditorState as l,Compartment as f,StateEffect as d}from"@codemirror/...
╵ ~~~~~~~~~~~~
You can mark the path "codemirror" as external to exclude it from the bundle, which will remove
this error.
22:01:17 [vite] error while updating dependencies:
Error: Build failed with 1 error:
node_modules/.store/[email protected]/node_modules/vue-codemirror/dist/vue-codemirror.esm.js:7:172: ERROR: Could not resolve "codemirror"
at failureErrorWithLog (D:\open_sources\apitesting\console\atest-ui\node_modules\.store\[email protected]\node_modules\esbuild\lib\main.js:1649:15)
at D:\open_sources\apitesting\console\atest-ui\node_modules\.store\[email protected]\node_modules\esbuild\lib\main.js:1058:25
at D:\open_sources\apitesting\console\atest-ui\node_modules\.store\[email protected]\node_modules\esbuild\lib\main.js:1525:9
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
22:01:17 [vite] Internal server error: Failed to resolve import "@element-plus/icons-vue" from "src\App.vue". Does the file exist?
Plugin: vite:import-analysis
File: D:/open_sources/apitesting/console/atest-ui/src/App.vue:7:7
5 | Location,
6 | Share
7 | } from "@element-plus/icons-vue";
| ^
8 | import { ref, watch } from "vue";
9 | import { API } from "./views/net";
at formatError (file:///D:/open_sources/apitesting/console/atest-ui/node_modules/.store/[email protected]/node_modules/vite/dist/node/chunks/dep-41cf5ffd.js:44062:46)
at TransformContext.error (file:///D:/open_sources/apitesting/console/atest-ui/node_modules/.store/[email protected]/node_modules/vite/dist/node/chunks/dep-41cf5ffd.js:44058:19)
at normalizeUrl (file:///D:/open_sources/apitesting/console/atest-ui/node_modules/.store/[email protected]/node_modules/vite/dist/node/chunks/dep-41cf5ffd.js:41844:33)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async file:///D:/open_sources/apitesting/console/atest-ui/node_modules/.store/[email protected]/node_modules/vite/dist/node/chunks/dep-41cf5ffd.js:41998:47
at async Promise.all (index 1)
at async TransformContext.transform (file:///D:/open_sources/apitesting/console/atest-ui/node_modules/.store/[email protected]/node_modules/vite/dist/node/chunks/dep-41cf5ffd.js:41914:13)
at async Object.transform (file:///D:/open_sources/apitesting/console/atest-ui/node_modules/.store/[email protected]/node_modules/vite/dist/node/chunks/dep-41cf5ffd.js:44352:30)
at async loadAndTransform (file:///D:/open_sources/apitesting/console/atest-ui/node_modules/.store/[email protected]/node_modules/vite/dist/node/chunks/dep-41cf5ffd.js:55026:29)
at async viteTransformMiddleware (file:///D:/open_sources/apitesting/console/atest-ui/node_modules/.store/[email protected]/node_modules/vite/dist/node/chunks/dep-41cf5ffd.js:64430:32)
Failed to resolve import "@element-plus/icons-vue" from "src\views\TestingPanel.vue". Does the file exist?
Failed to resolve import "@element-plus/icons-vue" from "src\views\SecretManager.vue". Does the file exist?
Failed to resolve import "@element-plus/icons-vue" from "src\views\StoreManager.vue". Does the file exist?
Failed to resolve import "@element-plus/icons-vue" from "src\views\TestCase.vue". Does the file exist?
Failed to resolve import "@element-plus/icons-vue" from "src\views\TestSuite.vue". Does the file exist?
Failed to resolve import "lodash" from "src\views\types.ts". Does the file exist?
Failed to resolve import "lodash" from "src\views\types.ts". Does the file exist? (x2)
7 │ ...,watch as a,onBeforeUnmount as i,h as c}from"vue";import{basicSetup as s}from"codemirror";import{EditorState as l,Compartment as f,StateEffect as d}from"@codemirror/...
╵ ~~~~~~~~~~~~
You can mark the path "codemirror" as external to exclude it from the bundle, which will remove
this error.
22:01:18 [vite] error while updating dependencies:
Error: Build failed with 1 error:
node_modules/.store/[email protected]/node_modules/vue-codemirror/dist/vue-codemirror.esm.js:7:172: ERROR: Could not resolve "codemirror"
at failureErrorWithLog (D:\open_sources\apitesting\console\atest-ui\node_modules\.store\[email protected]\node_modules\esbuild\lib\main.js:1649:15)
at D:\open_sources\apitesting\console\atest-ui\node_modules\.store\[email protected]\node_modules\esbuild\lib\main.js:1058:25
at D:\open_sources\apitesting\console\atest-ui\node_modules\.store\[email protected]\node_modules\esbuild\lib\main.js:1525:9
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
22:05:34 [vite] Internal server error: Failed to resolve import "@element-plus/icons-vue" from "src\App.vue". Does the file exist?
Plugin: vite:import-analysis
File: D:/open_sources/apitesting/console/atest-ui/src/App.vue:7:7
5 | Location,
6 | Share
7 | } from "@element-plus/icons-vue";
| ^
8 | import { ref, watch } from "vue";
9 | import { API } from "./views/net";
at formatError (file:///D:/open_sources/apitesting/console/atest-ui/node_modules/.store/[email protected]/node_modules/vite/dist/node/chunks/dep-41cf5ffd.js:44062:46)
at TransformContext.error (file:///D:/open_sources/apitesting/console/atest-ui/node_modules/.store/[email protected]/node_modules/vite/dist/node/chunks/dep-41cf5ffd.js:44058:19)
at normalizeUrl (file:///D:/open_sources/apitesting/console/atest-ui/node_modules/.store/[email protected]/node_modules/vite/dist/node/chunks/dep-41cf5ffd.js:41844:33)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async file:///D:/open_sources/apitesting/console/atest-ui/node_modules/.store/[email protected]/node_modules/vite/dist/node/chunks/dep-41cf5ffd.js:41998:47
at async Promise.all (index 1)
at async TransformContext.transform (file:///D:/open_sources/apitesting/console/atest-ui/node_modules/.store/[email protected]/node_modules/vite/dist/node/chunks/dep-41cf5ffd.js:41914:13)
at async Object.transform (file:///D:/open_sources/apitesting/console/atest-ui/node_modules/.store/[email protected]/node_modules/vite/dist/node/chunks/dep-41cf5ffd.js:44352:30)
at async loadAndTransform (file:///D:/open_sources/apitesting/console/atest-ui/node_modules/.store/[email protected]/node_modules/vite/dist/node/chunks/dep-41cf5ffd.js:55026:29)
at async viteTransformMiddleware (file:///D:/open_sources/apitesting/console/atest-ui/node_modules/.store/[email protected]/node_modules/vite/dist/node/chunks/dep-41cf5ffd.js:64430:32)
Failed to resolve import "@element-plus/icons-vue" from "src\views\TestingPanel.vue". Does the file exist?
Failed to resolve import "@element-plus/icons-vue" from "src\views\SecretManager.vue". Does the file exist?
Failed to resolve import "@element-plus/icons-vue" from "src\views\StoreManager.vue". Does the file exist?
Failed to resolve import "@element-plus/icons-vue" from "src\views\TestCase.vue". Does the file exist?
Failed to resolve import "@element-plus/icons-vue" from "src\views\TestSuite.vue". Does the file exist?
Failed to resolve import "lodash" from "src\views\types.ts". Does the file exist?
Failed to resolve import "lodash" from "src\views\types.ts". Does the file exist? (x2)
22:05:35 [vite] Internal server error: Failed to resolve import "@element-plus/icons-vue" from "src\App.vue". Does the file exist?
Plugin: vite:import-analysis
File: D:/open_sources/apitesting/console/atest-ui/src/App.vue:7:7
5 | Location,
6 | Share
7 | } from "@element-plus/icons-vue";
| ^
8 | import { ref, watch } from "vue";
9 | import { API } from "./views/net";
at formatError (file:///D:/open_sources/apitesting/console/atest-ui/node_modules/.store/[email protected]/node_modules/vite/dist/node/chunks/dep-41cf5ffd.js:44062:46)
at TransformContext.error (file:///D:/open_sources/apitesting/console/atest-ui/node_modules/.store/[email protected]/node_modules/vite/dist/node/chunks/dep-41cf5ffd.js:44058:19)
at normalizeUrl (file:///D:/open_sources/apitesting/console/atest-ui/node_modules/.store/[email protected]/node_modules/vite/dist/node/chunks/dep-41cf5ffd.js:41844:33)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async file:///D:/open_sources/apitesting/console/atest-ui/node_modules/.store/[email protected]/node_modules/vite/dist/node/chunks/dep-41cf5ffd.js:41998:47
at async Promise.all (index 1)
at async TransformContext.transform (file:///D:/open_sources/apitesting/console/atest-ui/node_modules/.store/[email protected]/node_modules/vite/dist/node/chunks/dep-41cf5ffd.js:41914:13)
at async Object.transform (file:///D:/open_sources/apitesting/console/atest-ui/node_modules/.store/[email protected]/node_modules/vite/dist/node/chunks/dep-41cf5ffd.js:44352:30)
at async loadAndTransform (file:///D:/open_sources/apitesting/console/atest-ui/node_modules/.store/[email protected]/node_modules/vite/dist/node/chunks/dep-41cf5ffd.js:55026:29)
at async viteTransformMiddleware (file:///D:/open_sources/apitesting/console/atest-ui/node_modules/.store/[email protected]/node_modules/vite/dist/node/chunks/dep-41cf5ffd.js:64430:32)
X [ERROR] Could not resolve "codemirror"
node_modules/.store/[email protected]/node_modules/vue-codemirror/dist/vue-codemirror.esm.js:7:172:
7 │ ...,watch as a,onBeforeUnmount as i,h as c}from"vue";import{basicSetup as s}from"codemirror";import{EditorState as l,Compartment as f,StateEffect as d}from"@codemirror/...
╵ ~~~~~~~~~~~~
You can mark the path "codemirror" as external to exclude it from the bundle, which will remove
this error.
Failed to resolve import "@element-plus/icons-vue" from "src\views\StoreManager.vue". Does the file exist?
Failed to resolve import "@element-plus/icons-vue" from "src\views\SecretManager.vue". Does the file exist?
Failed to resolve import "@element-plus/icons-vue" from "src\views\TestingPanel.vue". Does the file exist?
Failed to resolve import "@element-plus/icons-vue" from "src\views\TestSuite.vue". Does the file exist?
Failed to resolve import "@element-plus/icons-vue" from "src\views\TestCase.vue". Does the file exist?
Failed to resolve import "lodash" from "src\views\types.ts". Does the file exist?
Failed to resolve import "lodash" from "src\views\types.ts". Does the file exist? (x2)
22:05:35 [vite] error while updating dependencies:
Error: Build failed with 1 error:
node_modules/.store/[email protected]/node_modules/vue-codemirror/dist/vue-codemirror.esm.js:7:172: ERROR: Could not resolve "codemirror"
at failureErrorWithLog (D:\open_sources\apitesting\console\atest-ui\node_modules\.store\[email protected]\node_modules\esbuild\lib\main.js:1649:15)
at D:\open_sources\apitesting\console\atest-ui\node_modules\.store\[email protected]\node_modules\esbuild\lib\main.js:1058:25
at D:\open_sources\apitesting\console\atest-ui\node_modules\.store\[email protected]\node_modules\esbuild\lib\main.js:1525:9
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
22:05:35 [vite] Internal server error: Failed to resolve import "@element-plus/icons-vue" from "src\App.vue". Does the file exist?
Plugin: vite:import-analysis
File: D:/open_sources/apitesting/console/atest-ui/src/App.vue:7:7
5 | Location,
6 | Share
7 | } from "@element-plus/icons-vue";
| ^
8 | import { ref, watch } from "vue";
9 | import { API } from "./views/net";
at formatError (file:///D:/open_sources/apitesting/console/atest-ui/node_modules/.store/[email protected]/node_modules/vite/dist/node/chunks/dep-41cf5ffd.js:44062:46)
at TransformContext.error (file:///D:/open_sources/apitesting/console/atest-ui/node_modules/.store/[email protected]/node_modules/vite/dist/node/chunks/dep-41cf5ffd.js:44058:19)
at normalizeUrl (file:///D:/open_sources/apitesting/console/atest-ui/node_modules/.store/[email protected]/node_modules/vite/dist/node/chunks/dep-41cf5ffd.js:41844:33)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async file:///D:/open_sources/apitesting/console/atest-ui/node_modules/.store/[email protected]/node_modules/vite/dist/node/chunks/dep-41cf5ffd.js:41998:47
at async Promise.all (index 1)
at async TransformContext.transform (file:///D:/open_sources/apitesting/console/atest-ui/node_modules/.store/[email protected]/node_modules/vite/dist/node/chunks/dep-41cf5ffd.js:41914:13)
at async Object.transform (file:///D:/open_sources/apitesting/console/atest-ui/node_modules/.store/[email protected]/node_modules/vite/dist/node/chunks/dep-41cf5ffd.js:44352:30)
at async loadAndTransform (file:///D:/open_sources/apitesting/console/atest-ui/node_modules/.store/[email protected]/node_modules/vite/dist/node/chunks/dep-41cf5ffd.js:55026:29)
at async viteTransformMiddleware (file:///D:/open_sources/apitesting/console/atest-ui/node_modules/.store/[email protected]/node_modules/vite/dist/node/chunks/dep-41cf5ffd.js:64430:32)
X [ERROR] Could not resolve "codemirror"
node_modules/.store/[email protected]/node_modules/vue-codemirror/dist/vue-codemirror.esm.js:7:172:
7 │ ...,watch as a,onBeforeUnmount as i,h as c}from"vue";import{basicSetup as s}from"codemirror";import{EditorState as l,Compartment as f,StateEffect as d}from"@codemirror/...
╵ ~~~~~~~~~~~~
You can mark the path "codemirror" as external to exclude it from the bundle, which will remove
this error.
22:05:36 [vite] error while updating dependencies:
Error: Build failed with 1 error:
node_modules/.store/[email protected]/node_modules/vue-codemirror/dist/vue-codemirror.esm.js:7:172: ERROR: Could not resolve "codemirror"
at failureErrorWithLog (D:\open_sources\apitesting\console\atest-ui\node_modules\.store\[email protected]\node_modules\esbuild\lib\main.js:1649:15)
at D:\open_sources\apitesting\console\atest-ui\node_modules\.store\[email protected]\node_modules\esbuild\lib\main.js:1058:25
at D:\open_sources\apitesting\console\atest-ui\node_modules\.store\[email protected]\node_modules\esbuild\lib\main.js:1525:9
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
And I didn't do anything other than the above steps.
- 主要言語
- Go
- スター
- 369
- フォーク
- 67
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
LinuxSuRen/api-testing のほかの issue
-
難易度 5/5 1週間以上 初心者へのやさしさ 1/100
LinuxSuRen/api-testing#877 ·
-
Running via Docker results in an error when accessing the web page.再び着手できるかも @yuluo-yx が 182 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
LinuxSuRen/api-testing#871 · 担当者 1 名 ·
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 42/100
LinuxSuRen/api-testing#828 · リアクション 1 件 ·
-
ospp ui
難易度 4/5 3〜5日 初心者へのやさしさ 38/100
LinuxSuRen/api-testing#729 · コメント 4 件 ·
-
[Feat]: Add In-App Feedback Button to Improve User Feedback Channels再び着手できるかも @bhavESH-CHAWLA が 123 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンenhancement ospp
LinuxSuRen/api-testing#706 · コメント 4 件 · 担当者 1 名 ·
LinuxSuRen/api-testing の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信
-
type/bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
[E2E Scenario Tests] HTTP logs capture export requests from test framework, polluting golden filesオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
GoogleCloudPlatform/k8s-config-connector#13675 ·
メンテナーはふだん 1 日以内に返信
-
ai-inspected
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
type/bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信