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

Build errors #2

Closed
BBaysinger opened this issue Jan 12, 2017 · 2 comments
Closed

Build errors #2

BBaysinger opened this issue Jan 12, 2017 · 2 comments

Comments

@BBaysinger
Copy link

BBaysinger commented Jan 12, 2017

I downloaded this and ran it. I got:

ERROR in multi styles
Module not found: Error: Can't resolve '/Users/bradley/Downloads/ng2-redux-app-master/node_modules/bootstrap/dist/css/bootstrap.css' in '/Users/bradley/Downloads/ng2-redux-app-master/node_modules/angular-cli/models'
 @ multi styles

ERROR in [default] /Users/bradley/Downloads/ng2-redux-app-master/src/app/app.component.ts:28:36 
Generic type 'State<T>' requires 1 type argument(s).

ERROR in [default] /Users/bradley/Downloads/ng2-redux-app-master/src/app/app.component.ts:29:4 
Type 'Observable<{}>' is not assignable to type 'Operation[]'.
  Property 'find' is missing in type 'Observable<{}>'.

ERROR in [default] /Users/bradley/Downloads/ng2-redux-app-master/src/app/common/operations.ts:11:19 
Generic type 'State<T>' requires 1 type argument(s).

ERROR in [default] /Users/bradley/Downloads/ng2-redux-app-master/src/app/common/operations.ts:14:32 
Generic type 'ActionReducer<T>' requires 1 type argument(s).

ERROR in [default] /Users/bradley/Downloads/ng2-redux-app-master/src/app/common/operations.ts:17:12 
Cannot redeclare block-scoped variable 'operation'.

ERROR in [default] /Users/bradley/Downloads/ng2-redux-app-master/src/app/common/operations.ts:21:12 
Cannot redeclare block-scoped variable 'operation'.

ERROR in [default] /Users/bradley/Downloads/ng2-redux-app-master/src/app/common/operations.ts:27:12 
Cannot redeclare block-scoped variable 'operation'.

The first error was resolved with npm install bootstrap@next, but that step only mentioned in the tutorial, not on the readme.

@hggeorgiev
Copy link
Owner

Hey, @BBaysinger !

Thanks for noting the problem. The package.json file was missing bootstrap as a dependency.

@BBaysinger
Copy link
Author

Thanks. Hey I just tried again, and got the same list of errors, minus the first one about multi styles.

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