can't loaded the extension when started my app
Lynn-cc opened this issue · comments
the extension
directory can't be read.
By the way, I use tnpm
install of npm
in my computer, dose this matter ?
Yes, you need git
, and npm
installed globally. nw-vue-devtools
will use git to clone down the latest version of Vue DevTools source code, it then runs an npm install
on the cloned code to get all dependencies. Then does a build. See the "Prerequisites", "Instructions", and "How it works" sections in the README.
- https://github.com/TheJaredWilcurt/nw-vue-devtools#prerequisites
- https://github.com/TheJaredWilcurt/nw-vue-devtools#instructions
- https://github.com/TheJaredWilcurt/nw-vue-devtools#how-it-works
If this automated form does not work for you, this video shows manual steps:
In my case the installation could not clone the devtools-repo since I ran npm from cywgin, which trashed the paths.
Moving to a cmd-console worked.
Help for me would have been a detection of the failed clone and printing an error message.
The git clone code is here:
It should attempt an https clone, then if that fails, try an ssh clone, and if that fails, throw an error message.
There is an alternate repo you can try:
It downloads Vue Devtools directly from the Chrome store, rather than building from the source code.