You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ ./node_modules/small/bin.js -i test.js -o output.js
Unhandled rejection TypeError: Cannot read property 'kind' of undefined
at Object.isDeclarationName (D:\node_modules\typescript\lib\typescript.js:6290:19)
at Object.getSymbolAtLocation (D:\node_modules\typescript\lib\typescript.js:26240:20)
at Function.ImportReference.tryParse (D:\node_modules\small\release\node.js:241:34)
at Function.ImportReference.tryParse (D:\node_modules\small\release\node.js:257:44)
at Walker.callback (D:\node_modules\small\release\parser.js:48:52)
at Walker.visit (D:\node_modules\small\release\parser.js:115:14)
at D:\node_modules\small\release\parser.js:123:63
at visitNode (D:\node_modules\typescript\lib\typescript.js:7405:20)
at Object.forEachChild (D:\node_modules\typescript\lib\typescript.js:7529:24)
at Walker.descend (D:\node_modules\small\release\parser.js:123:12)
at Walker.callback (D:\node_modules\small\release\parser.js:53:24)
at Walker.visit (D:\node_modules\small\release\parser.js:115:14)
at D:\node_modules\small\release\parser.js:123:63
at visitNode (D:\node_modules\typescript\lib\typescript.js:7405:20)
at Object.forEachChild (D:\node_modules\typescript\lib\typescript.js:7583:24)
at Walker.descend (D:\node_modules\small\release\parser.js:123:12)
OS Name: Microsoft Windows 8.1 Enterprise
OS Version: 6.3.9600 N/A Build 9600
$ npm -v
3.4.1
$ node -v
v4.2.2
Do you have any idea how to fix this?
The text was updated successfully, but these errors were encountered:
Thanks for reporting, I wasn't aware of this issue. Does there is something special with test.js? Or does it even show this error on an empty file? I hope to take a look at this next week or this weekend.
I could reproduce the issue and I've fixed it. I needed to pass an extra argument to the parser, though somehow it was working on Mac without this parameter. Anyway, I've released it as 0.2.5, can you check that it is working for you now?
Hello, I have problem run Small (latest, 0.2.4):
Do you have any idea how to fix this?
The text was updated successfully, but these errors were encountered: