anseki / vscode-color

Helper with GUI to generate color codes such as CSS color notations.
MIT License
97 stars 27 forks source link

Does not start "color picker" #2

Closed Tankerxyz closed 8 years ago

Tankerxyz commented 8 years ago

i pressed alt + c p. Color picker does not running doesnotstart

anseki commented 8 years ago

Hi @Tankerxyz, thank you for your report. Color Picker might have been not installed completely. Please try to re-install. Remove ~/.vscode/extensions/anseki.vscode-color-x.x.x directory to uninstall completely. And install latest version of Color Picker.

elonmallin commented 8 years ago

I have the same problem but for me it is not a warning but an error: "Running the contributed command:'extension.colorHelper.pick' failed." Tried reinstalling and also checked that there was nothing left in the extensions directory.

Ran it on this line: "box-shadow: 1px 1px 5px #888;" in a css file with my cursor on the 8's.

anseki commented 8 years ago

Hi @elonmallin, thank you for the report. I also saw that message few times when I installed other extensions. It seems that VS Code fails to install extensions sometimes. As issues are reported in VS Code repository. And it seems that it may be solved by reinstalling.

Tankerxyz commented 8 years ago

@anseki I reinstalled latest version 0.0.7 and error not disappeared

anseki commented 8 years ago

Did you remove that directory after uninstall? Uninstalling might fail too if installing failed.

elonmallin commented 8 years ago

I already tried uninstalling and installing and making sure the directory is removed from the .vscode/extensions directory. But if it's a bug with vscode that is just doesn't install correctly some of the time could you link it? I haven't had any problems with other extensions I've installed so far.

Tankerxyz commented 8 years ago

@anseki Yes, I removed before installing

anseki commented 8 years ago

Umm... Could you tell me about environment? OS, version of NodeJS, version of VS Code.

Tankerxyz commented 8 years ago

@anseki

OS: Windows 7 SP1 64bit NODE.JS: nodeversion

VSC: vscversion

anseki commented 8 years ago

Ok, And please confirm: Click menu of VS Code "Help > Toggle Developer Tools", and click "Console" tab. You might see more information.

Tankerxyz commented 8 years ago

@anseki what should I see? whatshouldisee

anseki commented 8 years ago

Try this in CMD:

cd %USERPROFILE%\.vscode\extensions\anseki.vscode-color-0.0.7
npm install

Then, some node modules will be installed. After those modules were installed, restart VS Code.

Tankerxyz commented 8 years ago

@anseki, Well done, it helped

anseki commented 8 years ago

Solved all? But I don't know why your computer fails to install extension automatically. Anyway, thanks :smiley:

Tankerxyz commented 8 years ago

@anseki yes, solved all thanks for help, nice extension :smile: :+1:

anseki commented 8 years ago

:smile:

anseki commented 8 years ago

@elonmallin, Try this. I closed this issue, but if it's not solved by above, reopen it.

elonmallin commented 8 years ago

Yea that fixed it for me too, thanks. Seemed like some things weren't installed even though I saw you had it as dependencies in the package.json. Maybe it's a bug with vs code then that makes it not download it unless you do it manually.

anseki commented 8 years ago

Thanks for your report. An important point I think is that the installing is done successfully in almost cases. I will report to them if I can identify the case of the installing fails.

anseki commented 8 years ago

Hi @Tankerxyz, @elonmallin, I'm trying to solve the issue about installing extension automatically. If you have time, would you please try new version 0.0.8?

  1. Uninstall the installed version. Run a command >ext installed in VS Code, and click X in "Color Picker".
  2. Remove .vscode/extensions/anseki.vscode-color-0.0.7 directory.
  3. Install new version. Run a command >ext install in VS Code, and choose "Color Picker".

So, I want to know:

elonmallin commented 8 years ago

Hey @anseki ,

No, unfortunately it still doesn't work. Uninstalling the extension in vscode didn't work so I just removed the folder in .vscode/extensions/ and then I installed the 0.0.8 version.

I get: "Running the contributed command:'extension.colorHelper.pick' failed.". My cursor was on a color like #ccc. My vscode version is 0.10.10.

Running: npm install in the .vscode/extensions/anseki.vscode-color-0.0.8 directory made it work again.

Tankerxyz commented 8 years ago

@anseki all right. I installed Color picker, rebooted vscode, pressed alt + c p and waited 1min whole package has been installed. Then all right.

anseki commented 8 years ago

@elonmallin, @Tankerxyz, Thank you for your cooperation :grinning:

In @elonmallin's computer, it seems that the situation hasn't changed at all... Then, @elonmallin, would you please try again? And check a console of Developer Tools, some message might be shown. (Click menu of VS Code "Help > Toggle Developer Tools", and click "Console" tab) I'm sorry, I should have asked about console from the start.

And could you tell me about environment? name and version of OS, version of Node.js

ozmartian commented 8 years ago

got mine working on Linux... the node dependencies aren't being installed upon installation so you'll need to do it manually... for Windows users, i assume the extensions are being installed somewhere in your user profile's AppData folder so this should apply for you guys too...

so all you need to do is open a terminal/command prompt within this extension's installation folder, which in my case happens to be:

/home/ozmartian/.vscode/extensions/anseki.vscode-color-0.1.6

then simply run the following command:

npm install

obviously you'll need nodejs to be installed... pretty impressive extension once you work through the kinks :-)

anseki commented 8 years ago

Hi @ozmartian, thank you for your report.

Current version of the extension seems to be installed without a command npm install in almost environment, but that in some environment seems to still fail. I want information about those cases. Could you tell me your case that fails to install, please? Check a console of Developer Tools, some message might be shown. (Click menu of VS Code "Help > Toggle Developer Tools", and click "Console" tab) And your environment? Which version of NodeJS on Linux?

anseki commented 8 years ago

I asked @elonmallin and @ozmartian for information. And also, I'll be grateful if someone gives some information to me.

When an error occurred, check a console of Developer Tools, some message might be shown. (Click menu of VS Code "Help > Toggle Developer Tools", and click "Console" tab)

ozmartian commented 8 years ago

