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

Language Server errors #2

Open
dionoid opened this issue Nov 3, 2018 · 2 comments
Open

Language Server errors #2

dionoid opened this issue Nov 3, 2018 · 2 comments

Comments

@dionoid
Copy link

dionoid commented Nov 3, 2018

Hi, after installing the extension, I get this error in the output screen:

Error! Trying to include "undefined" as a assembly file dependency without contents!
Error! Trying to include "undefined" as a assembly file dependency without contents!
c:\Users\dion\.vscode\extensions\zehfernando.vscode-dasm-4.0.0\out\server\node_modules\dasm\lib\index.js:79
address = parseNumber(rawLine.match(addressFind)[1]);
^

TypeError: Cannot read property '1' of null
at c:\Users\dion\.vscode\extensions\zehfernando.vscode-dasm-4.0.0\out\server\node_modules\dasm\lib\index.js:79:73
at Array.forEach ()
at parseList (c:\Users\dion\.vscode\extensions\zehfernando.vscode-dasm-4.0.0\out\server\node_modules\dasm\lib\index.js:38:14)
at Object.default_1 [as default] (c:\Users\dion\.vscode\extensions\zehfernando.vscode-dasm-4.0.0\out\server\node_modules\dasm\lib\index.js:459:27)
at Object.assemble (c:\Users\dion\.vscode\extensions\zehfernando.vscode-dasm-4.0.0\out\server\src\providers\Assembler.js:6:34)
at Project.assemble (c:\Users\dion\.vscode\extensions\zehfernando.vscode-dasm-4.0.0\out\server\src\project\Project.js:70:49)
at Project._files.onChanged.add (c:\Users\dion\.vscode\extensions\zehfernando.vscode-dasm-4.0.0\out\server\src\project\Project.js:12:18)
at c:\Users\dion\.vscode\extensions\zehfernando.vscode-dasm-4.0.0\out\server\node_modules\simplesignal\dist\SimpleSignal.commonjs.js:43:18
at Array.forEach ()
at SimpleSignal.dispatch (c:\Users\dion\.vscode\extensions\zehfernando.vscode-dasm-4.0.0\out\server\node_modules\simplesignal\dist\SimpleSignal.commonjs.js:42:28)
[Info - 11:39:49 AM] Connection to server got closed. Server will restart.

@zeh
Copy link
Owner

zeh commented Dec 12, 2018

Hey @dionoid. Thanks for this feedback (and #3). I'm sorry I haven't seen this earlier. I'm taking a look.

@acejacek
Copy link

acejacek commented Dec 6, 2020

I'm having the same error when DASM's echo exists in code:

   lda #5 
   sta $80
   echo "end of compile"

Full error log:

Error! Trying to include "undefined" as a assembly file dependency without contents!
/Users/acejacek/.vscode/extensions/zehfernando.vscode-dasm-4.0.0/out/server/node_modules/dasm/lib/index.js:79
                        address = parseNumber(rawLine.match(addressFind)[1]);
                                                                        ^

TypeError: Cannot read property '1' of null
    at /Users/acejacek/.vscode/extensions/zehfernando.vscode-dasm-4.0.0/out/server/node_modules/dasm/lib/index.js:79:73
    at Array.forEach (<anonymous>)
    at parseList (/Users/acejacek/.vscode/extensions/zehfernando.vscode-dasm-4.0.0/out/server/node_modules/dasm/lib/index.js:38:14)
    at Object.default_1 [as default] (/Users/acejacek/.vscode/extensions/zehfernando.vscode-dasm-4.0.0/out/server/node_modules/dasm/lib/index.js:459:27)
    at Object.assemble (/Users/acejacek/.vscode/extensions/zehfernando.vscode-dasm-4.0.0/out/server/src/providers/Assembler.js:6:34)
    at Project.assemble (/Users/acejacek/.vscode/extensions/zehfernando.vscode-dasm-4.0.0/out/server/src/project/Project.js:70:49)
    at /Users/acejacek/.vscode/extensions/zehfernando.vscode-dasm-4.0.0/out/server/src/project/Project.js:12:18
    at /Users/acejacek/.vscode/extensions/zehfernando.vscode-dasm-4.0.0/out/server/node_modules/simplesignal/dist/SimpleSignal.commonjs.js:43:18
    at Array.forEach (<anonymous>)
    at SimpleSignal.dispatch (/Users/acejacek/.vscode/extensions/zehfernando.vscode-dasm-4.0.0/out/server/node_modules/simplesignal/dist/SimpleSignal.commonjs.js:42:28)

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

No branches or pull requests

3 participants