nwutils / nw-vue-devtools

devDependency to add Vue-DevTools into NW.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

can't loaded the extension when started my app

Lynn-cc opened this issue · comments

commented

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.

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.

@Lynn-cc @thoni56

There is an alternate repo you can try:

It downloads Vue Devtools directly from the Chrome store, rather than building from the source code.