@anseki

Hi there... Are you saying that npm install is part of the install process already but isn't working for some? I am running on Linux so not sure if that demographic is big enough to warrant your time :-) I could uninstall and reinstall and try debug for you if you'd like if you're only on Windows and/or OSX.

Cheers, Pete

anseki commented 8 years ago

Hi @ozmartian, thank you for your reply.

I did not say npm install isn't working. I don't know what happened because I did not yet meet cases that installing the extension fails. Of course I tried that in Linux. I think that your environment has something I don't know even if that is Linux. Then, I think that this might have no relation to OS. Anyway, I need more information. I hardly have information about those case. Could you try re-install? I think that hint might be shown in console of Developer Tools.

ibrhk12 commented 8 years ago

i made the npm install but, sadly the extension didn't work.

anseki commented 8 years ago

Hi @ibrhk92, thank you for your report. Could you tell me more information please? https://github.com/anseki/vscode-color/issues/2#issuecomment-213935309 Also, OS, version of Node.js, version of extension and version of VSCode.

ibrhk12 commented 8 years ago

I installed the extension from the VSCode

npm install
npm WARN deprecated vscode@0.10.7: Please update to version 0.11.x for improved typings and test support
npm WARN deprecated lodash@0.9.2: Grunt needs your help! See https://github.com/gruntjs/grunt/issues/1403.
npm WARN deprecated lodash@2.4.2: lodash@<3.0.0 is no longer maintained. Upgrade to lodash@^4.0.0.
npm WARN deprecated graceful-fs@1.2.3: graceful-fs v3.0.0 and before will fail on node releases >= v6.0. Please update to graceful-fs@^4.0.0 as soon as possible. Use 'npm ls graceful-fs' to find it in the tree.
npm WARN deprecated graceful-fs@3.0.8: graceful-fs v3.0.0 and before will fail on node releases >= v6.0. Please update to graceful-fs@^4.0.0 as soon as possible. Use 'npm ls graceful-fs' to find it in the tree.
npm WARN deprecated lodash@1.0.2: lodash@<3.0.0 is no longer maintained. Upgrade to lodash@^4.0.0.
npm WARN deprecated jade@0.26.3: Jade has been renamed to pug, please install the latest version of pug instead of jade
npm WARN deprecated graceful-fs@2.0.3: graceful-fs v3.0.0 and before will fail on node releases >= v6.0. Please update to graceful-fs@^4.0.0 as soon as possible. Use 'npm ls graceful-fs' to find it in the tree.
npm version
$ npm version
{ 'vscode-color': '0.1.7',
  npm: '3.3.12',
  ares: '1.10.1-DEV',
  http_parser: '2.6.0',
  icu: '56.1',
  modules: '47',
  node: '5.5.0',
  openssl: '1.0.2e',
  uv: '1.8.0',
  v8: '4.6.85.31',
  zlib: '1.2.8' 
}
anseki commented 8 years ago

Don't run npm install. See https://github.com/anseki/vscode-color/issues/2#issuecomment-217136762 please.

ibrhk12 commented 8 years ago

@anseki [Extension Host] Try to send IPC message This what comes out

anseki commented 8 years ago

That's all? That seems abnormal... I think that you might have damaged the extension by running npm. Specifically npm version: https://docs.npmjs.com/cli/version

I think that you should re-install to restore it. And then, see https://github.com/anseki/vscode-color/issues/2#issuecomment-217136762 again please. I want to know specifically OS and version of VSCode. Also, "Console" should show more information.

ibrhk12 commented 8 years ago

OS: windows 10. VS code version: 1.00 Console


/C:/Program Files (x86)/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:91 [Extension Host] Check version of: electron-prebuilt
/C:/Program Files (x86)/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:91 [Extension Host] Check version of: comma-separated-values
/C:/Program Files (x86)/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:91 [Extension Host] Check version of: js-yaml
/C:/Program Files (x86)/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:91 [Extension Host] Check version of: process-bridge
/C:/Program Files (x86)/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:91 [Extension Host] Try to send IPC message: 1
anseki commented 8 years ago

Thank you. But it seems that some lines that should be shown were not shown in Console. The uninstalling might have failed. Try this:

  1. Close VS Code.
  2. Open %USERPROFILE%\.vscode\extensions by WIndows Explorer.
  3. Remove a anseki.vscode-color-0.1.7 folder.
  4. Open VS Code.
  5. Install the extension by Extensions: Install Extension command.
  6. Restart VS Code.
  7. Press Alt + C P keys. And wait for a while, without touching anything.
  8. If an error message is shown, open "Console", and please send all lines in Console to here.
ibrhk12 commented 8 years ago

full console

