Comments (5)
Would you be interested in making a PR? I'd probably be faster...
from haskell-debug.
Yeah, I've not done much TS nor atom hacking, but I'll give it a go tonight.
from haskell-debug.
I'm having some trouble setting up my environment. So far I've done:
- Clone git repo
- git submodule init
- git submodule update
- apm install
- apm link
I can now open atom and use the package, but my change to the TS code are not compiled to JS. I've tried using tsc, but it returns a lot of errors:
> tsc
src/lib/Debugger.ts(11,23): error TS2307: Cannot find module 'path'.
src/lib/GHCIDebug.ts(1,21): error TS2307: Cannot find module 'child_process'.
src/lib/GHCIDebug.ts(2,25): error TS2307: Cannot find module 'stream'.
src/lib/GHCIDebug.ts(3,21): error TS2307: Cannot find module 'os'.
src/lib/GHCIDebug.ts(4,23): error TS2307: Cannot find module 'path'.
src/lib/GHCIDebug.ts(366,25): error TS2304: Cannot find name 'Buffer'.
src/lib/TerminalReporter.ts(1,21): error TS2307: Cannot find module 'child_process'.
src/lib/TerminalReporter.ts(2,22): error TS2307: Cannot find module 'net'.
src/lib/TerminalReporter.ts(3,21): error TS2307: Cannot find module 'os'.
src/lib/TerminalReporter.ts(4,23): error TS2307: Cannot find module 'util'.
src/lib/TerminalReporter.ts(27,33): error TS2304: Cannot find name '__dirname'.
src/lib/TerminalReporter.ts(29,37): error TS7006: Parameter 'socket' implicitly has an 'any' type.
src/lib/TerminalReporter.ts(34,26): error TS7006: Parameter 'data' implicitly has an 'any' type.
src/lib/TerminalReporter.ts(94,24): error TS2304: Cannot find name 'Buffer'.
src/lib/config.ts(1,21): error TS2307: Cannot find module 'os'.
src/lib/main.ts(5,21): error TS2307: Cannot find module 'os'.
src/lib/main.ts(6,23): error TS2307: Cannot find module 'path'.
src/lib/main.ts(7,21): error TS2307: Cannot find module 'child_process'.
src/lib/main.ts(59,33): error TS2304: Cannot find name 'require'.
src/lib/main.ts(76,20): error TS7006: Parameter 'code' implicitly has an 'any' type.
src/spec/ghciDebug-spec.ts(2,23): error TS2307: Cannot find module 'path'.
src/spec/ghciDebug-spec.ts(19,37): error TS2304: Cannot find name '__dirname'.
What am I missing?
from haskell-debug.
Sorry about prolonged silence. npm i --only=dev
in package directory will install dev-specific dependencies (typescript itself, definitions, tslint). Also, I'm using atom-typescript to emit js, and it's generally rather nice to have (autocompletion, error checking, etc)
from haskell-debug.
I released #16 after some tweaks, so I suppose this can be closed.
from haskell-debug.
Related Issues (17)
- Finish Package
- atom-haskell project HOT 2
- GHCI Error. Parse error on input ‘:\’
- Error parsing targets HOT 2
- GHCI Error in Atom GUI + Terminal opening with node error when starting haskell-debug HOT 5
- Uncaught Error: listen EADDRINUSE /tmp/haskell-debug.sock HOT 1
- Vscode
- Uncaught Error: This socket has been ended by the other party
- Highlight local variables items
- Break on exception doesn't work properly
- Spawn a terminal with the current program running in ghci on load
- Runnding Debug Command Throws Exception HOT 1
- Exception thrown when trying to set breakpoint
- Support for Stack based projects HOT 1
- Deprecated selector in `haskell-debug\styles\main.atom-text-editor.less` HOT 1
- Starting the debugger launches the wrong project
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 haskell-debug.