분류 전체보기 316

(Angular) Error - You can check this with `npm ls @ngtools/webpack`, and then remove the extra copies. 해결법

○ ng build 또는 ng serve시 에러 ERROR in ./src/polyfills.ts Module build failed: Error: Angular Compiler was detected but it was an instance of the wrong class. This likely means you have several @ngtools/webpack packages installed. You can check this with `npm ls @ngtools/webpack`, and then remove the extra copies. ○ npm ls @ngtools/webpack 입력 +-- @angular/cli@1.6.3 | `-- @ngtools/webpack@1.9.3 `-- ..

(Angular5) 시작하기

* Angular는 Node 환경이기 때문에 Node가 필수적으로 설치되어 있어야 합니다.Angular requires Node.js version 8.x or 10.x. 1. Angular client 설치 npm install -g @angular/cli 2. Workspace와 초기 Application 생성하기 ng new [만들고 싶은 프로젝트 이름] ● 명령어- ng serve : Angular 내 자체 개발 서버를 띄우는 명령어- ng eject : Webpack config 추출 명령어 -> webpack.config.js 생성- ng build : Server에 삽입할 수 있도록 Angular source를 build -> bundle 소스 생성- ng generate [component..

반응형