/C:/Program Files (x86)/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:57 Conflict detected, command `workbench.action.markdown.togglePreview` cannot be triggered by ctrl+shift+v due to svgviewer.open
/C:/Program Files (x86)/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:57 Conflict detected, command `workbench.action.markdown.togglePreview` cannot be triggered by ctrl+shift+v due to svgviewer.saveas
/C:/Program Files (x86)/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:57 Conflict detected, command `workbench.action.markdown.togglePreview` cannot be triggered by ctrl+shift+v due to svgviewer.saveassize
/C:/Program Files (x86)/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:57 Conflict detected, command `workbench.action.markdown.togglePreview` cannot be triggered by ctrl+shift+v due to svgviewer.copydui
threadService.ts:198 [Extension Host] Start child process...
threadService.ts:198 [Extension Host] Try to get npm via usage info.
threadService.ts:198 [Extension Host] Base directory path: C:\Users\Ibrahim Kassem\.vscode\extensions\anseki.vscode-color-0.1.7
threadService.ts:198 [Extension Host] Retry (Error: Cannot find module 'electron-prebuilt')
threadService.ts:198 [Extension Host] C:\Users\Ibrahim Kassem\.vscode\extensions\anseki.vscode-color-0.1.7\esparse -> C:\Users\Ibrahim Kassem\.vscode\extensions\anseki.vscode-color-0.1.7\node_modules\esprima\bin\esparse.js
threadService.ts:198 [Extension Host] C:\Users\Ibrahim Kassem\.vscode\extensions\anseki.vscode-color-0.1.7\esvalidate -> C:\Users\Ibrahim Kassem\.vscode\extensions\anseki.vscode-color-0.1.7\node_modules\esprima\bin\esvalidate.js
threadService.ts:198 [Extension Host] C:\Users\Ibrahim Kassem\.vscode\extensions\anseki.vscode-color-0.1.7\mkdirp -> C:\Users\Ibrahim Kassem\.vscode\extensions\anseki.vscode-color-0.1.7\node_modules\mkdirp\bin\cmd.js
threadService.ts:198 [Extension Host] C:\Users\Ibrahim Kassem\.vscode\extensions\anseki.vscode-color-0.1.7\ncp -> C:\Users\Ibrahim Kassem\.vscode\extensions\anseki.vscode-color-0.1.7\node_modules\ncp\bin\ncp
threadService.ts:198 [Extension Host] C:\Users\Ibrahim Kassem\.vscode\extensions\anseki.vscode-color-0.1.7\uuid -> C:\Users\Ibrahim Kassem\.vscode\extensions\anseki.vscode-color-0.1.7\node_modules\node-uuid\bin\uuid
threadService.ts:198 [Extension Host] C:\Users\Ibrahim Kassem\.vscode\extensions\anseki.vscode-color-0.1.7\semver -> C:\Users\Ibrahim Kassem\.vscode\extensions\anseki.vscode-color-0.1.7\node_modules\semver\bin\semver
threadService.ts:198 [Extension Host] C:\Users\Ibrahim Kassem\.vscode\extensions\anseki.vscode-color-0.1.7\strip-indent -> C:\Users\Ibrahim Kassem\.vscode\extensions\anseki.vscode-color-0.1.7\node_modules\strip-indent\cli.js
threadService.ts:198 [Extension Host] C:\Users\Ibrahim Kassem\.vscode\extensions\anseki.vscode-color-0.1.7\strip-json-comments -> C:\Users\Ibrahim Kassem\.vscode\extensions\anseki.vscode-color-0.1.7\node_modules\strip-json-comments\cli.js
threadService.ts:198 [Extension Host] C:\Users\Ibrahim Kassem\.vscode\extensions\anseki.vscode-color-0.1.7\rc -> C:\Users\Ibrahim Kassem\.vscode\extensions\anseki.vscode-color-0.1.7\node_modules\rc\index.js
threadService.ts:198 [Extension Host] C:\Users\Ibrahim Kassem\.vscode\extensions\anseki.vscode-color-0.1.7\har-validator -> C:\Users\Ibrahim Kassem\.vscode\extensions\anseki.vscode-color-0.1.7\node_modules\har-validator\bin\har-validator
threadService.ts:198 [Extension Host] C:\Users\Ibrahim Kassem\.vscode\extensions\anseki.vscode-color-0.1.7\sshpk-conv -> C:\Users\Ibrahim Kassem\.vscode\extensions\anseki.vscode-color-0.1.7\node_modules\sshpk\bin\sshpk-conv
threadService.ts:198 [Extension Host] C:\Users\Ibrahim Kassem\.vscode\extensions\anseki.vscode-color-0.1.7\sshpk-sign -> C:\Users\Ibrahim Kassem\.vscode\extensions\anseki.vscode-color-0.1.7\node_modules\sshpk\bin\sshpk-sign
threadService.ts:198 [Extension Host] C:\Users\Ibrahim Kassem\.vscode\extensions\anseki.vscode-color-0.1.7\sshpk-verify -> C:\Users\Ibrahim Kassem\.vscode\extensions\anseki.vscode-color-0.1.7\node_modules\sshpk\bin\sshpk-verify
threadService.ts:198 [Extension Host] C:\Users\Ibrahim Kassem\.vscode\extensions\anseki.vscode-color-0.1.7\pretty-bytes -> C:\Users\Ibrahim Kassem\.vscode\extensions\anseki.vscode-color-0.1.7\node_modules\pretty-bytes\cli.js
threadService.ts:198 [Extension Host] C:\Users\Ibrahim Kassem\.vscode\extensions\anseki.vscode-color-0.1.7\rimraf -> C:\Users\Ibrahim Kassem\.vscode\extensions\anseki.vscode-color-0.1.7\node_modules\rimraf\bin.js
threadService.ts:198 [Extension Host] C:\Users\Ibrahim Kassem\.vscode\extensions\anseki.vscode-color-0.1.7\nugget -> C:\Users\Ibrahim Kassem\.vscode\extensions\anseki.vscode-color-0.1.7\node_modules\nugget\bin.js
threadService.ts:198 [Extension Host] C:\Users\Ibrahim Kassem\.vscode\extensions\anseki.vscode-color-0.1.7\electron-download -> C:\Users\Ibrahim Kassem\.vscode\extensions\anseki.vscode-color-0.1.7\node_modules\electron-download\cli.js
threadService.ts:198 [Extension Host] C:\Users\Ibrahim Kassem\.vscode\extensions\anseki.vscode-color-0.1.7\extract-zip -> C:\Users\Ibrahim Kassem\.vscode\extensions\anseki.vscode-color-0.1.7\node_modules\extract-zip\cli.js
threadService.ts:198 [Extension Host] C:\Users\Ibrahim Kassem\.vscode\extensions\anseki.vscode-color-0.1.7\electron -> C:\Users\Ibrahim Kassem\.vscode\extensions\anseki.vscode-color-0.1.7\node_modules\electron-prebuilt\cli.js
threadService.ts:198 [Extension Host] C:\Users\Ibrahim Kassem\.vscode\extensions\anseki.vscode-color-0.1.7\js-yaml -> C:\Users\Ibrahim Kassem\.vscode\extensions\anseki.vscode-color-0.1.7\node_modules\js-yaml\bin\js-yaml.js
threadService.ts:198 [Extension Host] Spawn in silent-mode: C:\Windows\system32\cmd.exe /d /s /c node install.js
threadService.ts:198 [Extension Host] vscode-color@0.1.7 C:\Users\Ibrahim Kassem\.vscode\extensions\anseki.vscode-color-0.1.7
├── comma-separated-values@3.6.4 
├─┬ electron-prebuilt@0.37.3 
│ ├─┬ electron-download@2.1.2 
│ │ ├─┬ debug@2.2.0 
│ │ │ └── ms@0.7.1 
│ │ ├── home-path@1.0.3 
│ │ ├── minimist@1.2.0 
│ │ ├─┬ mkdirp@0.5.1 
│ │ │ └── minimist@0.0.8 
│ │ ├─┬ mv@2.1.1 
│ │ │ ├── ncp@2.0.0 
│ │ │ └─┬ rimraf@2.4.5 
│ │ │   └─┬ glob@6.0.4 
│ │ │     ├─┬ inflight@1.0.4 
│ │ │     │ └── wrappy@1.0.1 
│ │ │     ├─┬ minimatch@3.0.0 
│ │ │     │ └─┬ brace-expansion@1.1.4 
│ │ │     │   ├── balanced-match@0.4.1 
│ │ │     │   └── concat-map@0.0.1 
│ │ │     ├── once@1.3.3 
│ │ │     └── path-is-absolute@1.0.0 
│ │ ├─┬ nugget@1.6.2 
│ │ │ ├─┬ pretty-bytes@1.0.4 
│ │ │ │ ├── get-stdin@4.0.1 
│ │ │ │ └─┬ meow@3.7.0 
│ │ │ │   ├─┬ camelcase-keys@2.1.0 
│ │ │ │   │ └── camelcase@2.1.1 
│ │ │ │   ├── decamelize@1.2.0 
│ │ │ │   ├─┬ loud-rejection@1.3.0 
│ │ │ │   │ ├── array-find-index@1.0.1 
│ │ │ │   │ └── signal-exit@2.1.2 
│ │ │ │   ├── map-obj@1.0.1 
│ │ │ │   ├─┬ normalize-package-data@2.3.5 
│ │ │ │   │ ├── hosted-git-info@2.1.4 
│ │ │ │   │ ├─┬ is-builtin-module@1.0.0 
│ │ │ │   │ │ └── builtin-modules@1.1.1 
│ │ │ │   │ └─┬ validate-npm-package-license@3.0.1 
│ │ │ │   │   ├─┬ spdx-correct@1.0.2 
│ │ │ │   │   │ └── spdx-license-ids@1.2.1 
│ │ │ │   │   └─┬ spdx-expression-parse@1.0.2 
│ │ │ │   │     └── spdx-exceptions@1.0.4 
│ │ │ │   ├── object-assign@4.1.0 
│ │ │ │   ├─┬ read-pkg-up@1.0.1 
│ │ │ │   │ ├─┬ find-up@1.1.2 
│ │ │ │   │ │ └── path-exists@2.1.0 
│ │ │ │   │ └─┬ read-pkg@1.1.0 
│ │ │ │   │   ├─┬ load-json-file@1.1.0 
│ │ │ │   │   │ ├── graceful-fs@4.1.3 
│ │ │ │   │   │ ├─┬ parse-json@2.2.0 
│ │ │ │   │   │ │ └─┬ error-ex@1.3.0 
│ │ │ │   │   │ │   └── is-arrayish@0.2.1 
│ │ │ │   │   │ ├── pify@2.3.0 
│ │ │ │   │   │ └─┬ strip-bom@2.0.0 
│ │ │ │   │   │   └── is-utf8@0.2.1 
│ │ │ │   │   └── path-type@1.1.0 
│ │ │ │   ├─┬ redent@1.0.0 
│ │ │ │   │ ├─┬ indent-string@2.1.0 
│ │ │ │   │ │ └─┬ repeating@2.0.1 
│ │ │ │   │ │   └─┬ is-finite@1.0.1 
│ │ │ │   │ │     └── number-is-nan@1.0.0 
│ │ │ │   │ └── strip-indent@1.0.1 
│ │ │ │   └── trim-newlines@1.0.0 
│ │ │ ├─┬ progress-stream@1.2.0 
│ │ │ │ ├── speedometer@0.1.4 
│ │ │ │ └─┬ through2@0.2.3 
│ │ │ │   ├─┬ readable-stream@1.1.14 
│ │ │ │   │ └── isarray@0.0.1 
│ │ │ │   └─┬ xtend@2.1.2 
│ │ │ │     └── object-keys@0.4.0 
│ │ │ ├─┬ request@2.72.0 
│ │ │ │ ├── aws-sign2@0.6.0 
│ │ │ │ ├─┬ aws4@1.3.2 
│ │ │ │ │ └─┬ lru-cache@4.0.1 
│ │ │ │ │   ├── pseudomap@1.0.2 
│ │ │ │ │   └── yallist@2.0.0 
│ │ │ │ ├─┬ bl@1.1.2 
│ │ │ │ │ └─┬ readable-stream@2.0.6 
│ │ │ │ │   └── isarray@1.0.0 
│ │ │ │ ├── caseless@0.11.0 
│ │ │ │ ├─┬ combined-stream@1.0.5 
│ │ │ │ │ └── delayed-stream@1.0.0 
│ │ │ │ ├── extend@3.0.0 
│ │ │ │ ├── forever-agent@0.6.1 
│ │ │ │ ├─┬ form-data@1.0.0-rc4 
│ │ │ │ │ └── async@1.5.2 
│ │ │ │ ├─┬ har-validator@2.0.6 
│ │ │ │ │ ├─┬ chalk@1.1.3 
│ │ │ │ │ │ ├── ansi-styles@2.2.1 
│ │ │ │ │ │ ├── escape-string-regexp@1.0.5 
│ │ │ │ │ │ ├─┬ has-ansi@2.0.0 
│ │ │ │ │ │ │ └── ansi-regex@2.0.0 
│ │ │ │ │ │ ├── strip-ansi@3.0.1 
│ │ │ │ │ │ └── supports-color@2.0.0 
│ │ │ │ │ ├─┬ commander@2.9.0 
│ │ │ │ │ │ └── graceful-readlink@1.0.1 
│ │ │ │ │ ├─┬ is-my-json-valid@2.13.1 
│ │ │ │ │ │ ├── generate-function@2.0.0 
│ │ │ │ │ │ ├─┬ generate-object-property@1.2.0 
│ │ │ │ │ │ │ └── is-property@1.0.2 
│ │ │ │ │ │ ├── jsonpointer@2.0.0 
│ │ │ │ │ │ └── xtend@4.0.1 
│ │ │ │ │ └─┬ pinkie-promise@2.0.1 
│ │ │ │ │   └── pinkie@2.0.4 
│ │ │ │ ├─┬ hawk@3.1.3 
│ │ │ │ │ ├── boom@2.10.1 
│ │ │ │ │ ├── cryptiles@2.0.5 
│ │ │ │ │ ├── hoek@2.16.3 
│ │ │ │ │ └── sntp@1.0.9 
│ │ │ │ ├─┬ http-signature@1.1.1 
│ │ │ │ │ ├── assert-plus@0.2.0 
│ │ │ │ │ ├─┬ jsprim@1.2.2 
│ │ │ │ │ │ ├── extsprintf@1.0.2 
│ │ │ │ │ │ ├── json-schema@0.2.2 
│ │ │ │ │ │ └── verror@1.3.6 
│ │ │ │ │ └─┬ sshpk@1.8.3 
│ │ │ │ │   ├── asn1@0.2.3 
│ │ │ │ │   ├── assert-plus@1.0.0 
│ │ │ │ │   ├─┬ dashdash@1.13.1 
│ │ │ │ │   │ └── assert-plus@1.0.0 
│ │ │ │ │   ├── ecc-jsbn@0.1.1 
│ │ │ │ │   ├─┬ getpass@0.1.6 
│ │ │ │ │   │ └── assert-plus@1.0.0 
│ │ │ │ │   ├── jodid25519@1.0.2 
│ │ │ │ │   ├── jsbn@0.1.0 
│ │ │ │ │   └── tweetnacl@0.13.3 
│ │ │ │ ├── is-typedarray@1.0.0 
│ │ │ │ ├── isstream@0.1.2 
│ │ │ │ ├── json-stringify-safe@5.0.1 
│ │ │ │ ├─┬ mime-types@2.1.11 
│ │ │ │ │ └── mime-db@1.23.0 
│ │ │ │ ├── node-uuid@1.4.7 
│ │ │ │ ├── oauth-sign@0.8.2 
│ │ │ │ ├── qs@6.1.0 
│ │ │ │ ├── stringstream@0.0.5 
│ │ │ │ ├── tough-cookie@2.2.2 
│ │ │ │ └── tunnel-agent@0.4.3 
│ │ │ ├── single-line-log@0.4.1 
│ │ │ └── throttleit@0.0.2 
│ │ ├── path-exists@1.0.0 
│ │ └─┬ rc@1.1.6 
│ │   ├── deep-extend@0.4.1 
│ │   ├── ini@1.3.4 
│ │   └── strip-json-comments@1.0.4 
│ └─┬ extract-zip@1.5.0 
│   ├─┬ concat-stream@1.5.0 
│   │ ├── inherits@2.0.1 
│   │ ├─┬ readable-stream@2.0.6 
│   │ │ ├── core-util-is@1.0.2 
│   │ │ ├── isarray@1.0.0 
│   │ │ ├── process-nextick-args@1.0.7 
│   │ │ ├── string_decoder@0.10.31 
│   │ │ └── util-deprecate@1.0.2 
│   │ └── typedarray@0.0.6 
│   ├── debug@0.7.4 
│   ├─┬ mkdirp@0.5.0 
│   │ └── minimist@0.0.8 
│   └─┬ yauzl@2.4.1 
│     └─┬ fd-slicer@1.0.1 
│       └── pend@1.2.0 
├─┬ js-yaml@3.6.0 
│ ├─┬ argparse@1.0.7 
│ │ └── sprintf-js@1.0.3 
│ └── esprima@2.7.2 
└─┬ process-bridge@0.2.5 
  └── semver@5.1.0 

