Open Itisfilipe opened 7 years ago
I'm having a problem to run this app. I cloned it, ran npm install and tried to run it with npm 5.3.0
npm install
npm 5.3.0
Angular-kitchen-sink git:(master) ✗ npm run dev > angularKitchenSink@0.3.27 dev /home/filipe/Workspace/ng2-demo/Angular-kitchen-sink > ng serve --port 4201 --aot false ** NG Live Development Server is listening on localhost:4201, open your browser on http://localhost:4201 ** Hash: 75a2042ea37140c8a900 Time: 38393ms chunk {0} 0.chunk.js, 0.chunk.js.map 12.8 kB {1} [rendered] chunk {1} main.bundle.js, main.bundle.js.map (main) 548 kB {3} [initial] [rendered] chunk {2} styles.bundle.js, styles.bundle.js.map (styles) 190 kB {4} [initial] [rendered] chunk {3} vendor.bundle.js, vendor.bundle.js.map (vendor) 6.12 MB [initial] [rendered] chunk {4} inline.bundle.js, inline.bundle.js.map (inline) 0 bytes [entry] [rendered] ERROR in /home/filipe/Workspace/ng2-demo/Angular-kitchen-sink/src/comps/app1/todos/Todolist.ts (10,20): Cannot find module 'Immutable'. ERROR in /home/filipe/Workspace/ng2-demo/Angular-kitchen-sink/src/pipes/SortBy.ts (2,20): Cannot find module 'Immutable'. webpack: Failed to compile.
Angular-kitchen-sink git:(master) ✗ ng --version _ _ ____ _ ___ / \ _ __ __ _ _ _| | __ _ _ __ / ___| | |_ _| / △ \ | '_ \ / _` | | | | |/ _` | '__| | | | | | | / ___ \| | | | (_| | |_| | | (_| | | | |___| |___ | | /_/ \_\_| |_|\__, |\__,_|_|\__,_|_| \____|_____|___| |___/ @angular/cli: 1.2.6 node: 6.11.1 os: linux x64 @angular/animations: 4.3.2 @angular/common: 4.3.2 @angular/compiler: 4.3.2 @angular/core: 4.3.2 @angular/forms: 4.3.2 @angular/http: 4.3.2 @angular/platform-browser: 4.3.2 @angular/platform-browser-dynamic: 4.3.2 @angular/router: 4.0.2 @angular/cli: 1.2.6 @angular/compiler-cli: 4.3.2 @angular/language-service: 4.3.2
Angular-kitchen-sink git:(master) ✗ npm ls --depth=0 angularKitchenSink@0.3.27 /home/filipe/Workspace/ng2-demo/Angular-kitchen-sink ├── @angular/animations@4.3.2 ├── @angular/cli@1.2.6 ├── UNMET PEER DEPENDENCY @angular/common@4.3.2 ├── UNMET PEER DEPENDENCY @angular/compiler@4.3.2 ├── @angular/compiler-cli@4.3.2 ├── UNMET PEER DEPENDENCY @angular/core@4.3.2 ├── @angular/forms@4.3.2 ├── @angular/http@4.3.2 ├── @angular/language-service@4.3.2 ├── UNMET PEER DEPENDENCY @angular/platform-browser@4.3.2 ├── UNMET PEER DEPENDENCY @angular/platform-browser-dynamic@4.3.2 ├── @angular/router@4.0.2 ├── @angularclass/hmr@1.2.2 ├── @types/greensock@1.15.32 ├── @types/hammerjs@2.0.34 ├── @types/immutable@3.8.7 ├── @types/jasmine@2.5.38 ├── @types/jquery@2.0.48 ├── @types/lodash@4.14.71 ├── @types/node@6.0.85 ├── @types/redux@3.6.0 ├── @types/redux-thunk@2.1.32 ├── angular2-fontawesome@0.8.0 ├── angular2-redux-util@0.8.87 ├── angular2-uuid@1.1.1 ├── bootbox@4.4.0 ├── bootstrap@3.3.7 ├── codelyzer@3.1.2 ├── core-js@2.4.1 ├── font-awesome@4.7.0 ├── gsap@1.20.2 ├── gulp@3.9.1 ├── gulp-bump@2.7.0 ├── gulp-comment-swap@0.0.10 ├── gulp-concat@2.6.1 ├── gulp-git@1.15.1 ├── gulp-inject@1.5.0 ├── gulp-insert@0.5.0 ├── gulp-replace@0.5.4 ├── gulp-rimraf@0.2.1 ├── gulp-shell@0.5.2 ├── gulp-sourcemaps@1.12.0 ├── gulp-tslint@4.3.5 ├── gulp-tslint-stylish@1.1.1 ├── gulp-typedoc@1.2.1 ├── gulp-typescript@3.2.1 ├── gulp-uglify@1.5.4 ├── gulp-util@3.0.8 ├── gulp-watch@4.3.11 ├── hammerjs@2.0.8 ├── handlebars@1.3.0 extraneous ├── immutable@3.8.1 ├── jquery@3.2.1 ├── lodash@4.17.4 ├── moment@2.18.1 ├── ng-mslib@1.0.113 ├── ng2-bootstrap@1.6.3 ├── ng2-bs3-modal@0.10.4 ├── ng2-redux@4.2.1 ├── ngx-toastr@5.3.1 ├── redux@3.7.2 ├── redux-observable@0.12.2 ├── redux-thunk@2.2.0 ├── reselect@2.5.4 ├── rsync@0.5.0 ├── run-sequence@1.2.2 ├── rxjs@5.4.2 ├── string@3.3.3 ├── ts-helpers@1.1.2 ├── ts-node@1.2.1 ├── UNMET PEER DEPENDENCY tslint@3.13.0 ├── typescript@2.2.2 ├── webdriver-manager@10.2.5 └── zone.js@0.8.4 npm ERR! peer dep missing: @angular/common@4.0.2, required by @angular/router@4.0.2 npm ERR! peer dep missing: @angular/common@^2.0.0, required by angular2-fontawesome@0.8.0 npm ERR! peer dep missing: @angular/common@^2.0.0, required by ng2-bs3-modal@0.10.4 npm ERR! peer dep missing: @angular/compiler@^2.0.0, required by ng2-bs3-modal@0.10.4 npm ERR! peer dep missing: @angular/core@4.0.2, required by @angular/router@4.0.2 npm ERR! peer dep missing: @angular/core@^2.0.0, required by angular2-fontawesome@0.8.0 npm ERR! peer dep missing: @angular/core@^2.0.0, required by ng2-bs3-modal@0.10.4 npm ERR! peer dep missing: @angular/core@^2.0.0, required by ng2-redux@4.2.1 npm ERR! peer dep missing: @angular/platform-browser@4.0.2, required by @angular/router@4.0.2 npm ERR! peer dep missing: @angular/platform-browser@^2.0.0, required by ng2-bs3-modal@0.10.4 npm ERR! peer dep missing: @angular/platform-browser-dynamic@^2.0.0, required by ng2-bs3-modal@0.10.4 npm ERR! peer dep missing: tslint@^5.0.0, required by codelyzer@3.1.2 npm ERR! extraneous: handlebars@1.3.0 /home/filipe/Workspace/ng2-demo/Angular-kitchen-sink/node_modules/handlebars npm ERR! error in /home/filipe/Workspace/ng2-demo/Angular-kitchen-sink/node_modules/svgo/node_modules/js-yaml: ENOENT: no such file or directory, open '/home/filipe/Workspace/ng2-demo/Angular-kitchen-sink/node_modules/svgo/node_modules/js-yaml/package.json' npm ERR! invalid: js-yaml /home/filipe/Workspace/ng2-demo/Angular-kitchen-sink/node_modules/svgo/node_modules/js-yaml npm ERR! error in /home/filipe/Workspace/ng2-demo/Angular-kitchen-sink/node_modules/directory-encoder/node_modules/handlebars: ENOENT: no such file or directory, open '/home/filipe/Workspace/ng2-demo/Angular-kitchen-sink/node_modules/directory-encoder/node_modules/handlebars/package.json' npm ERR! invalid: handlebars /home/filipe/Workspace/ng2-demo/Angular-kitchen-sink/node_modules/directory-encoder/node_modules/handlebars
just tried it on latest npm 5 and works fine on my end
hmm, interesting, can you send me your output for npm ls --depth=0 inside the project folder? thank you =)
npm ls --depth=0
I'm having a problem to run this app. I cloned it, ran
npm install
and tried to run it withnpm 5.3.0