Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Cannot find module 'vscode' #946

Closed
danny-su opened this issue May 13, 2024 · 1 comment
Closed

Error: Cannot find module 'vscode' #946

danny-su opened this issue May 13, 2024 · 1 comment

Comments

@danny-su
Copy link

node:internal/modules/cjs/loader:1087
throw err;
^

Error: Cannot find module 'vscode'
Require stack:

  • /Users/danny/.vscode/extensions/microsoft-isvexptools.powerplatform-vscode-2.0.49/dist/yamlServer.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1084:15)
    at Module._load (node:internal/modules/cjs/loader:929:27)
    at c._load (node:electron/js2c/node_init:2:13672)
    at Module.require (node:internal/modules/cjs/loader:1150:19)
    at require (node:internal/modules/cjs/helpers:119:18)
    at Object.vscode (/Users/danny/.vscode/extensions/microsoft-isvexptools.powerplatform-vscode-2.0.49/dist/yamlServer.js:34497:18)
    at webpack_require (/Users/danny/.vscode/extensions/microsoft-isvexptools.powerplatform-vscode-2.0.49/dist/yamlServer.js:43257:42)
    at ./src/common/Utils.ts (/Users/danny/.vscode/extensions/microsoft-isvexptools.powerplatform-vscode-2.0.49/dist/yamlServer.js:24372:29)
    at webpack_require (/Users/danny/.vscode/extensions/microsoft-isvexptools.powerplatform-vscode-2.0.49/dist/yamlServer.js:43257:42)
    at ./src/common/OneDSLoggerTelemetry/oneDSLoggerWrapper.ts (/Users/danny/.vscode/extensions/microsoft-isvexptools.powerplatform-vscode-2.0.49/dist/yamlServer.js:23876:17) {
    code: 'MODULE_NOT_FOUND',
    requireStack: [
    '/Users/danny/.vscode/extensions/microsoft-isvexptools.powerplatform-vscode-2.0.49/dist/yamlServer.js'
    ]
    }

Node.js v18.18.2
[Info - 8:12:10 PM] Connection to server got closed. Server will restart.
node:internal/modules/cjs/loader:1087
throw err;
^

Error: Cannot find module 'vscode'
Require stack:

  • /Users/danny/.vscode/extensions/microsoft-isvexptools.powerplatform-vscode-2.0.49/dist/yamlServer.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1084:15)
    at Module._load (node:internal/modules/cjs/loader:929:27)
    at c._load (node:electron/js2c/node_init:2:13672)
    at Module.require (node:internal/modules/cjs/loader:1150:19)
    at require (node:internal/modules/cjs/helpers:119:18)
    at Object.vscode (/Users/danny/.vscode/extensions/microsoft-isvexptools.powerplatform-vscode-2.0.49/dist/yamlServer.js:34497:18)
    at webpack_require (/Users/danny/.vscode/extensions/microsoft-isvexptools.powerplatform-vscode-2.0.49/dist/yamlServer.js:43257:42)
    at ./src/common/Utils.ts (/Users/danny/.vscode/extensions/microsoft-isvexptools.powerplatform-vscode-2.0.49/dist/yamlServer.js:24372:29)
    at webpack_require (/Users/danny/.vscode/extensions/microsoft-isvexptools.powerplatform-vscode-2.0.49/dist/yamlServer.js:43257:42)
    at ./src/common/OneDSLoggerTelemetry/oneDSLoggerWrapper.ts (/Users/danny/.vscode/extensions/microsoft-isvexptools.powerplatform-vscode-2.0.49/dist/yamlServer.js:23876:17) {
    code: 'MODULE_NOT_FOUND',
    requireStack: [
    '/Users/danny/.vscode/extensions/microsoft-isvexptools.powerplatform-vscode-2.0.49/dist/yamlServer.js'
    ]
    }

Node.js v18.18.2
[Info - 8:12:11 PM] Connection to server got closed. Server will restart.
node:internal/modules/cjs/loader:1087
throw err;
^