threadService.ts:198 [Extension Host] Check version of: electron-prebuilt
threadService.ts:198 [Extension Host] Check version of: comma-separated-values
threadService.ts:198 [Extension Host] Check version of: js-yaml
threadService.ts:198 [Extension Host] Check version of: process-bridge
3threadService.ts:198 [Extension Host] Try to send IPC message: 1
threadService.ts:198 [Extension Host] Try to send IPC message: 2
threadService.ts:198 [Extension Host] Child process disconnected
threadService.ts:198 [Extension Host] Child process exited with code: 0
anseki commented 8 years ago

It seems that no error was shown. So, was the dialog box not shown? Or, was any message shown?

ibrhk12 commented 8 years ago

yes, the dialog box is not showing .

ibrhk12 commented 8 years ago

ok, now the box is showing thank you A great extension

anseki commented 8 years ago

Ok :smiley: Could you tell me what you did to make the dialog box be shown?

ibrhk12 commented 8 years ago

There was an extension that made many errors on the console, I removed it then i tried the color picker after restarting the VS code . it worked fine.

anseki commented 8 years ago

I see, that extension seems to have disturbed the Color Picker. Thank you :smile:

ginlime commented 8 years ago

I can't install this extension.

An error has been occured after installing the extension like this:

[processBridge]: Error: spawn EPERM

