Comments (9)
stack overflow is fixed now. (I will release the next version tomorrow)
I have updated the typescript library, because I don't know if this is an issue with ArcticTypescript. The debug output you gave me in that other issue seemed fine.
from arctictypescript.
from arctictypescript.
I installed the new version, 0.6.5, and the completion worked once, in one of my TS files, but later the old problem reappeared again. You know, the non-context-sensitive completion with all possible selections.
Also, there's a new error message appearing in the console.
Regards,
Harris
ArcticTypescript: error : Internal ArcticTypescript error during show_errors: "TSS command processing error: TypeError: Cannot read property 'fileName' of undefined"
(Exception Message: 'NoneType' object is not subscriptable)
ArcticTypescript: error : Internal ArcticTypescript error during show_errors: "TSS command processing error: TypeError: Cannot read property 'fileName' of undefined"
(Exception Message: 'NoneType' object is not subscriptable)
ArcticTypescript: error : Internal ArcticTypescript error during show_errors: "TSS command processing error: TypeError: Cannot read property 'fileName' of undefined"
(Exception Message: 'NoneType' object is not subscriptable)
ArcticTypescript: error : Internal ArcticTypescript error during show_errors: "TSS command processing error: TypeError: Cannot read property 'fileName' of undefined"
(Exception Message: 'NoneType' object is not subscriptable)
from arctictypescript.
please try again with 0.6.6 :)
from arctictypescript.
Hi,
After having installed v0.6.6 I get these errors when trying to invoke code completion (by using "dot" in a constructor of a TS class).
ArcticTypescript: notify : Try open project: c:\projects\advarics.cloud.cockpit\cockpitwebrole
ArcticTypescript: notify : starting tsserver c:\projects\advarics.cloud.cockpit\cockpitwebrole\tsconfig.json
ArcticTypescript: notify : The setting node_path is set to "none". That is depreciated. Remove the setting.
ArcticTypescript: notify : The setting node_path is set to "none". That is depreciated. Remove the setting.
ArcticTypescript: error : TSS process has terminated unexpectly
ArcticTypescript: error : typescript-tools error:
C:\Users\Harris\AppData\Roaming\Sublime Text 3\Packages\ArcticTypescript\bin\tss.js:190
seenNoDefaultLib = seenNoDefaultLib || source.hasNoDefaultLib;
^
TypeError: Cannot read property 'hasNoDefaultLib' of undefined
at C:\Users\Harris\AppData\Roaming\Sublime Text 3\Packages\ArcticTypescript\bin\tss.js:190:58
at Array.forEach (native)
at TSS.setup (C:\Users\Harris\AppData\Roaming\Sublime Text 3\Packages\ArcticTypescript\bin\tss.js:188:24)
at Object.<anonymous> (C:\Users\Harris\AppData\Roaming\Sublime Text 3\Packages\ArcticTypescript\bin\tss.js:600:5)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Function.Module.runMain (module.js:501:10)
at startup (node.js:129:16)
ArcticTypescript: notify : Initializion finished
ArcticTypescript: error : TSS process has terminated unexpectly
ArcticTypescript: error : typescript-tools error:
Assigning ts to syntax Packages/ArcticTypescript/theme/Typescript.tmLanguage
reloading Packages/User/TypeScript.sublime-settings
SublimeLinter: tslint version query: C:\Users\Harris\AppData\Roaming\npm\tslint.cmd --version
SublimeLinter: tslint version: 2.1.1
SublimeLinter: tslint: (>= 0.4.0) satisfied by 2.1.1
SublimeLinter: tslint activated: C:\Users\Harris\AppData\Roaming\npm\tslint.cmd
ArcticTypescript: error : TSS process has terminated unexpectlyArcticTypescript: error : TSS process has terminated unexpectly
ArcticTypescript: error : typescript-tools error:
ArcticTypescript: error : typescript-tools error:
C:\Users\Harris\AppData\Roaming\Sublime Text 3\Packages\ArcticTypescript\bin\tss.js:190
seenNoDefaultLib = seenNoDefaultLib || source.hasNoDefaultLib;
^
TypeError: Cannot read property 'hasNoDefaultLib' of undefined
at C:\Users\Harris\AppData\Roaming\Sublime Text 3\Packages\ArcticTypescript\bin\tss.js:190:58
at Array.forEach (native)
at TSS.setup (C:\Users\Harris\AppData\Roaming\Sublime Text 3\Packages\ArcticTypescript\bin\tss.js:188:24)
at Object.<anonymous> (C:\Users\Harris\AppData\Roaming\Sublime Text 3\Packages\ArcticTypescript\bin\tss.js:600:5)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Function.Module.runMain (module.js:501:10)
at startup (node.js:129:16)
SublimeLinter: tslint: widget-config.ts ['C:\\Users\\Harris\\AppData\\Roaming\\npm\\tslint.cmd', '-f', '@']
ArcticTypescript: error : TSS process has terminated unexpectly
ArcticTypescript: error : typescript-tools error:
ArcticTypescript: error : TSS process has terminated unexpectlyArcticTypescript: error : TSS process has terminated unexpectly
ArcticTypescript: error : typescript-tools error:
ArcticTypescript: error : typescript-tools error:
ArcticTypescript: error : TSS process has terminated unexpectlyArcticTypescript: error : TSS process has terminated unexpectly
ArcticTypescript: error : typescript-tools error:
ArcticTypescript: error : typescript-tools error:
ArcticTypescript: error : TSS process has terminated unexpectlyArcticTypescript: error : TSS process has terminated unexpectly
ArcticTypescript: error : typescript-tools error:
ArcticTypescript: error : typescript-tools error:
ArcticTypescript: error : TSS process has terminated unexpectlyArcticTypescript: error : TSS process has terminated unexpectly
ArcticTypescript: error : typescript-tools error:
ArcticTypescript: error : typescript-tools error:
ArcticTypescript: error : TSS process has terminated unexpectlyArcticTypescript: error : TSS process has terminated unexpectly
ArcticTypescript: error : typescript-tools error:
ArcticTypescript: error : typescript-tools error:
ArcticTypescript: error : TSS process has terminated unexpectly
ArcticTypescript: error : typescript-tools error:
SublimeLinter: tslint: widget-config.ts ['C:\\Users\\Harris\\AppData\\Roaming\\npm\\tslint.cmd', '-f', '@']
ArcticTypescript: error : TSS process has terminated unexpectly
ArcticTypescript: error : typescript-tools error:
from arctictypescript.
I can reproduce this error if I insert a non-existing file into tsconfig.json.
But I agree that this should not happen, even with non-existent files listed. I issued a bug report in typescript-tools.
from arctictypescript.
Hi,
The code completion works now. I changed my tsconfig.json to search for TS-files only within my Scripts-folder. Previously it was set to the project path (and there are many of other non-TS source files).
I also put compileOnSave to false because I'm using Gulp anyway.
Maybe this was the reason why the plugin presented lots of possible completions?
from arctictypescript.
hmm, i'll try to reproduce this. Are there any .ts or .d.ts files along your other source files? Btw: Are you using Angular.js?
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.
from arctictypescript.
Yeah, I do have some t.ds files, in a separate subdirectory.
I'm not using Angular.
from arctictypescript.
Related Issues (20)
- New references don't work until project is reloaded HOT 1
- Request: do project initialization in the background HOT 2
- Can't find output file after build HOT 12
- import from ES6 syntax HOT 2
- JSDoc support HOT 4
- Build Command Generates no Output (and Proposed Solution) HOT 8
- Random error started appearing HOT 1
- Post-processing commands in tsconfig file not working HOT 4
- 'NoneType' object is not subscriptable HOT 5
- Align multiline var HOT 1
- Change keyboard shortcut HOT 1
- 'NoneType' object is not subscriptable HOT 3
- Format document HOT 4
- node_path from wrong config HOT 1
- Alt + combos not working on mac HOT 1
- tsx support? HOT 2
- "experimentalDecorators" in tsconfig HOT 1
- node.d.ts throwing errors HOT 1
- Display quick info when hovering over properties and functions is not working..
- node_path not working HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arctictypescript.