Skip to content
This repository has been archived by the owner on Jan 10, 2018. It is now read-only.

Transpiling problems with angular-cli 1.0.0-beta.11-webpack.2 #192

Closed
mbellezi opened this issue Aug 17, 2016 · 3 comments
Closed

Transpiling problems with angular-cli 1.0.0-beta.11-webpack.2 #192

mbellezi opened this issue Aug 17, 2016 · 3 comments

Comments

@mbellezi
Copy link

mbellezi commented Aug 17, 2016

Greetings,

Building my first ngrx-store app and having this errors during ng serve:

WARNING in ./~/@ngrx/store/index.js
Cannot find source file '../src/index.ts': Error: Can't resolve '../src/index.ts' in '/Users/mbellezi/Documents/Projetos/relacionamento/node_modules/@ngrx/store'
 @ ./src/app/app.module.ts 30:0-42
 @ ./src/app/index.ts
 @ ./src/main.ts
 @ multi main

WARNING in ./~/@ngrx/store/dispatcher.js
Cannot find source file '../src/dispatcher.ts': Error: Can't resolve '../src/dispatcher.ts' in '/Users/mbellezi/Documents/Projetos/relacionamento/node_modules/@ngrx/store'
 @ ./~/@ngrx/store/index.js 5:9-32
 @ ./src/app/app.module.ts
 @ ./src/app/index.ts
 @ ./src/main.ts
 @ multi main

WARNING in ./~/@ngrx/store/ng2.js
Cannot find source file '../src/ng2.ts': Error: Can't resolve '../src/ng2.ts' in '/Users/mbellezi/Documents/Projetos/relacionamento/node_modules/@ngrx/store'
 @ ./~/@ngrx/store/index.js 6:9-25
 @ ./src/app/app.module.ts
 @ ./src/app/index.ts
 @ ./src/main.ts
 @ multi main

WARNING in ./~/@ngrx/store/reducer.js
Cannot find source file '../src/reducer.ts': Error: Can't resolve '../src/reducer.ts' in '/Users/mbellezi/Documents/Projetos/relacionamento/node_modules/@ngrx/store'
 @ ./~/@ngrx/store/index.js 7:9-29
 @ ./src/app/app.module.ts
 @ ./src/app/index.ts
 @ ./src/main.ts
 @ multi main

WARNING in ./~/@ngrx/store/state.js
Cannot find source file '../src/state.ts': Error: Can't resolve '../src/state.ts' in '/Users/mbellezi/Documents/Projetos/relacionamento/node_modules/@ngrx/store'
 @ ./~/@ngrx/store/index.js 8:9-27
 @ ./src/app/app.module.ts
 @ ./src/app/index.ts
 @ ./src/main.ts
 @ multi main

WARNING in ./~/@ngrx/store/store.js
Cannot find source file '../src/store.ts': Error: Can't resolve '../src/store.ts' in '/Users/mbellezi/Documents/Projetos/relacionamento/node_modules/@ngrx/store'
 @ ./~/@ngrx/store/index.js 9:9-27
 @ ./src/app/app.module.ts
 @ ./src/app/index.ts
 @ ./src/main.ts
 @ multi main

WARNING in ./~/@ngrx/store/utils.js
Cannot find source file '../src/utils.ts': Error: Can't resolve '../src/utils.ts' in '/Users/mbellezi/Documents/Projetos/relacionamento/node_modules/@ngrx/store'
 @ ./~/@ngrx/store/index.js 10:9-27
 @ ./src/app/app.module.ts
 @ ./src/app/index.ts
 @ ./src/main.ts
 @ multi main

My RC5 Angular main module looks like:

...
import { StoreModule } from '@ngrx/store';
import { uiStateReducer } from './reducer/main';
import { initUIState } from './store/ui-state/lateral-menu-state';



@NgModule({
  declarations: [
...
  ],
  imports: [
    BrowserModule,
    CommonModule,
...
    routing,
    StoreModule.provideStore( { uiState: uiStateReducer }, initUIState)
  ],
  providers: [
    appRoutingProviders
  ],
  entryComponents: [ AppComponent ],
  bootstrap: [ AppComponent ]
})
export class AppModule {

}

Do I have to do any special to import @ngrx/store?

@mbellezi
Copy link
Author

Oh, this was a Source Map problem. Dup from #180. Sorry.

@stavalfi
Copy link

Im having the same warnings. How do we fix it?

@mbellezi
Copy link
Author

No fix. Just ignore until next release.

Em dom, 21 de ago de 2016 12:08, stavalfi [email protected]
escreveu:

Im having the same warnings. How do we fix it?


You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
#192 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/AJ4cxHt8YuGIlh1Sd7P6jNWyliH9Y1cHks5qiGoGgaJpZM4Jm27K
.

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

No branches or pull requests

2 participants