npm run lint 실행시 오류 발생합니다 babel이랑 안맞나본데요ㅠ
5015
投稿した質問数 6
무엇을 고쳐야할지 모르겠어요ㅠ
❯ npm run lint
> front@1.0.0 lint /Users/davidhong/Documents/001_Study/300_vue_inflearn/front
> eslint **/*
Oops! Something went wrong! :(
ESLint: 6.3.0.
No files matching the pattern "node_modules/@babel" were found.
Please check for typing mistakes in the pattern.
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! front@1.0.0 lint: `eslint **/*`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the front@1.0.0 lint script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/davidhong/.npm/_logs/2019-09-08T07_14_29_493Z-debug.log
回答 19
9
저는 package.json 파일에서 lint 스크립트 수정해서 해결했습니다.
혹시 도움이 되실까해서 남깁니다~
{
...
"scripts": {
"dev": "nuxt",
"lint": "eslint --ext .js,.vue ."
},
...
"devDependencies": {
"eslint": "^6.6.0",
"eslint-plugin-vue": "^6.0.0"
},
"dependencies": {
"@nuxtjs/axios": "^5.8.0",
"@nuxtjs/vuetify": "^1.9.0",
"nuxt": "^2.10.2",
"vue": "^2.6.10",
"vuetify": "^2.1.7"
}
}
0
저도 동일한 오류가 뜨네요. 조현형님 코드 클론해도 같은 오류 뜨고요. 희안하네요.. 노드 모듈도 다시 설치해보고 @babel 설치도 확인했습니다. vscode의 문제일수도 있을까요
0
https://github.com/david-th-hong/vueinflearn/tree/master/front
혹시몰라 git url 첨부드립니다
npm run dev 할 때 에러가 발생합니다.
0
143
1
해당 강의는 리뉴얼 예정은 따로 없나요?
0
326
1
강의는 언제까지 업데이트 된 내용인가요?
0
328
2
실습 환경 문의(Node 버전)
0
363
1
로그인 새로고침시 풀림
0
289
1
안녕하세요! 로그인 유지 질문 드립니다!
0
401
1
웹 서버 관련해서 질문드립니다.
0
439
1
버전때매 질문 드립니다!!
0
311
1
이 강의는 vue3는 아닌가요??
0
370
1
vsCode에 관한 질문입니다
0
487
1
v.trim()이 타입에러가 뜹니다...
0
341
1
express.static('uploads')
0
340
2
STRING이 인식이 안되는데 이유알수있을까요?
0
444
2
<v-lsit-item-title> 에러
0
407
2
vue cli 를 실무에서도 사용하지 않으시나요?
0
317
1
선생님 처음 환경 셋팅 관련 문의드립니다.
0
383
1
nuxtServerInit 무한 로딩
0
971
3
Nginx Cookie 설정
0
720
2
상태가 204번인경우에는 어떻게 처리를 해야하나요?
0
290
1
선생님 nuxt 관련질문드립니다.
0
347
1
인덱스 비교로 삭제해도 될까요?
0
380
1
질문 드립니다!
0
327
2
안녕하세요
0
223
1
궁금한점이있습니다
0
233
1


