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

Error running grunt task #49

Open
fitzmode opened this issue Jul 16, 2017 · 1 comment
Open

Error running grunt task #49

fitzmode opened this issue Jul 16, 2017 · 1 comment

Comments

@fitzmode
Copy link

Having installed dependencies via npm, running grunt throws an error for missing .ts files.

Running "typescript:blueprint3d" (typescript) task
>> src/floorplanner/floorplanner.ts(1,1): error TS6053: File 'lib/jQuery.d.ts' not found.
>> src/floorplanner/floorplanner.ts(42,34): error TS2304: Cannot find name '$'.
>> src/floorplanner/floorplanner.ts(83,28): error TS2304: Cannot find name '$'.
>> src/floorplanner/floorplanner.ts(113,7): error TS2304: Cannot find name '$'.
>> src/floorplanner/floorplanner_view.ts(1,1): error TS6053: File 'lib/jQuery.d.ts' not found.
>> src/floorplanner/floorplanner_view.ts(61,7): error TS2304: Cannot find name '$'.
>> src/floorplanner/floorplanner_view.ts(69,23): error TS2304: Cannot find name '$'.
>> src/model/corner.ts(1,1): error TS6053: File 'lib/jQuery.d.ts' not found.
>> src/model/corner.ts(22,31): error TS2304: Cannot find name '$'.
>> src/model/corner.ts(25,33): error TS2304: Cannot find name '$'.
>> src/model/corner.ts(28,32): error TS2304: Cannot find name '$'.
>> src/model/floorplan.ts(1,1): error TS6053: File 'lib/jQuery.d.ts' not found.
>> src/model/floorplan.ts(28,34): error TS2304: Cannot find name '$'.
>> src/model/floorplan.ts(31,36): error TS2304: Cannot find name '$'.
>> src/model/floorplan.ts(34,32): error TS2304: Cannot find name '$'.
>> src/model/floorplan.ts(37,29): error TS2304: Cannot find name '$'.
>> src/model/floorplan.ts(40,34): error TS2304: Cannot find name '$'.
>> src/model/half_edge.ts(2,1): error TS6053: File 'lib/jQuery.d.ts' not found.
>> src/model/half_edge.ts(43,30): error TS2304: Cannot find name '$'.
>> src/model/model.ts(2,1): error TS6053: File 'lib/jQuery.d.ts' not found.
>> src/model/model.ts(19,36): error TS2304: Cannot find name '$'.
>> src/model/model.ts(22,35): error TS2304: Cannot find name '$'.
>> src/model/model.ts(25,34): error TS2304: Cannot find name '$'.
>> src/model/model.ts(28,36): error TS2304: Cannot find name '$'.
>> src/model/room.ts(2,1): error TS6053: File 'lib/jQuery.d.ts' not found.
>> src/model/room.ts(41,36): error TS2304: Cannot find name '$'.
>> src/model/scene.ts(2,1): error TS6053: File 'lib/jQuery.d.ts' not found.
>> src/model/scene.ts(25,36): error TS2304: Cannot find name '$'.
>> src/model/scene.ts(28,35): error TS2304: Cannot find name '$'.
>> src/model/scene.ts(31,36): error TS2304: Cannot find name '$'.
>> src/model/wall.ts(2,1): error TS6053: File 'lib/jQuery.d.ts' not found.
>> src/model/wall.ts(55,31): error TS2304: Cannot find name '$'.
>> src/model/wall.ts(58,33): error TS2304: Cannot find name '$'.
>> src/model/wall.ts(61,32): error TS2304: Cannot find name '$'.
>> src/three/controller.ts(1,1): error TS6053: File 'lib/jQuery.d.ts' not found.
>> src/three/controls.ts(11,1): error TS6053: File 'lib/jQuery.d.ts' not found.
>> src/three/controls.ts(59,33): error TS2304: Cannot find name '$'.
>> src/three/edge.ts(1,1): error TS6053: File 'lib/jQuery.d.ts' not found.
>> src/three/main.ts(1,1): error TS6053: File 'lib/jQuery.d.ts' not found.
>> src/three/main.ts(4,1): error TS6053: File 'src/three/floorPlan.ts' not found.
>> src/three/main.ts(33,20): error TS2304: Cannot find name '$'.
>> src/three/main.ts(59,34): error TS2304: Cannot find name '$'.
>> src/three/main.ts(60,36): error TS2304: Cannot find name '$'.
>> src/three/main.ts(62,24): error TS2304: Cannot find name '$'.
>> src/three/main.ts(63,25): error TS2304: Cannot find name '$'.
>> src/three/main.ts(64,27): error TS2304: Cannot find name '$'.
>> src/three/main.ts(94,9): error TS2304: Cannot find name '$'.
Warning: Task "typescript:blueprint3d" failed. Use --force to continue.

Aborted due to warnings.
@0xBEEFCAF3
Copy link

There are two files that are named incorrectly. jQuery.ts is actually spelled jquery.ts, and floorPlan.ts is with a lowercase p. Just rename those files so you have JQuery.ts and floorPlan.ts, that worked for me. Good luck!

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

2 participants