http://localhost:3000/ 하면 404에러가 납니다.
692
작성한 질문수 1
npx lite0server --baseDir 1-vanilla
터미널에서 실행 후, localhost:3000접속하면
Cannot GET / 이라고 뜨고 개발자도구에는 404에러라고 뜹니다.
터미널에도 404 에러구요.. 어떻게 하면 화면 띄울수있을까요?
Did not detect a `bs-config.json` or `bs-config.js` override file. Using lite-server defaults...
** browser-sync config **
{
injectChanges: false,
files: [ './**/*.{html,htm,css,js}' ],
watchOptions: { ignored: 'node_modules' },
server: {
baseDir: './',
middleware: [ [Function (anonymous)], [Function (anonymous)] ]
}
}
[Browsersync] Access URLs:
--------------------------------------
Local: http://localhost:3000
External: http://192.168.0.102:3000
--------------------------------------
UI: http://localhost:3001
UI External: http://localhost:3001
--------------------------------------
[Browsersync] Serving files from: ./
[Browsersync] Watching files...
23.09.07 15:29:32 404 GET /index.html
23.09.07 15:29:35 404 GET /index.html
23.09.07 15:33:58 404 GET /index.html
답변 1
리액트 1,2부 이후 후속 강의나 준비 중인 다른 강의가 있으신가요?
1
91
2
super.show() 호출하는 이유가 궁금합니다.
1
83
2
class와 constructor를 이용한 객체 지향 프로그래밍
0
225
2
mvc 패턴 질문
0
197
2
Cannot read properties of undefined (reading 'props')
0
271
2
delegate, emit 필요한 이유
0
197
2
어떤거를 먼저 들어야 하는지 도와주세요
1
265
1
localhost:8080 접속 불가
1
283
1
최근검색어 3 풀이에서
1
188
1
import 문제
1
233
1
자동변환 관련
1
204
1
sort() 질문 드립니다.
1
304
2
reset 시점에 searchResult 빈 배열로 update
2
312
2
Button에 Onclick사용
1
248
1
npx lite-server error 확인 요청드립니다.
1
470
2
node 20이상 쓸때 꿀팁
4
760
3
디버깅 관련질문이 있습니다.
1
295
1
[순수JS2]탭 3(풀이) 질문있습니다.
1
229
1
추상화를 어떻게 받아들이면 될까요??
1
436
1
[검색폼 1] View.js 파일 질문과 학습 질문
1
330
1
on 메서드 eventName 문의
1
268
1
import에 관해서 질문드립니다
1
257
1
view.js의 on 메소드에 대해 질문드립니다
1
260
1
componentDidMount에서 getKeywordList()를 하는 이유
1
243
1





