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
I get a lot of errors like this in the debug console when debugging my vite app in VS Code.
Could not read source map for file:///J:/DevDrive/dev/vantage-3/vantage-2/src/%40fs/J%3A/DevDrive/dev/vantage-3/vantage-2/node_modules/%40microsoft/applicationinsights-core-js/dist-es5/JavaScriptSDK.Enums/EnumHelperFuncs.js:
ENOENT: no such file or directory, open j:\DevDrive\dev\vantage-3\vantage-2\src\@fs\J:\DevDrive\dev\vantage-3\vantage-2\node_modules\@microsoft\applicationinsights-core-js\dist-es5\JavaScriptSDK.Enums\EnumHelperFuncs.js.map
It's only for this one particular library. I don't know if the issue is with the library, vite or vscode-js-debug. I'd like to debug it, but I don't know where to start. J:/DevDrive/dev/vantage-3/vantage-2/src is my root, vite config and node modules are in the directory above.
/* * Application Insights JavaScript SDK - Core, 3.3.9 * Copyright (c) Microsoft and contributors. All rights reserved. */import{createEnum,createTypeMap}from"@nevware21/ts-utils";/** * Create an enum style object which has both the key \=\> value and value \=\> key mappings * @param values - The values to populate on the new object * @returns */exportvarcreateEnumStyle=createEnum;/** * Create a 2 index map that maps an enum's key and value to the defined map value, X["key"] \=\> mapValue and X[0] \=\> mapValue. * Generic values * - E = the const enum type (typeof eRequestHeaders); * - V = Identifies the valid values for the keys, this should include both the enum numeric and string key of the type. The * resulting "Value" of each entry identifies the valid values withing the assignments. * @param values - The values to populate on the new object * @returns */exportvarcreateValueMap=createTypeMap;//# sourceMappingURL=EnumHelperFuncs.js.map
{"version":3,"file":"EnumHelperFuncs.js.map","sources":["EnumHelperFuncs.js"],"sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved.\r\n// Licensed under the MIT License.\r\nimport { createEnum, createTypeMap } from \"@nevware21/ts-utils\";\r\n/**\r\n * Create an enum style object which has both the key \\=\\> value and value \\=\\> key mappings\r\n * @param values - The values to populate on the new object\r\n * @returns\r\n */\r\nexport var createEnumStyle = createEnum;\r\n/**\r\n * Create a 2 index map that maps an enum's key and value to the defined map value, X[\"key\"] \\=\\> mapValue and X[0] \\=\\> mapValue.\r\n * Generic values\r\n * - E = the const enum type (typeof eRequestHeaders);\r\n * - V = Identifies the valid values for the keys, this should include both the enum numeric and string key of the type. The\r\n * resulting \"Value\" of each entry identifies the valid values withing the assignments.\r\n * @param values - The values to populate on the new object\r\n * @returns\r\n */\r\nexport var createValueMap = createTypeMap;\r\n//# sourceMappingURL=EnumHelperFuncs.js.map"],"names":[],"mappings":";;;;AAA4D;AAC1B;AAClC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA"}
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I get a lot of errors like this in the debug console when debugging my vite app in VS Code.
It's only for this one particular library. I don't know if the issue is with the library, vite or vscode-js-debug. I'd like to debug it, but I don't know where to start.
J:/DevDrive/dev/vantage-3/vantage-2/srcis my root, vite config and node modules are in the directory above.{"version":3,"file":"EnumHelperFuncs.js.map","sources":["EnumHelperFuncs.js"],"sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved.\r\n// Licensed under the MIT License.\r\nimport { createEnum, createTypeMap } from \"@nevware21/ts-utils\";\r\n/**\r\n * Create an enum style object which has both the key \\=\\> value and value \\=\\> key mappings\r\n * @param values - The values to populate on the new object\r\n * @returns\r\n */\r\nexport var createEnumStyle = createEnum;\r\n/**\r\n * Create a 2 index map that maps an enum's key and value to the defined map value, X[\"key\"] \\=\\> mapValue and X[0] \\=\\> mapValue.\r\n * Generic values\r\n * - E = the const enum type (typeof eRequestHeaders);\r\n * - V = Identifies the valid values for the keys, this should include both the enum numeric and string key of the type. The\r\n * resulting \"Value\" of each entry identifies the valid values withing the assignments.\r\n * @param values - The values to populate on the new object\r\n * @returns\r\n */\r\nexport var createValueMap = createTypeMap;\r\n//# sourceMappingURL=EnumHelperFuncs.js.map"],"names":[],"mappings":";;;;AAA4D;AAC1B;AAClC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA"}Beta Was this translation helpful? Give feedback.
All reactions