Skip to content
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

TS errors: Can't get the project to build, test or grunt typings to work. #5

Open
aripalo opened this issue Sep 14, 2016 · 1 comment

Comments

@aripalo
Copy link

aripalo commented Sep 14, 2016

… but this PR is slightly incomplete as it doesn't have tests. This is because I can not get the project to build / test / install typings.

I get only awful lot of Typescript related errors, like these when running grunt typings:

>> error TS1005: ',' expected.
>> /Users/me/projects/business-rules-engine/typings/underscore/underscore.d.ts(6033,42):
>> error TS1005: ';' expected.
>> /Users/me/projects/business-rules-engine/typings/underscore/underscore.d.ts(6033,53):
>> error TS1003: Identifier expected.
>> /Users/me/projects/business-rules-engine/typings/underscore/underscore.d.ts(6042,14):
>> error TS1005: ',' expected.
>> /Users/me/projects/business-rules-engine/typings/underscore/underscore.d.ts(6042,32):
>> error TS1005: ',' expected.
>> /Users/me/projects/business-rules-engine/typings/underscore/underscore.d.ts(6042,42):

Can it be related to this issue DefinitelyTyped/DefinitelyTyped#4004 ?

@aripalo
Copy link
Author

aripalo commented Sep 14, 2016

… and these errors are not just related to underscore, I get those errors from moment.

And also I see these:

>> /Users/me/projects/business-rules-engine/src/customValidators/DateCompareValidator.ts(2,1):
>> error TS5007: Cannot resolve referenced file: '../../typings/business-rules-engine/business-rules-engine.d.ts'.
>> /Users/me/projects/business-rules-engine/src/customValidators/ParamValidator.ts(3,1):
>> error TS5007: Cannot resolve referenced file: '../../typings/business-rules-engine/business-rules-engine.d.ts'.
>> /Users/me/projects/business-rules-engine/src/customValidators/RCValidator.ts(3,1):
>> error TS5007: Cannot resolve referenced file: '../../typings/business-rules-engine/business-rules-engine.d.ts'.
>> /Users/me/projects/business-rules-engine/src/validation/BasicValidators.ts(4,1):
>> error TS5007: Cannot resolve referenced file: '../../typings/business-rules-engine/Validation.d.ts'.
>> /Users/me/projects/business-rules-engine/src/validation/FormSchema.ts(4,1):
>> error TS5007: Cannot resolve referenced file: '../../typings/business-rules-engine/Validation.d.ts'.

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

No branches or pull requests

1 participant