Open gsans opened 8 years ago
Did the app still start though? You might need to run npm install
if it didn't work.
Yes, it worked but I don't like having errors on my console.
Good news is I already found a fix! :smile:
You can run:
npm run typings install lodash --ambient
Then replace angular2-apollo-client-webpack-starter/ambient.d.ts
:
declare module 'lodash.has' {
import main = require('~lodash/index');
export = main.has;
}
with
declare module 'lodash.has' {
import main = require('lodash');
export = main.has;
}
I also had to comment out the same module declaration at angular2-apollo-client-webpack-starter/typings/globals/ambient/index.d.ts
Thanks for the update!
Same issues, never able to get it start. Really love the vision, but the boilerplates are making the on-ramp for this service a little hard to use.
What errors do you get after running the above commands to update the module declarations?
Great !
Great starter kit. Thanks!
I'd like to report that during
npm start
I experienced these errors: