Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Got some errors and debugging messages after git clone of this project #247

Closed
u480 opened this issue Jun 25, 2018 · 4 comments
Closed

Got some errors and debugging messages after git clone of this project #247

u480 opened this issue Jun 25, 2018 · 4 comments

Comments

@u480
Copy link

u480 commented Jun 25, 2018

ngrx material starter error output

after git clone of this project

the project will not be running

here the output of chrome debugging

[DEBUG] action: @ngrx/store/init {payload: undefined, oldState: undefined, newState: {…}}
debug.reducer.ts:6 [DEBUG] action: @ngrx/store/update-reducers {payload: undefined, oldState: {…}, newState: {…}}
debug.reducer.ts:6 [DEBUG] action: @ngrx/effects/init {payload: undefined, oldState: {…}, newState: {…}}
core.es5.js:168 Could not find HammerJS. Certain Angular Material components may not work correctly.
push../node_modules/@angular/material/esm5/core.es5.js.MatCommonModule._checkHammerIsAvailable @ core.es5.js:168

EDIT: removed unnecessary long stacktrace

@tomastrajan
Copy link
Owner

Hi @u480 !

Thank you for reporting the issue! It seems to be caused by missing dependency Could not find HammerJS which didn't cause major problems before but probably results in errors with new versions of Angular Material.

@u480
Copy link
Author

u480 commented Jun 26, 2018

$ yarn add hammerjs
yarn add v1.7.0
warning ..\package.json: No license field
[1/5] Resolving packages...
[2/5] Fetching packages...
info fsevents@1.2.4: The platform "win32" is incompatible with this module.
info "fsevents@1.2.4" is an optional dependency and failed compatibility check.
Excluding it from installation.
[3/5] Linking dependencies...
warning " > @angular/animations@6.0.0" has incorrect peer dependency "@angular/c
ore@6.0.0".
warning " > @angular/forms@6.0.0" has incorrect peer dependency "@angular/core@6
.0.0".
warning " > @angular/forms@6.0.0" has incorrect peer dependency "@angular/common
@6.0.0".
warning " > @angular/forms@6.0.0" has incorrect peer dependency "@angular/platfo
rm-browser@6.0.0".
warning " > @angular/http@6.0.0" has incorrect peer dependency "@angular/core@6.
0.0".
warning " > @angular/http@6.0.0" has incorrect peer dependency "@angular/platfor
m-browser@6.0.0".
warning " > @angular/material@6.3.0-c276e26" has incorrect peer dependency "@ang
ular/cdk@6.3.0-c276e26".
warning " > @angular/platform-browser-dynamic@6.0.0" has incorrect peer dependen
cy "@angular/core@6.0.0".
warning " > @angular/platform-browser-dynamic@6.0.0" has incorrect peer dependen
cy "@angular/common@6.0.0".
warning " > @angular/platform-browser-dynamic@6.0.0" has incorrect peer dependen
cy "@angular/compiler@6.0.0".
warning " > @angular/platform-browser-dynamic@6.0.0" has incorrect peer dependen
cy "@angular/platform-browser@6.0.0".
warning " > @angular/router@6.0.0" has incorrect peer dependency "@angular/core@
6.0.0".
warning " > @angular/router@6.0.0" has incorrect peer dependency "@angular/commo
n@6.0.0".
warning " > @angular/router@6.0.0" has incorrect peer dependency "@angular/platf
orm-browser@6.0.0".
warning " > bootstrap@4.1.1" has unmet peer dependency "jquery@1.9.1 - 3".
warning " > bootstrap@4.1.1" has unmet peer dependency "popper.js@^1.14.3".
warning " > @angular/compiler-cli@6.0.0" has incorrect peer dependency "@angular
/compiler@6.0.0".
warning " > codelyzer@4.1.0" has incorrect peer dependency "@angular/compiler@^2
.3.1 || >=4.0.0-beta <6.0.0".
warning " > codelyzer@4.1.0" has incorrect peer dependency "@angular/core@^2.3.1
|| >=4.0.0-beta <6.0.0".
warning " > codelyzer@4.1.0" has incorrect peer dependency "@angular/platform-br
owser-dynamic@^2.3.1 || >=4.0.0-beta <6.0.0".
warning " > codelyzer@4.1.0" has incorrect peer dependency "@angular/platform-br
owser@^2.3.1 || >=4.0.0-beta <6.0.0".
warning " > codelyzer@4.1.0" has incorrect peer dependency "@angular/common@^2.3
.1 || >=4.0.0-beta <6.0.0".
[4/5] Building fresh packages...
[5/5] Cleaning modules...
success Saved 1 new dependency.
info Direct dependencies
└─ hammerjs@2.0.8
info All dependencies
└─ hammerjs@2.0.8
Done in 28.81s.

But still da same

@u480
Copy link
Author

u480 commented Jun 26, 2018

before some problems as above

git pull !!!TODAY!!!
make it s working

@tomastrajan
Copy link
Owner

Just did fresh git clone, npm install and npm run and it runs without any error. Maybe you have problem with your development environment? Check your version of node and npm, try to update it to latest and maybe it helps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants