Giter Site home page Giter Site logo

angular2-redux-chat's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

angular2-redux-chat's Issues

angular/cli:"1.4.9" - export 'Store' (imported as 'Redux') was not found in 'redux' on build --prod

Changing from angular/cli:"1.2.0-beta.1" to angular/cli:"^1.4.9"
and running

ng build --prod

causes the following output:


WARNING in ./src/app/app.component.ts
10:64-75 "export 'Store' (imported as 'Redux') was not found in 'redux'

WARNING in ./src/app/chat-nav-bar/chat-nav-bar.component.ts
15:71-82 "export 'Store' (imported as 'Redux') was not found in 'redux'

WARNING in ./src/app/chat-threads/chat-threads.component.ts
24:72-83 "export 'Store' (imported as 'Redux') was not found in 'redux'

WARNING in ./src/app/chat-window/chat-window.component.ts
40:71-82 "export 'Store' (imported as 'Redux') was not found in 'redux'

ERROR in ng:///path/to/Project/angular2-redux-chat-master/src/app/chat-message/chat-message.component.html (12,8): Property 'sender' does not exist on type 'Message'.

on ng build or npm start everthing works fine.

Why is the reference changing in production / can't be resolved?

I also noticed that all import * as Redux from 'redux'; 'warned' except for the import in app.store.ts .
This is also working when replacing the original import with the otherwise warning import * and referencing to Redux.Store for example.

Any help would be appreciated :)

Where is the src/app/vendor?

Im interested to buy your ebook as i read your free chapter. I follow your code until page 31, it mention to download certain codes.

I try to look for src/app/vendor from link given with the free chapter email, but it link to angular2-redux-chat git, which is different from the topic angular-reddit.

Please correct me if im wrong. Thank you for good angular ebook.

export 'Store' was not found in 'redux' in build

Why i'm getting these errors?

WARNING in ./src/app/app.component.ts
43:57-62 "export 'Store' was not found in 'redux'

WARNING in ./src/app/app.component.ts
43:82-87 "export 'Store' was not found in 'redux'

ERROR in ./app/ts/vendor.ts (You may need an appropriate loader to handle this file type)

node --version
v6.9.1
npm --version
3.10.9

(it fails in Ubuntu and Mac)

ERROR in ./app/ts/vendor.ts
Module parse failed: /home/karel/dev/projects/tests/chatbot/angular2-redux-chat/node_modules/tslint-loader/index.js!/home/karel/dev/projects/tests/chatbot/angular2-redux-chat/app/ts/vendor.ts Line 2: Unexpected token
You may need an appropriate loader to handle this file type.
| // Polyfills
| import 'core-js/es6';
| import 'core-js/es6';
| import 'core-js/es7/reflect';
@ multi vendor

Let me know if you need additional info.

Thanks

export 'Store' was not found in 'redux'

Like the title says, I get 8 warnings that Store was not found in redux.
This is in a freshly cloned, newly npm-installed copy of this project.
I tried to "Google with Bing", but I couldn't find anything about this problem.
Any tips? Cause I would really like to play around with this project to get a better understanding about redux in Angular.

Thanks in advance.

How to clear Observable messages?

in messages.service.ts:
messages: Observable<Message[]>;
this.messages = this.updates
.scan((messages: Message[],
operation: IMessagesOperation) => {
return operation(messages);
},
initialMessages)
.publishReplay(1)
.refCount();

I don't know how to reset the observable messages.

where is main.d.ts ???

where is main.d.ts ???

how about explaining the old unusual way of resolving these types

and why your code has resorted to operating that

///

this is obsolete programming practice

no _dispatch.emit function is findable in any of your libraries
nor for the other constructs extending BehaviorSubject

@ngrx

Nice piece of work, any chance to see an ngrx version of this chat?
I know the code will be somewhat close to the redux version but just wondering :)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.