https://github.com/SimulatedGREG/electron-vue/issues/863
npm run dev or yarn run dev error : Unable to install `vue-devtools`: · Issue #863 · SimulatedGREG/electron-vue
λ yarn run dev yarn run v1.13.0 warning package.json: No license field $ node .electron-vue/dev-runner.js ___ __ __ /\_ \ __ ___ /\ \__ _ __ ___ ___ __ __ __ __ __ / ,.`\ \//\ \ / ,.`\ /'___\ \...
github.com
vuex 데이터들을 디버깅하는 용도로 vue-devtools 가 필요했는데 일렉트론에 보이지 않았다.
알고보니 실행할때마다 unable to install `vue-devtools`: error: exited with code 2 라는 에러 코드가 떠서 제대로 설치가 되지 않았던것..
코드를 보니 실행할때마다 vue-devtool을 다운받아 등록하는거 같은데 npm을 dev-depednecy로 등록하여 다운받은뒤 파일을 가져오는 형태로 수정하였다.
'IT > vue' 카테고리의 다른 글
[vue-electron] A dynamic link library (DLL) initialization routine failed. 에러 해결방법 (0) | 2021.09.23 |
---|---|
[nuxt] axios 프록시 설정하는 방법 (0) | 2020.08.20 |
you may have an infinite update loop in a component render function 에러 해결 방법 (0) | 2020.07.24 |