Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Enveu
Newbie

Can't able to deploy from VS code using BrightScript language Debugger

Jump to solution

Hey Team,

I am Using Roku Ultra LT and whenever I deploy the code from VS editor then there is some error message is showing -- 

DebugServer: Adding stop statements for active breakpoints
DebugServer: Creating zip archive from project sources
DebugServer: Connecting to Roku via telnet at 10.1.3.224:8085
DebugServer: Encountered an issue during the publish process
DebugServer: Error: Non-whitespace before first tag.
Line: 0
Column: 1
Char: E
    at error (c:\Users\shilp\.vscode\extensions\rokucommunity.brightscript-2.52.1\node_modules\sax\lib\sax.js:651:10)
    at strictFail (c:\Users\shilp\.vscode\extensions\rokucommunity.brightscript-2.52.1\node_modules\sax\lib\sax.js:677:7)
    at beginWhiteSpace (c:\Users\shilp\.vscode\extensions\rokucommunity.brightscript-2.52.1\node_modules\sax\lib\sax.js:951:7)
    at SAXParser.write (c:\Users\shilp\.vscode\extensions\rokucommunity.brightscript-2.52.1\node_modules\sax\lib\sax.js:1006:11)
    at exports.Parser.Parser.parseString (c:\Users\shilp\.vscode\extensions\rokucommunity.brightscript-2.52.1\node_modules\xml2js\lib\parser.js:327:31)
    at Parser.parseString (c:\Users\shilp\.vscode\extensions\rokucommunity.brightscript-2.52.1\node_modules\xml2js\lib\parser.js:5:59)
    at exports.parseString (c:\Users\shilp\.vscode\extensions\rokucommunity.brightscript-2.52.1\node_modules\xml2js\lib\parser.js:373:19)
    at c:\Users\shilp\.vscode\extensions\rokucommunity.brightscript-2.52.1\node_modules\roku-debug\dist\RendezvousTracker.js:190:20
    at new Promise (<anonymous>)
    at RendezvousTracker.getEcpRendezvous (c:\Users\shilp\.vscode\extensions\rokucommunity.brightscript-2.52.1\node_modules\roku-debug\dist\RendezvousTracker.js:189:15)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async RendezvousTracker.getIsEcpRendezvousTrackingEnabled (c:\Users\shilp\.vscode\extensions\rokucommunity.brightscript-2.52.1\node_modules\roku-debug\dist\RendezvousTracker.js:138:23)
    at async RendezvousTracker.activate (c:\Users\shilp\.vscode\extensions\rokucommunity.brightscript-2.52.1\node_modules\roku-debug\dist\RendezvousTracker.js:148:62)
    at async BrightScriptDebugSession._initRendezvousTracking (c:\Users\shilp\.vscode\extensions\rokucommunity.brightscript-2.52.1\node_modules\roku-debug\dist\debugSession\BrightScriptDebugSession.js:444:13)
    at async BrightScriptDebugSession.initRendezvousTracking (c:\Users\shilp\.vscode\extensions\rokucommunity.brightscript-2.52.1\node_modules\roku-debug\dist\debugSession\BrightScriptDebugSession.js:419:9)
    at async BrightScriptDebugSession.launchRequest (c:\Users\shilp\.vscode\extensions\rokucommunity.brightscript-2.52.1\node_modules\roku-debug\dist\debugSession\BrightScriptDebugSession.js:304:13)
 
, whereas it is working fine for other device, Kindly help me with it
0 Kudos
1 Solution

Accepted Solutions
Chris-DP
Binge Watcher

Re: Can't able to deploy from VS code using BrightScript language Debugger

Jump to solution

There was a change in the latest Roku OS that can cause this related to ECP commands. We are working on a fix. In the mean time please try changing the following settings on your device:

Settings > System > Advanced system settings > Control by mobile apps

and change that setting to “enabled”. 

View solution in original post

1 REPLY 1
Chris-DP
Binge Watcher

Re: Can't able to deploy from VS code using BrightScript language Debugger

Jump to solution

There was a change in the latest Roku OS that can cause this related to ECP commands. We are working on a fix. In the mean time please try changing the following settings on your device:

Settings > System > Advanced system settings > Control by mobile apps

and change that setting to “enabled”. 

Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.