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

Launching FSI results in an error #269

Closed
7sharp9 opened this issue Nov 6, 2016 · 3 comments
Closed

Launching FSI results in an error #269

7sharp9 opened this issue Nov 6, 2016 · 3 comments
Labels

Comments

@7sharp9
Copy link
Contributor

7sharp9 commented Nov 6, 2016

screen shot 2016-11-06 at 12 29 49

Logs are as follows:

WARNING: Promise with no error callback:85
winjs.base.js:46Objecterror: Error: pr.catch is not a function
    at Object.onFail (/Users/7sharp9/.vscode/extensions/Ionide.Ionide-fsharp-2.8.10/fable_external/Helpers-729269674.js:73:24)
    at /Users/7sharp9/.vscode/extensions/Ionide.Ionide-fsharp-2.8.10/Components/Fsi.js:97:30
    at /Users/7sharp9/.vscode/extensions/Ionide.Ionide-fsharp-2.8.10/fable_external/Helpers-729269674.js:35:15
    at Object.create (/Users/7sharp9/.vscode/extensions/Ionide.Ionide-fsharp-2.8.10/fable_external/Helpers-729269674.js:32:16)
    at start (/Users/7sharp9/.vscode/extensions/Ionide.Ionide-fsharp-2.8.10/Components/Fsi.js:75:25)
    at /Users/7sharp9/.vscode/extensions/Ionide.Ionide-fsharp-2.8.10/Components/Fsi.js:255:16
    at t.$executeContributedCommand (/Users/7sharp9/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:10:25694)
    at t.e.handle (/Users/7sharp9/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:10:10602)
    at s (/Users/7sharp9/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:7:21356)
    at p (/Users/7sharp9/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:7:22033)exception: nullhandler: undefinedid: 85parent: undefinedpromise: n.Class.derive._oncancel__proto__: Object
messageService.ts:128pr.catch is not a functione.doShow @ messageService.ts:128
messageService.ts:128Failed to spawn FSI, please ensure it's in PATHe.doShow @ messageService.ts:128

OSX with mono 4.6.1

@7sharp9
Copy link
Contributor Author

7sharp9 commented Nov 6, 2016

It fails at this point:

screen shot 2016-11-06 at 13 17 08

Looks like this is the promise and not pr hence the: Error: pr.catch is not a function

@alfonsogarciacaro
Copy link
Contributor

Thanks a lot for the information @7sharp9. I'd have to debug this to see what's going on. Another solution could be to use the Promise helpers in fable-powerpack, which have unit tests and seem to be working fine. I can send a PR to replace them if @Krzysztof-Cieslak wants. fable-powerpack relies on latest fable-compiler alpha to be used as a lib, but we can also just put the code in ionide-helpers.

@Krzysztof-Cieslak
Copy link
Member

Should be fixed in 2.9.0

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

No branches or pull requests

3 participants