watzon / salesforce-angular2-boilerplate

Boilerplate for building an Angular 2 application on the Salesforce platform. Includes the ability to develop locally using the Salesforce REST API
MIT License
34 stars 25 forks source link

Getting error #8

Open tylerzika opened 8 years ago

tylerzika commented 8 years ago

I followed the instructions. The local server starts when I type gulp on the CLI. When I go to the add contact page, it just keeps loading. 😕

Here's a specific error from the CLI.

typings/globals/lodash/index.d.ts(10168,9): error TS2403: Subsequent variable declarations must have the same type. Variable 'memoize' must be of type '{ <T extends Function>(func: T, resolver?: Function): T & MemoizedFunction; Cache: MapCacheConstr...', but here has type '{ <T extends Function>(func: T, resolver?: Function): T & MemoizedFunction; Cache: MapCache; }'.

screen shot 2016-10-28 at 5 07 23 pm

screen shot 2016-10-28 at 5 08 23 pm
watzon commented 8 years ago

Hmm odd. Will you please list your Typescript version and node version?

tylerzika commented 8 years ago

Node v6.9.1

Typescript 2.0.6

My app also opens on port 8085 by default, unlike what is mentioned in the README. Not sure if that has anything to do with the issue. Just thought I'd mention it.

watzon commented 8 years ago

Oh no, that's right. I'll have to update the README. I'll look into what might be causing this error. In the last update I removed some files from typings.json which has mostly fixed the error messages that appear upon compilation