anseki commented 8 years ago

Hi @ginlime, thank you for your report. Could you tell me more information please? https://github.com/anseki/vscode-color/issues/2#issuecomment-213935309 Also, OS, version of Node.js, version of extension and version of VSCode.

aolko commented 8 years ago

getting this image on a latest vscode and color picker extension (win7x64 node.js 5.3.0 npm 3.3.12 vscode 1.4.0(node 5.10.0) extension(0.1.10) ).

WTF?

== Log

Ctrl+Alt+ keybindings should not be used by default under Windows. Offender:  41001  for  bookmarks.toggle
Ctrl+Alt+ keybindings should not be used by default under Windows. Offender:  41002  for  bookmarks.jumpToNext
Ctrl+Alt+ keybindings should not be used by default under Windows. Offender:  41000  for  bookmarks.jumpToPrevious
[Extension Host] vscode-icons is active!
[Extension Host] Spell and Grammar checker active...
[Extension Host] Default Settings
[Extension Host] Code Actons Registering for: markdown
[Extension Host] Code Actons Registering for: plaintext
[Extension Host] Windows_NT
[Extension Host] Starting new check on: Untitled-1 [plaintext]
Conflict detected, command `extension.active` cannot be triggered by alt+c due to extension.colorHelper.pick
Conflict detected, command `extension.active` cannot be triggered by alt+c due to extension.colorHelper.convert
[Extension Host] Start child process...
[Extension Host] Try to get npm via usage info.
[Extension Host] npm directory path: C:\Program Files\nodejs\node_modules\npm
[Extension Host] npm path: C:\Program Files\nodejs\node_modules\npm\lib\npm.js
[Extension Host] Base directory path: C:\Users\shtanin\.vscode\extensions\anseki.vscode-color-0.1.10
[Extension Host] Retry (Error: Cannot find module 'electron-prebuilt')
[Extension Host] Try to load: C:\Program Files\nodejs\node_modules\npm\lib\utils\spawn.js
[Extension Host] C:\Users\shtanin\.vscode\extensions\anseki.vscode-color-0.1.10\esvalidate -> C:\Users\shtanin\.vscode\extensions\anseki.vscode-color-0.1.10\node_modules\esprima\bin\esvalidate.js
[Extension Host] C:\Users\shtanin\.vscode\extensions\anseki.vscode-color-0.1.10\esparse -> C:\Users\shtanin\.vscode\extensions\anseki.vscode-color-0.1.10\node_modules\esprima\bin\esparse.js
[Extension Host] C:\Users\shtanin\.vscode\extensions\anseki.vscode-color-0.1.10\mkdirp -> C:\Users\shtanin\.vscode\extensions\anseki.vscode-color-0.1.10\node_modules\mkdirp\bin\cmd.js
[Extension Host] C:\Users\shtanin\.vscode\extensions\anseki.vscode-color-0.1.10\ncp -> C:\Users\shtanin\.vscode\extensions\anseki.vscode-color-0.1.10\node_modules\ncp\bin\ncp
[Extension Host] C:\Users\shtanin\.vscode\extensions\anseki.vscode-color-0.1.10\uuid -> C:\Users\shtanin\.vscode\extensions\anseki.vscode-color-0.1.10\node_modules\node-uuid\bin\uuid
[Extension Host] C:\Users\shtanin\.vscode\extensions\anseki.vscode-color-0.1.10\semver -> C:\Users\shtanin\.vscode\extensions\anseki.vscode-color-0.1.10\node_modules\semver\bin\semver
[Extension Host] C:\Users\shtanin\.vscode\extensions\anseki.vscode-color-0.1.10\strip-indent -> C:\Users\shtanin\.vscode\extensions\anseki.vscode-color-0.1.10\node_modules\strip-indent\cli.js
[Extension Host] C:\Users\shtanin\.vscode\extensions\anseki.vscode-color-0.1.10\strip-json-comments -> C:\Users\shtanin\.vscode\extensions\anseki.vscode-color-0.1.10\node_modules\strip-json-comments\cli.js
[Extension Host] C:\Users\shtanin\.vscode\extensions\anseki.vscode-color-0.1.10\rc -> C:\Users\shtanin\.vscode\extensions\anseki.vscode-color-0.1.10\node_modules\rc\index.js
[Extension Host] C:\Users\shtanin\.vscode\extensions\anseki.vscode-color-0.1.10\har-validator -> C:\Users\shtanin\.vscode\extensions\anseki.vscode-color-0.1.10\node_modules\har-validator\bin\har-validator
[Extension Host] C:\Users\shtanin\.vscode\extensions\anseki.vscode-color-0.1.10\sshpk-sign -> C:\Users\shtanin\.vscode\extensions\anseki.vscode-color-0.1.10\node_modules\sshpk\bin\sshpk-sign
[Extension Host] C:\Users\shtanin\.vscode\extensions\anseki.vscode-color-0.1.10\sshpk-verify -> C:\Users\shtanin\.vscode\extensions\anseki.vscode-color-0.1.10\node_modules\sshpk\bin\sshpk-verify
[Extension Host] C:\Users\shtanin\.vscode\extensions\anseki.vscode-color-0.1.10\sshpk-conv -> C:\Users\shtanin\.vscode\extensions\anseki.vscode-color-0.1.10\node_modules\sshpk\bin\sshpk-conv
[Extension Host] C:\Users\shtanin\.vscode\extensions\anseki.vscode-color-0.1.10\pretty-bytes -> C:\Users\shtanin\.vscode\extensions\anseki.vscode-color-0.1.10\node_modules\pretty-bytes\cli.js
[Extension Host] C:\Users\shtanin\.vscode\extensions\anseki.vscode-color-0.1.10\rimraf -> C:\Users\shtanin\.vscode\extensions\anseki.vscode-color-0.1.10\node_modules\rimraf\bin.js
[Extension Host] C:\Users\shtanin\.vscode\extensions\anseki.vscode-color-0.1.10\nugget -> C:\Users\shtanin\.vscode\extensions\anseki.vscode-color-0.1.10\node_modules\nugget\bin.js
[Extension Host] C:\Users\shtanin\.vscode\extensions\anseki.vscode-color-0.1.10\electron-download -> C:\Users\shtanin\.vscode\extensions\anseki.vscode-color-0.1.10\node_modules\electron-download\cli.js
[Extension Host] C:\Users\shtanin\.vscode\extensions\anseki.vscode-color-0.1.10\extract-zip -> C:\Users\shtanin\.vscode\extensions\anseki.vscode-color-0.1.10\node_modules\extract-zip\cli.js
[Extension Host] C:\Users\shtanin\.vscode\extensions\anseki.vscode-color-0.1.10\electron -> C:\Users\shtanin\.vscode\extensions\anseki.vscode-color-0.1.10\node_modules\electron-prebuilt\cli.js
[Extension Host] C:\Users\shtanin\.vscode\extensions\anseki.vscode-color-0.1.10\js-yaml -> C:\Users\shtanin\.vscode\extensions\anseki.vscode-color-0.1.10\node_modules\js-yaml\bin\js-yaml.js
[Extension Host] Spawn in silent-mode: C:\Windows\system32\cmd.exe /d /s /c node install.js
[Extension Host] vscode-color@0.1.10 C:\Users\shtanin\.vscode\extensions\anseki.vscode-color-0.1.10
├── comma-separated-values@3.6.4 
├─┬ electron-prebuilt@0.37.3 
│ ├─┬ electron-download@2.1.2 
│ │ ├─┬ debug@2.2.0 
│ │ │ └── ms@0.7.1 
│ │ ├── home-path@1.0.3 
│ │ ├── minimist@1.2.0 
│ │ ├─┬ mkdirp@0.5.1 
│ │ │ └── minimist@0.0.8 
│ │ ├─┬ mv@2.1.1 
│ │ │ ├── ncp@2.0.0 
│ │ │ └─┬ rimraf@2.4.5 
│ │ │   └─┬ glob@6.0.4 
│ │ │     ├─┬ inflight@1.0.5 
│ │ │     │ └── wrappy@1.0.2 
│ │ │     ├─┬ minimatch@3.0.3 
│ │ │     │ └─┬ brace-expansion@1.1.6 
│ │ │     │   ├── balanced-match@0.4.2 
│ │ │     │   └── concat-map@0.0.1 
│ │ │     ├── once@1.3.3 
│ │ │     └── path-is-absolute@1.0.0 
│ │ ├─┬ nugget@1.6.2 
│ │ │ ├─┬ pretty-bytes@1.0.4 
│ │ │ │ ├── get-stdin@4.0.1 
│ │ │ │ └─┬ meow@3.7.0 
│ │ │ │   ├─┬ camelcase-keys@2.1.0 
│ │ │ │   │ └── camelcase@2.1.1 
│ │ │ │   ├── decamelize@1.2.0 
│ │ │ │   ├─┬ loud-rejection@1.6.0 
│ │ │ │   │ ├─┬ currently-unhandled@0.4.1 
│ │ │ │   │ │ └── array-find-index@1.0.1 
│ │ │ │   │ └── signal-exit@3.0.0 
│ │ │ │   ├── map-obj@1.0.1 
│ │ │ │   ├─┬ normalize-package-data@2.3.5 
│ │ │ │   │ ├── hosted-git-info@2.1.5 
│ │ │ │   │ ├─┬ is-builtin-module@1.0.0 
│ │ │ │   │ │ └── builtin-modules@1.1.1 
│ │ │ │   │ └─┬ validate-npm-package-license@3.0.1 
│ │ │ │   │   ├─┬ spdx-correct@1.0.2 
│ │ │ │   │   │ └── spdx-license-ids@1.2.2 
│ │ │ │   │   └── spdx-expression-parse@1.0.3 
│ │ │ │   ├── object-assign@4.1.0 
│ │ │ │   ├─┬ read-pkg-up@1.0.1 
│ │ │ │   │ ├─┬ find-up@1.1.2 
│ │ │ │   │ │ └── path-exists@2.1.0 
│ │ │ │   │ └─┬ read-pkg@1.1.0 
│ │ │ │   │   ├─┬ load-json-file@1.1.0 
│ │ │ │   │   │ ├── graceful-fs@4.1.6 
│ │ │ │   │   │ ├─┬ parse-json@2.2.0 
│ │ │ │   │   │ │ └─┬ error-ex@1.3.0 
│ │ │ │   │   │ │   └── is-arrayish@0.2.1 
│ │ │ │   │   │ ├── pify@2.3.0 
│ │ │ │   │   │ └─┬ strip-bom@2.0.0 
│ │ │ │   │   │   └── is-utf8@0.2.1 
│ │ │ │   │   └── path-type@1.1.0 
│ │ │ │   ├─┬ redent@1.0.0 
│ │ │ │   │ ├─┬ indent-string@2.1.0 
│ │ │ │   │ │ └─┬ repeating@2.0.1 
│ │ │ │   │ │   └─┬ is-finite@1.0.1 
│ │ │ │   │ │     └── number-is-nan@1.0.0 
│ │ │ │   │ └── strip-indent@1.0.1 
│ │ │ │   └── trim-newlines@1.0.0 
│ │ │ ├─┬ progress-stream@1.2.0 
│ │ │ │ ├── speedometer@0.1.4 
│ │ │ │ └─┬ through2@0.2.3 
│ │ │ │   ├─┬ readable-stream@1.1.14 
│ │ │ │   │ └── isarray@0.0.1 
│ │ │ │   └─┬ xtend@2.1.2 
│ │ │ │     └── object-keys@0.4.0 
│ │ │ ├─┬ request@2.74.0 
│ │ │ │ ├── aws-sign2@0.6.0 
│ │ │ │ ├── aws4@1.4.1 
│ │ │ │ ├─┬ bl@1.1.2 
│ │ │ │ │ └─┬ readable-stream@2.0.6 
│ │ │ │ │   └── isarray@1.0.0 
│ │ │ │ ├── caseless@0.11.0 
│ │ │ │ ├─┬ combined-stream@1.0.5 
│ │ │ │ │ └── delayed-stream@1.0.0 
│ │ │ │ ├── extend@3.0.0 
│ │ │ │ ├── forever-agent@0.6.1 
│ │ │ │ ├─┬ form-data@1.0.1 
│ │ │ │ │ └─┬ async@2.0.1 
│ │ │ │ │   └── lodash@4.15.0 
│ │ │ │ ├─┬ har-validator@2.0.6 
│ │ │ │ │ ├─┬ chalk@1.1.3 
│ │ │ │ │ │ ├── ansi-styles@2.2.1 
│ │ │ │ │ │ ├── escape-string-regexp@1.0.5 
│ │ │ │ │ │ ├─┬ has-ansi@2.0.0 
│ │ │ │ │ │ │ └── ansi-regex@2.0.0 
│ │ │ │ │ │ ├── strip-ansi@3.0.1 
│ │ │ │ │ │ └── supports-color@2.0.0 
│ │ │ │ │ ├─┬ commander@2.9.0 
│ │ │ │ │ │ └── graceful-readlink@1.0.1 
│ │ │ │ │ ├─┬ is-my-json-valid@2.13.1 
│ │ │ │ │ │ ├── generate-function@2.0.0 
│ │ │ │ │ │ ├─┬ generate-object-property@1.2.0 
│ │ │ │ │ │ │ └── is-property@1.0.2 
│ │ │ │ │ │ ├── jsonpointer@2.0.0 
│ │ │ │ │ │ └── xtend@4.0.1 
│ │ │ │ │ └─┬ pinkie-promise@2.0.1 
│ │ │ │ │   └── pinkie@2.0.4 
│ │ │ │ ├─┬ hawk@3.1.3 
│ │ │ │ │ ├── boom@2.10.1 
│ │ │ │ │ ├── cryptiles@2.0.5 
│ │ │ │ │ ├── hoek@2.16.3 
│ │ │ │ │ └── sntp@1.0.9 
│ │ │ │ ├─┬ http-signature@1.1.1 
│ │ │ │ │ ├── assert-plus@0.2.0 
│ │ │ │ │ ├─┬ jsprim@1.3.0 
│ │ │ │ │ │ ├── extsprintf@1.0.2 
│ │ │ │ │ │ ├── json-schema@0.2.2 
│ │ │ │ │ │ └── verror@1.3.6 
│ │ │ │ │ └─┬ sshpk@1.10.0 
│ │ │ │ │   ├── asn1@0.2.3 
│ │ │ │ │   ├── assert-plus@1.0.0 
│ │ │ │ │   ├─┬ bcrypt-pbkdf@1.0.0 
│ │ │ │ │   │ └── tweetnacl@0.14.3 
│ │ │ │ │   ├─┬ dashdash@1.14.0 
│ │ │ │ │   │ └── assert-plus@1.0.0 
│ │ │ │ │   ├── ecc-jsbn@0.1.1 
│ │ │ │ │   ├─┬ getpass@0.1.6 
│ │ │ │ │   │ └── assert-plus@1.0.0 
│ │ │ │ │   ├── jodid25519@1.0.2 
│ │ │ │ │   ├── jsbn@0.1.0 
│ │ │ │ │   └── tweetnacl@0.13.3 
│ │ │ │ ├── is-typedarray@1.0.0 
│ │ │ │ ├── isstream@0.1.2 
│ │ │ │ ├── json-stringify-safe@5.0.1 
│ │ │ │ ├─┬ mime-types@2.1.11 
│ │ │ │ │ └── mime-db@1.23.0 
│ │ │ │ ├── node-uuid@1.4.7 
│ │ │ │ ├── oauth-sign@0.8.2 
│ │ │ │ ├── qs@6.2.1 
│ │ │ │ ├── stringstream@0.0.5 
│ │ │ │ ├── tough-cookie@2.3.1 
│ │ │ │ └── tunnel-agent@0.4.3 
│ │ │ ├── single-line-log@0.4.1 
│ │ │ └── throttleit@0.0.2 
│ │ ├── path-exists@1.0.0 
│ │ └─┬ rc@1.1.6 
│ │   ├── deep-extend@0.4.1 
│ │   ├── ini@1.3.4 
│ │   └── strip-json-comments@1.0.4 
│ └─┬ extract-zip@1.5.0 
│   ├─┬ concat-stream@1.5.0 
│   │ ├── inherits@2.0.1 
│   │ ├─┬ readable-stream@2.0.6 
│   │ │ ├── core-util-is@1.0.2 
│   │ │ ├── isarray@1.0.0 
│   │ │ ├── process-nextick-args@1.0.7 
│   │ │ ├── string_decoder@0.10.31 
│   │ │ └── util-deprecate@1.0.2 
│   │ └── typedarray@0.0.6 
│   ├── debug@0.7.4 
│   ├─┬ mkdirp@0.5.0 
│   │ └── minimist@0.0.8 
│   └─┬ yauzl@2.4.1 
│     └─┬ fd-slicer@1.0.1 
│       └── pend@1.2.0 
├─┬ js-yaml@3.6.1 
│ ├─┬ argparse@1.0.7 
│ │ └── sprintf-js@1.0.3 
│ └── esprima@2.7.3 
└─┬ process-bridge@0.3.2 
  └── semver@5.3.0 

