You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
kazrael2119 opened this issue
Aug 30, 2024
· 4 comments
Labels
dev-toolIssues related to the Azure SDK for JS dev-toolquestionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that
command: dev-tool run typecheck
package path: sdk\core\core-lro
error message:
$ dev-tool run typecheck
[typecheck] type-checking...
[typecheck] ../../../common/temp/node_modules/.pnpm/@[email protected]/node_modules/@types/chai/index.d.ts:1:1 - error TS6200: Definitions of the following identifiers conflict with those in another file: Message, ObjectProperty, ChaiPlugin, AssertionArgs, Operator, OperatorComparable, AssertionError, chai
1 declare namespace Chai {
~~~~~~~
../../../common/temp/node_modules/.pnpm/@[email protected]/node_modules/@vitest/expect/dist/chai.d.cts:16:1
16 declare namespace Chai {
~~~~~~~
Conflicts are in this file.
../../../common/temp/node_modules/.pnpm/@[email protected]/node_modules/@vitest/expect/dist/chai.d.cts:16:1 - error TS6200: Definitions of the following identifiers conflict with those in another file: Message, ObjectProperty, ChaiPlugin, AssertionArgs, Operator, OperatorComparable, AssertionError, chai
16 declare namespace Chai {
~~~~~~~
../../../common/temp/node_modules/.pnpm/@[email protected]/node_modules/@types/chai/index.d.ts:1:1
1 declare namespace Chai {
~~~~~~~
Conflicts are in this file.
../../../common/temp/node_modules/.pnpm/[email protected]_@[email protected]/node_modules/vite-node/dist/index-CCsqCcr7.d.ts:88:14 - error TS2304: Cannot find name 'WebSocket'.
88 webSocket: WebSocket
~~~~~~~~~
../../../common/temp/node_modules/.pnpm/[email protected]_@[email protected]/node_modules/vite-node/dist/server.d.ts:1:10 - error TS2305: Module '"vite"' has no exported member 'TransformResult'.
1 import { TransformResult, ViteDevServer } from 'vite';
~~~~~~~~~~~~~~~
../../../common/temp/node_modules/.pnpm/[email protected]_@[email protected]/node_modules/vite-node/dist/server.d.ts:1:27 - error TS2305: Module '"vite"' has no exported member 'ViteDevServer'.
1 import { TransformResult, ViteDevServer } from 'vite';
~~~~~~~~~~~~~
../../../common/temp/node_modules/.pnpm/[email protected]_@[email protected]_@[email protected]/node_modules/vitest/dist/chunks/reporters.C_zwCd4j.d.ts:4:10 - error TS2305: Module '"vite"' has no exported member 'ViteDevServer'.
4 import { ViteDevServer, TransformResult as TransformResult$1, UserConfig as UserConfig$1, ConfigEnv, ServerOptions, DepOptimizationConfig, AliasOptions } from 'vite';
~~~~~~~~~~~~~
../../../common/temp/node_modules/.pnpm/[email protected]_@[email protected]_@[email protected]/node_modules/vitest/dist/chunks/reporters.C_zwCd4j.d.ts:4:25 - error TS2305: Module '"vite"' has no exported member 'TransformResult'.
4 import { ViteDevServer, TransformResult as TransformResult$1, UserConfig as UserConfig$1, ConfigEnv, ServerOptions, DepOptimizationConfig, AliasOptions } from 'vite';
~~~~~~~~~~~~~~~
../../../common/temp/node_modules/.pnpm/[email protected]_@[email protected]_@[email protected]/node_modules/vitest/dist/chunks/reporters.C_zwCd4j.d.ts:4:63 - error TS2305: Module '"vite"' has no exported member 'UserConfig'.
4 import { ViteDevServer, TransformResult as TransformResult$1, UserConfig as UserConfig$1, ConfigEnv, ServerOptions, DepOptimizationConfig, AliasOptions } from 'vite';
~~~~~~~~~~
../../../common/temp/node_modules/.pnpm/[email protected]_@[email protected]_@[email protected]/node_modules/vitest/dist/chunks/reporters.C_zwCd4j.d.ts:4:91 - error TS2305: Module '"vite"' has no exported member 'ConfigEnv'.
4 import { ViteDevServer, TransformResult as TransformResult$1, UserConfig as UserConfig$1, ConfigEnv, ServerOptions, DepOptimizationConfig, AliasOptions } from 'vite';
~~~~~~~~~
../../../common/temp/node_modules/.pnpm/[email protected]_@[email protected]_@[email protected]/node_modules/vitest/dist/chunks/reporters.C_zwCd4j.d.ts:4:102 - error TS2305: Module '"vite"' has no exported member 'ServerOptions'.
4 import { ViteDevServer, TransformResult as TransformResult$1, UserConfig as UserConfig$1, ConfigEnv, ServerOptions, DepOptimizationConfig, AliasOptions } from 'vite';
~~~~~~~~~~~~~
../../../common/temp/node_modules/.pnpm/[email protected]_@[email protected]_@[email protected]/node_modules/vitest/dist/chunks/reporters.C_zwCd4j.d.ts:4:117 - error TS2305: Module '"vite"' has no exported member 'DepOptimizationConfig'.
4 import { ViteDevServer, TransformResult as TransformResult$1, UserConfig as UserConfig$1, ConfigEnv, ServerOptions, DepOptimizationConfig, AliasOptions } from 'vite';
~~~~~~~~~~~~~~~~~~~~~
../../../common/temp/node_modules/.pnpm/[email protected]_@[email protected]_@[email protected]/node_modules/vitest/dist/chunks/reporters.C_zwCd4j.d.ts:4:140 - error TS2305: Module '"vite"' has no exported member 'AliasOptions'.
4 import { ViteDevServer, TransformResult as TransformResult$1, UserConfig as UserConfig$1, ConfigEnv, ServerOptions, DepOptimizationConfig, AliasOptions } from 'vite';
~~~~~~~~~~~~
../../../common/temp/node_modules/.pnpm/[email protected]_@[email protected]_@[email protected]/node_modules/vitest/dist/chunks/reporters.C_zwCd4j.d.ts:643:45 - error TS2503: Cannot find namespace 'vite'.
643 getModulesByFilepath(file: string): Set<vite.ModuleNode>;
~~~~
../../../common/temp/node_modules/.pnpm/[email protected]_@[email protected]_@[email protected]/node_modules/vitest/dist/chunks/reporters.C_zwCd4j.d.ts:644:32 - error TS2503: Cannot find namespace 'vite'.
644 getModuleById(id: string): vite.ModuleNode | undefined;
~~~~
../../../common/temp/node_modules/.pnpm/[email protected]_@[email protected]_@[email protected]/node_modules/vitest/dist/chunks/reporters.C_zwCd4j.d.ts:2675:16 - error TS2671: Cannot augment module 'vite' because it resolves to a non-module entity.
2675 declare module 'vite' {
~~~~~~
[dev-tool] Errors occured. See the output above.
only remove "./test/**/*.ts" under include from tsconfig.json, this command could pass
The text was updated successfully, but these errors were encountered:
github-actionsbot
added
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
needs-triage
Workflow: This is a new issue that needs to be triaged to the appropriate team.
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
labels
Aug 30, 2024
MaryGao
changed the title
Failed to run typecheck command
Failed to run typecheck command in vitest test code
Aug 30, 2024
MaryGao
added
dev-tool
Issues related to the Azure SDK for JS dev-tool
and removed
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
needs-triage
Workflow: This is a new issue that needs to be triaged to the appropriate team.
labels
Aug 30, 2024
dev-toolIssues related to the Azure SDK for JS dev-toolquestionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that
command:
dev-tool run typecheck
package path:
sdk\core\core-lro
error message:
only remove
"./test/**/*.ts"
underinclude
from tsconfig.json, this command could passThe text was updated successfully, but these errors were encountered: