npm run dev 오류 해결
맥북 사용자 입니다.
터미널에 npm run dev
npm errcode ELIFECYCLE
npm errno ENOENT
해당 에러가 발생하여 진행을 못하고 있었는데
구글링을 통해
밑에 링크의 답변으로 해결하였습니다.
참고해주세요 ㅎㅎ
https://stackoverflow.com/questions/42308879/npm-err-code-elifecycle
SeJin Kang
2
1
vuetify 설치 후 error
vuetify 설치를 한 후 error가 뜨는데 해결 방법이 있을까요?
Failed to compile../node_modules/vuetify/src/components/VGrid/_grid.sass Module parse failed: Unexpected character '@' (1:0) You may need an appropriate loader to handle this file type. | @import '../../styles/styles.sass' | | .container @ ./node_modules/vuetify/lib/components/VGrid/VLayout.js 1:0-50 @ ./node_modules/vuetify/lib/components/VGrid/index.js @ ./node_modules/vuetify/lib/components/index.js @ ./node_modules/vuetify/lib/index.js @ ./src/plugins/vuetify.js @ ./src/main.js @ multi (webpack)-dev-server/client?http://localhost:8084 webpack/hot/dev-server ./src/main.js
원윤희
1
2
sublime text vs vue
<template>
html
</template>
<script>
js
</script>
<style>
css
</style>
sublime text html랑 vue 차이점?
sublime text .html를 .vue에 넣으면?
ex) template 부분에 html 부분 넣고
script 부분에 js 넣고
style 부분에 css 넣으면 실행이 안되던데 왜 그런지 알고 싶어요.
<html>
<script>
</script>
<style>
</style>
</html>
원윤희
1
1
npm run dev 에러
➜ vue-inter git:(master) ✗ npm run dev
npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path /Users/doubllles_/Documents/TIL/vue-inter/package.json
npm ERR! errno -2
npm ERR! enoent ENOENT: no such file or directory, open '/Users/doubllles_/Documents/TIL/vue-inter/package.json'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/doubllles_/.npm/_logs/2020-08-19T14_22_03_458Z-debug.log
npm run dev 작동시 에러가 뜨는데 ...
뭐가 문제인지 모르겠습니다..
kaoe1112@naver.com
1
1
컴포넌트 생성 오류
안녕하세요 강의를 듣고 있는데요!
해당 부분
const my_cmp = {
template: '<div>my component</div>'
};
// eslint-disable-next-line no-undef
new Vue({
el: '',
components: {
'my-cmp' : my_cmp
}
})
넣으면 Uncaught ReferenceError: Vue is not defined at eval 이런 오류가 뜹니다 ㅠㅠ그런데 저부분을 지우면 파일들을 다 불러 오더라구요.지금 배우고 있는 단계라 저 부분이 왜 추가되야 하는지 잘 이해가 안갑니다 . 그리고 왜 오류가 뜨는지 모르겠어요 도와주세용 !!!
jiyeon shin
1
1
컴포넌트 자동완성이 안될때..
해당 강의 들으면서 TodoHeader 엔터치면 자동완성이 되어야하는데 안되네요. vetur 다시 설치도 했는데도..
혹시몰라서
초급강의 때 프로젝트에서 컴포넌트 입력했더니
거기서는 자동완성이 잘 되구요..
해결방법까진 아니더라도,
대략적으로 어떤 문제이실 것 같나요..?
hansol Hong
1
1
컴포넌트 등록
컴포넌트 등록할때
components: {
TodoHeader,
TodoFooter,
TodoList,
TodoInput
}
아니면 'TodoHeader' : TodoHeader 이렇게 하는건 다 컴파일 오류이고
components:{
'todo-header':TodoHeader,
'todo-list':TodoInput,
'todo-input':TodoList,
'todo-footer':TodoFooter
}
이렇게 해야만 오류가 안납니다.
강사님처럼 할 수 있는 방법이 있나요 ??
박진영
1
3
vue init으로 생성하지 않았을 경우
vue init 으로 생성하려는데 에러나서 vue create로 생성 후 바로 넘어왔습니다. 그랬더니 npm run dev가 안되네요.
npm run dev 와 npm run build 가 차이가 있는지 알고 싶습니다.
주창환
1
1
런데브?
런데브? 이걸해야 화면 테스트가 가능한가요,,?
화면을 띄우고싶은데 방법을모르겠습니다
index.html -> 에서 오픈 라이브 서버 하며나왔엇는데;;
최광일
1
2
메타 테그랑
메타 테그랑 제이쿼리파일 css파일 등등
html5구조는 어떤식으로 가져올수잇을까요?
바디 테그 등...
최광일
1
3
알려주신대로 쭉 따라하는데 이런 에러가 뜹니다(npm run dev 실행시 에러메세지)
C:UsersL.C.Wvue-todo>npm run devnpm ERR! missing script: devnpm ERR! A complete log of this run can be found in:npm ERR! C:UsersL.C.WAppDataRoamingnpm-cache_logs2019-03-19T17_17_32_433Z-debug.lognpm run dev 실행시 이런 에러메세지는 어떻게 해야하나요??
풀스택
1
0
export default와 new Vue 관련
설명 중에 궁금한 것이 있습니다.아래와 같이 변수와 인스턴스를 사용하는 방법,var my_cmp = { ... };new Vue({...}그리고export default를 사용하는 것의 차이는 제가 이해한 것이 맞는지 궁금합니다.첫번째 사례는 component 내에서 template를 적용하는 것이고두번째 export default는 만들어진 컴포넌트를 불러서 사용하는 것인지?설명중에 위의 방법이 ES5방법이라고 언급해서 제가 맞게 이해하고 있는지 궁금합니다.그리고 export default에 대한 언급이 없던데,이건 import 한 component를 현재 작업 중이 template로 가져온다는 것인가요?
ecomarine
1
1
뭔가 셋팅이 빠진게 있나요??세네번씩 돌려봐도 빠진게 없는데 컴포넌트 등록이 안됩니다
[Vue warn]: Failed to mount component: template or render function not defined.found in---> at src/components/TodoHeader.vue at src/App.vue
풀스택
0
4
문의 드립니다.
npm run dev 시 아래와 같이 vue 파일을 못 찾는 것 같습니다.원인이 무엇일까요?ERROR in ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/App.vueModule not found: Error: Can't resolve '/components/ToDoList.vue' in 'E:myprojectvue-todosrc'@ ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/App.vue 13:0-48@ ./src/App.vue@ ./src/main.js@ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./src/main.js
김영용
0
0