[Extension Host] Check version of: electron-prebuilt
[Extension Host] Check version of: comma-separated-values
[Extension Host] Check version of: js-yaml
[Extension Host] Check version of: process-bridge
[Extension Host] Try to send IPC message: 1
[Extension Host] Try to send IPC message: 1
anseki commented 8 years ago

Hi @aolko, thank you for the report.

That is very strange error, because it said that electron.app is undefined. That is unlikely. I think that it means Electron is broken. The log seems to have no problem. But the installing might have failed. Try to re-install the extension.

Uninstall the extension, and remove C:\Users\shtanin\.vscode\extensions\anseki.vscode-color-0.1.10 directory to uninstall completely. And then, re-install the extension.

BrandonRice commented 8 years ago

I am receiving the following error: [processBridge]: Error: Cannot get npm

Windows 10 (64bit) VSCode 1.4.0 Node 5.10.0

Color Picker v. 0.1.10

I have uninstalled Color Picker and made sure the folder was deleted from the extensions directory. I even reinstalled VSCode. Not for sure what the problem is.

anseki commented 8 years ago

@aolko, If the issue was not solved by re-installing: Your log contains several error messages from other extensions. One of those extensions might have brought problem. To try once, uninstall other extensions.

anseki commented 8 years ago

Hi @BrandonRice, thank you for the report. Check the log. (Click menu of VS Code "Help > Toggle Developer Tools", and click "Console" tab.) If any message was shown, show me it please.