Error: Cannot find module 'vscode'
Require stack:

  • /Users/danny/.vscode/extensions/microsoft-isvexptools.powerplatform-vscode-2.0.49/dist/yamlServer.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1084:15)
    at Module._load (node:internal/modules/cjs/loader:929:27)
    at c._load (node:electron/js2c/node_init:2:13672)
    at Module.require (node:internal/modules/cjs/loader:1150:19)
    at require (node:internal/modules/cjs/helpers:119:18)
    at Object.vscode (/Users/danny/.vscode/extensions/microsoft-isvexptools.powerplatform-vscode-2.0.49/dist/yamlServer.js:34497:18)
    at webpack_require (/Users/danny/.vscode/extensions/microsoft-isvexptools.powerplatform-vscode-2.0.49/dist/yamlServer.js:43257:42)
    at ./src/common/Utils.ts (/Users/danny/.vscode/extensions/microsoft-isvexptools.powerplatform-vscode-2.0.49/dist/yamlServer.js:24372:29)
    at webpack_require (/Users/danny/.vscode/extensions/microsoft-isvexptools.powerplatform-vscode-2.0.49/dist/yamlServer.js:43257:42)
    at ./src/common/OneDSLoggerTelemetry/oneDSLoggerWrapper.ts (/Users/danny/.vscode/extensions/microsoft-isvexptools.powerplatform-vscode-2.0.49/dist/yamlServer.js:23876:17) {
    code: 'MODULE_NOT_FOUND',
    requireStack: [
    '/Users/danny/.vscode/extensions/microsoft-isvexptools.powerplatform-vscode-2.0.49/dist/yamlServer.js'
    ]
    }

Node.js v18.18.2
[Info - 8:12:12 PM] Connection to server got closed. Server will restart.
node:internal/modules/cjs/loader:1087
throw err;
^

Error: Cannot find module 'vscode'
Require stack:

  • /Users/danny/.vscode/extensions/microsoft-isvexptools.powerplatform-vscode-2.0.49/dist/yamlServer.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1084:15)
    at Module._load (node:internal/modules/cjs/loader:929:27)
    at c._load (node:electron/js2c/node_init:2:13672)
    at Module.require (node:internal/modules/cjs/loader:1150:19)
    at require (node:internal/modules/cjs/helpers:119:18)
    at Object.vscode (/Users/danny/.vscode/extensions/microsoft-isvexptools.powerplatform-vscode-2.0.49/dist/yamlServer.js:34497:18)
    at webpack_require (/Users/danny/.vscode/extensions/microsoft-isvexptools.powerplatform-vscode-2.0.49/dist/yamlServer.js:43257:42)
    at ./src/common/Utils.ts (/Users/danny/.vscode/extensions/microsoft-isvexptools.powerplatform-vscode-2.0.49/dist/yamlServer.js:24372:29)
    at webpack_require (/Users/danny/.vscode/extensions/microsoft-isvexptools.powerplatform-vscode-2.0.49/dist/yamlServer.js:43257:42)
    at ./src/common/OneDSLoggerTelemetry/oneDSLoggerWrapper.ts (/Users/danny/.vscode/extensions/microsoft-isvexptools.powerplatform-vscode-2.0.49/dist/yamlServer.js:23876:17) {
    code: 'MODULE_NOT_FOUND',
    requireStack: [
    '/Users/danny/.vscode/extensions/microsoft-isvexptools.powerplatform-vscode-2.0.49/dist/yamlServer.js'
    ]
    }

Node.js v18.18.2
[Info - 8:12:12 PM] Connection to server got closed. Server will restart.
node:internal/modules/cjs/loader:1087
throw err;
^

Error: Cannot find module 'vscode'
Require stack:

  • /Users/danny/.vscode/extensions/microsoft-isvexptools.powerplatform-vscode-2.0.49/dist/yamlServer.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1084:15)
    at Module._load (node:internal/modules/cjs/loader:929:27)
    at c._load (node:electron/js2c/node_init:2:13672)
    at Module.require (node:internal/modules/cjs/loader:1150:19)
    at require (node:internal/modules/cjs/helpers:119:18)
    at Object.vscode (/Users/danny/.vscode/extensions/microsoft-isvexptools.powerplatform-vscode-2.0.49/dist/yamlServer.js:34497:18)
    at webpack_require (/Users/danny/.vscode/extensions/microsoft-isvexptools.powerplatform-vscode-2.0.49/dist/yamlServer.js:43257:42)
    at ./src/common/Utils.ts (/Users/danny/.vscode/extensions/microsoft-isvexptools.powerplatform-vscode-2.0.49/dist/yamlServer.js:24372:29)
    at webpack_require (/Users/danny/.vscode/extensions/microsoft-isvexptools.powerplatform-vscode-2.0.49/dist/yamlServer.js:43257:42)
    at ./src/common/OneDSLoggerTelemetry/oneDSLoggerWrapper.ts (/Users/danny/.vscode/extensions/microsoft-isvexptools.powerplatform-vscode-2.0.49/dist/yamlServer.js:23876:17) {
    code: 'MODULE_NOT_FOUND',
    requireStack: [
    '/Users/danny/.vscode/extensions/microsoft-isvexptools.powerplatform-vscode-2.0.49/dist/yamlServer.js'
    ]
    }

Node.js v18.18.2
[Error - 8:12:12 PM] Connection to server got closed. Server will not be restarted.

@tyaginidhi
Copy link
Contributor

Duplicate of #893

@tyaginidhi tyaginidhi marked this as a duplicate of #893 Jul 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants