Uncaught ReferenceError: SystemJS is not defined
560
엄태인
작성한 질문수 11
1
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>ToDo</title>
<base href="/">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="favicon.ico">
<script src="https://unpkg.com/systemjs/dist/system.js"></script>
<script>
SystemJS.config({
baseURL: '/toDo/src/module',
transpiler: 'plugin-babel',
map : {
'plugin-babel' : 'https://unpkg.com/systemjs-plugin-babel/plugin-babel.js',
'systemjs-babel-build' : 'https://unpkg.com/systemjs-plugin-babel/systemjs-babel-browser.js'
}
});
SystemJS.import('main.js');
</script>
</head>
<body>
<app-root>Lodaing</app-root>
</body>
</html>
강의 내용대로 작성했는데 SystemJS를 못 찾는다고 나오네요 ㅠㅠㅠ
뭐가 잘못된 걸까요??
답변 2
0
SystemJS 최신버전에선 강의에서 사용된 함수 호출에 문제가 있어 보입니다.
0.21.5 버전을 사용해 보세요.
<script src="https://unpkg.com/systemjs@0.21.5/dist/system.js"></script>
오류
0
297
0
item.ts에서 정의할 떄 정의가 안됩니다.
0
293
0
클래스 수업 내용 중 오류 질문
1
724
3
질문이요.
0
341
1
initializeApp 부분에 오류가 납니다.
0
263
1
오류가 납니다
0
216
0
섹션2 FireBase의 petList활용하기에서 에러나네요
0
327
1
{{ one.name }} 이 나오지 않습니다.
0
205
0
chart.js설치했는데 경로가 없다고 에러가 나요?
0
277
0
4:00
0
233
0
9:12
0
299
2
6:45
0
220
1
2:16 질문
1
471
3
target을 es6로 했는데, 다르게 나옵니다 ㅠ-ㅠ
1
325
1
2:15 어디서 카피할 수 있나요?
1
240
1
플러그인 정보
1
505
3
강의가 누락된 것 같습니다
0
237
1
Uncaught ReferenceError: SystemJS is not defined이 뜹니다
4
864
3
이클립스로는 못여나요?
0
438
3
다음 페이지 요청
0
204
0
실행은 되는데 SyntaxError가 발생합니다.
0
216
0
todo.components.ts에서 check박스가 center로 맞춰지지 않아요.
0
235
1
저도 main.js를 못찾는다고 나옵니다.
2
301
1
localhost:4200/proj-name/src/module/main.js 를 찾을수없다고 뜹니다.
0
668
6





