I'm using node and express and when I build certain files then I get this error:
error: uncaughtException: c:\dev\pp\PropertyPlot\server\models\index.js.map:1
ction (exports, require, module, __filename, __dirname) { {"version":3,"file":
^
Unexpected token :
This makes the app break and not work.. I don't really know what the issue is as there is nothing special about the file and it has happened on other files before. Have you seen this issue before? At this point the only option I have is to change the file back to being a .js file and not use typescript there. I am compiling using grunt-ts task but I don't think that is the issue... I could be wrong.
Versions:
Typescript : 1.6.2
Node: v0.12.2
I'm using node and express and when I build certain files then I get this error:
This makes the app break and not work.. I don't really know what the issue is as there is nothing special about the file and it has happened on other files before. Have you seen this issue before? At this point the only option I have is to change the file back to being a .js file and not use typescript there. I am compiling using grunt-ts task but I don't think that is the issue... I could be wrong.
Versions:
Typescript : 1.6.2
Node: v0.12.2