npm start 가 되지 않을때 어떻게 하나요?
5037
작성한 질문수 4
- 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요!
- 먼저 유사한 질문이 있었는지 검색해보세요.
- 서로 예의를 지키며 존중하는 ㅁ문화를 만들어가요.
- 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요.
MACui-MacBook-Air:02 mac$ npm start
npm ERR! Missing script: "start"
npm ERR!
npm ERR! Did you mean one of these?
npm ERR! npm star # Mark your favorite packages
npm ERR! npm stars # View packages marked as favorites
npm ERR!
npm ERR! To see a list of scripts, run:
npm ERR! npm run
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/mac/.npm/_logs/2022-08-13T04_42_44_373Z-debug-0.log
MACui-MacBook-Air:02 mac$ n lts
bash: n: command not found
MACui-MacBook-Air:02 mac$ npm start
npm ERR! Missing script: "start"
npm ERR!
npm ERR! Did you mean one of these?
npm ERR! npm star # Mark your favorite packages
npm ERR! npm stars # View packages marked as favorites
npm ERR!
npm ERR! To see a list of scripts, run:
npm ERR! npm run
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/mac/.npm/_logs/2022-08-13T04_43_52_792Z-debug-0.log
MACui-MacBook-Air:02 mac$ npm start
npm ERR! code EJSONPARSE
npm ERR! path /Users/mac/Desktop/threejs/02/package.json
npm ERR! JSON.parse Unexpected token "{" (0x7B) in JSON at position 541 while parsing near "...: \"^0.143.0\"\n }\n}\n\n{\n \"name\": \"threejs..."
npm ERR! JSON.parse Failed to parse JSON data.
npm ERR! JSON.parse Note: package.json must be actual JSON, not just JavaScript.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/mac/.npm/_logs/2022-08-13T04_45_27_810Z-debug-0.log
MACui-MacBook-Air:02 mac$ npm webpack serve --progress
Unknown command: "webpack"
답변 1
2
아래 그림처럼 나오는 폴더에서 npm start를 실행하신게 맞는지 한번 확인해보시겠어요?
간혹 폴더 경로에서 실수가 있는 경우가 있어서요~

리액트/next.js와 같이 사용하는 강의 계획은 없으신가요?
0
98
1
소스코드 파일이 강의랑 같나요?
0
136
2
materials 배열에 있는 top, bottom ... 들에 대해서
0
130
0
gltf 포맷 사용
0
258
1
점프 애니메이션 stop
0
141
2
사양에 따른 다른 결과
0
119
1
중복 질문 삭제
0
166
1
혹시 이 빛의 범위를 조절할 수 있는 방법이 있나요?
0
129
1
gltf.scene.children 이 없는데도 모델이 화면에 떠요
0
117
2
GLF파일 export한 후에 three.js에서 렌더링 된 모델에는 텍스처 적용이 안되어있습니다..!
0
176
1
일반 유리, 강화 유리 강의에서 Glass 객체의 position X를 -1, 1로 설정한 이유를 모르겠어요
0
84
0
그림자가 다르게 표현됩니다
0
153
1
setAnimationLoop 위치가...
0
110
1
얼굴 그릴 때 붓이 깔끔하게 칠해지지 않고 얼룩덜룩해요
0
148
1
블렌더 texture paint 시 미러모드
0
168
0
DragControls의 인자값을 바꾸지 않았는데 에러가 안떠요!
0
108
1
blender 에서 색칠하기 편 Texter paint slot추가없음
0
1014
2
fin 버전도 그냥 실행이 안돼요
0
303
2
자바스크립트 실행이 안되는 것 같아요
0
407
1
모니터 해상도에 따라 mesh의 크기가 변할 수 있나요?
0
245
1
live server와 localhost:8080
0
360
1
material에 canvas 를 texture 로 넣는방법이 궁금해요
0
278
1
모바일 조이스틱은 어떻게 만들 수 있을까요?
0
217
1
징검다리 예제에서 SpotLight가 동작 오류
0
315
2





