frontend-maven-plugin icon indicating copy to clipboard operation
frontend-maven-plugin copied to clipboard

use npx with yarn

Open delanym opened this issue 3 years ago • 1 comments

I've gone with yarn, but now I need npx. Do I have to switch to npm?

delanym avatar Nov 16 '20 06:11 delanym

@delanym I use yarn with a Vue.js project, and I just invoke npx and it works without issues. If you have installed npx globally, it should be able to run without issues. I just tested on a Java project I'm using frontend-maven-plugin, and it successfully invoked vue-cli-service.

kinow@ranma:~/Development/java/jena/jena/jena-fuseki2/jena-fuseki-ui$ yarn run vue-cli-service lint
yarn run v1.22.5
$ /home/kinow/Development/java/jena/jena/jena-fuseki2/jena-fuseki-ui/node_modules/.bin/vue-cli-service lint
 DONE  No lint errors found!
Done in 4.15s.
kinow@ranma:~/Development/java/jena/jena/jena-fuseki2/jena-fuseki-ui$ npx vue-cli-service lint
 DONE  No lint errors found!

kinow avatar Dec 13 '20 08:12 kinow