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
Cannot find module 'ng2-cable/js/index' error #60
Comments
@moranza Did you tried yarn install |
No, this is not in the installation guide. |
Ok, will update that.
|
After doing what you suggested: D:\yatrum>yarn start ERROR in Error encountered resolving symbol values statically. Calling function 'OpaqueToken', function calls are not supported. Consider replacing the function or lambda with a reference to an exported function, resolving symbol INITIAL_REDUCER in D:/yatrum/node_modules/@ngrx/store/src/ng2.d.ts, resolving symbol provideStore in D:/yatrum/node_modules/@ngrx/store/src/ng2.d.ts, resolving symbol StoreModule.provideStore in D:/yatrum/node_modules/@ngrx/store/src/ng2.d.ts, resolving symbol AppModule in D:/yatrum/src/app/app.module.ts, resolving symbol AppModule in D:/yatrum/src/app/app.module.ts |
This uses yarn instead of npm, as suggested by: - aviabird#60
My two cents: I tried by deleting and recompiling with yarn and didn't work, same error. So I deleted the repo and cloned it again, then yarn install then yarn start... It compiled, then when calling localhost:4200 in the browser, I got: ERROR TypeError: payloadTrips.map is not a function which makes me think on pulling my eyes out with a red hot iron... but hey, it's progress! I also had errors in the live demo on heroku service, but that is another story. |
When installing npm packages, the index file for module 'ng2-cable' does not exist, and the reference to the index file in 'yatrum/src/app/components/trips/trip-detail/trip-detail.component.ts' throws an error and the application cannot be built.
version: ng2-cable@1.1.9
The text was updated successfully, but these errors were encountered: