Can't use in VS Code version (1.35.1)
tianlinzx opened this issue · 2 comments
tianlinzx commented
Can't use in VS Code version (1.35.1)。
I followed the installation instruction , however the expected menu didn't appear from File menu.
OS:Mojave 10.14.5
VSCode:1.35.1
Plugin:0.0.6
tianlinzx commented
/usr/local/bin/node --inspect-brk=45440 out/extension.js
Debugger listening on ws://127.0.0.1:45440/bc78c05e-4ba8-4c28-87ed-df507cbb313c
For help, see: https://nodejs.org/en/docs/inspector
Debugger attached.
internal/modules/cjs/loader.js:626
throw err;
^
Error: Cannot find module 'vscode'
Require stack:
- /Volumes/Data/github/flutter/fish-redux-template/out/extension.js
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:623:15)
at Function.Module._load (internal/modules/cjs/loader.js:527:27)
at Module.require (internal/modules/cjs/loader.js:681:19)
at require (internal/modules/cjs/helpers.js:16:16)
at Object. (/Volumes/Data/github/flutter/fish-redux-template/out/extension.js:11:16)
at Module._compile (internal/modules/cjs/loader.js:771:14)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:785:10)
at Module.load (internal/modules/cjs/loader.js:641:32)
at Function.Module._load (internal/modules/cjs/loader.js:556:12)
at Function.Module.runMain (internal/modules/cjs/loader.js:837:10) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/Volumes/Data/github/flutter/fish-redux-template/out/extension.js'
]
}
Waiting for the debugger to disconnect...
Error: Cannot find module 'vscode'
Require stack: - /Volumes/Data/github/flutter/fish-redux-template/out/extension.js
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:623:15)
at Function.Module._load (internal/modules/cjs/loader.js:527:27)
at Module.require (internal/modules/cjs/loader.js:681:19)
at require (internal/modules/cjs/helpers.js:16:16)
at Object. (/Volumes/Data/github/flutter/fish-redux-template/src/extension.ts:3:1)
at Module._compile (internal/modules/cjs/loader.js:771:14)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:785:10)
at Module.load (internal/modules/cjs/loader.js:641:32)
at Function.Module._load (internal/modules/cjs/loader.js:556:12)
at Function.Module.runMain (internal/modules/cjs/loader.js:837:10) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/Volumes/Data/github/flutter/fish-redux-template/out/extension.js'
]
}
tianlinzx commented
@huangjianke Any Idea ?