When I follow the instructions from the readme, the project will not compile. First there are a couple of warnings during npm install and npm start fails during webpack initialization. I have tried to upgrade components, even rewrote some lines as f.i. the select module in later versions is in ng2-select/select/ instead of ng2-select/components/select/ but this does not work. I am using atom.io as editor, and am running npm from the commandline on linux. node v7.4.0 npm v4.1.2, os: 4.9.6-1-ARCH #1 SMP PREEMPT Thu Jan 26 09:22:26 CET 2017 x86_64 GNU/Linux
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN [email protected] requires a peer of rxjs@^5.0.0 but none was installed.
npm WARN [email protected] requires a peer of @angular/core@^2.4.1 but none was installed.
npm WARN [email protected] requires a peer of @angular/common@^2.3.0 but none was installed.
npm WARN [email protected] requires a peer of @angular/core@^2.3.0 but none was installed.
npm WARN [email protected] requires a peer of @angular/common@^2.3.0 but none was installed.
npm WARN [email protected] requires a peer of @angular/compiler@^2.3.0 but none was installed.
npm WARN [email protected] requires a peer of @angular/core@^2.3.0 but none was installed.
npm WARN [email protected] requires a peer of @angular/forms@^2.3.0 but none was installed.
npm WARN [email protected] No repository field.
ERROR in ./src/main.ts
(7,28): error TS2307: Cannot find module 'ng2-select/components/select/common'.
ERROR in ./src/main.ts
(8,29): error TS2307: Cannot find module 'ng2-select/components/select/select-pipes'.
ERROR in ./src/app/pages/HomePage/home.module.ts
(12,32): error TS2307: Cannot find module 'ng2-bootstrap/components/carousel'.
ERROR in ./src/main.ts
Module not found: Error: Cannot resolve module 'ng2-select/components/select/common' in /home/miblon/NetBeansProjects/civichq-client/src
@ ./src/main.ts 6:15-61
ERROR in ./src/main.ts
Module not found: Error: Cannot resolve module 'ng2-select/components/select/select-pipes' in /home/miblon/NetBeansProjects/civichq-client/src
@ ./src/main.ts 7:21-73
ERROR in ./src/app/pages/HomePage/home.module.ts
Module not found: Error: Cannot resolve module 'ng2-bootstrap/components/carousel' in /home/miblon/NetBeansProjects/civichq-client/src/app/pages/HomePage
@ ./src/app/pages/HomePage/home.module.ts 16:17-61
Child html-webpack-plugin for "index.html":
chunk {0} index.html 1.64 kB [rendered]
[0] ./~/html-webpack-plugin/lib/loader.js!./src/index.html 1.64 kB {0} [built]
webpack: Failed to compile.