Closed phil-harmoniq closed 6 years ago
Hi @phil-harmoniq, thank you for the report. So, does that error occur in JSON file only? I guess that the error occurs regardless of whether it is JSON or not, because this extension supports JSON also.
That's strange, it works fine in my CSS and SCSS files.
Hmm... To try, copy the JSON file into the directory that contains the CSS file, and try the command in both CSS and JSON.
Oddly enough, that seems to do the trick. It seems it was giving me this error when I open single files (not a workspace). Thanks for helping me clear that up. 👍
I'm happy for you. :smile: Maybe, multiple Nodes were installed in your computer, and Electron was installed globally in one of Node environments. That should not be installed globally because various apps may not work by the confliction. Try to remove that. (except there are special reasons)
First, activate each Node and NPM.
npm uninstall -g electron
npm uninstall -g electron-prebuilt
An error might occur if Electron is not found in that Node. And you can ignore that.
And, can you close this issue because it was solved?
No problem, thanks for your help.
node -v
): 9.6.1npm -v
): 5.6.0Steps to Reproduce:
.json
files)Log (All lines): (Click menu of VS Code "Help > Toggle Developer Tools", and click "Console" tab)
I'm guessing this isn't a bug, and that this tool was never meant to be used in JSON files. Nevertheless, I thought that I'd bring it to your attention that this would be a really neat tool to have while working on VS Code themes. 😄