Skip to content

vtsls aint working even after everything condigured correctly in next.js #2072

@yashmodi6

Description

@yashmodi6

Check for existing issues

  • #2073

Describe the bug / provide steps to reproduce it

🧩 Steps to reproduce the issue

  1. Initialize a new Next.js project
  2. Install all default dependencies (node_modules gets created)
  3. Open the project in Acode
  4. Go to settings and install vtsls
  5. Enable vtsls as the active LSP
  6. Start editing files normally

Environment

Device Information:
WebView Info:
Package Name: com.google.android.webview
Version: 147.0.7727.56

App Info:
Name: Acode
Package Name: com.foxdebug.acode
Version: 1.11.8-nightly.0455f86
Version Code: 967

Device Info:
Android Version: 16
Manufacturer: samsung
Model: SM-X516B
Platform: Android
Cordova Version: 15.0.0

Screen Info:
Width: 1317
Height: 823
Color Depth: 24

Additional Info:
Language: en-IN
User Agent: Mozilla/5.0 (Linux; Android 16; SM-X516B Build/BP2A.250605.031.A3; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/147.0.7727.56 Safari/537.36

If applicable, add mockups / screenshots regarding your vision

Image

If applicable, attach your Acode.log file to this issue.

Acode.log

[2026-04-28T22:32:08.653Z] [ERROR] Error: Uncaught RangeError: Position 2149487 is out of range for changeset of length 0, Source: https://localhost/build/main.js, Line: 118709, Column: 25, Stack: RangeError: Position 2149487 is out of range for changeset of length 0
at ChangeSet.mapPos (https://localhost/build/main.js:118709:31)
at findSharedChunks (https://localhost/build/main.js:121130:51)
at RangeSet.compare (https://localhost/build/main.js:120936:28)
at findChangedDeco (https://localhost/build/main.js:125032:49)
at DocView.update (https://localhost/build/main.js:124477:24)
at EditorView.measure (https://localhost/build/main.js:129332:44)
at DOMObserver.onScrollChanged (https://localhost/build/main.js:128379:42)
at DOMObserver.onScroll (https://localhost/build/main.js:128384:14)
[2026-04-28T22:32:53.983Z] [ERROR] [object Object]
[2026-04-28T22:32:54.190Z] [INFO] Started app and its services...
[2026-04-28T22:32:54.334Z] [ERROR] Error: Uncaught TypeError: ace.define is not a function, Source: https://localhost/__cdvfile_files-external__/plugins/acode.plugin.theme_one_dark_pro/main.js, Line: 1, Column: 205, Stack: TypeError: ace.define is not a function
at 980 (https://localhost/__cdvfile_files-external__/plugins/acode.plugin.theme_one_dark_pro/main.js:1:205)
at o (https://localhost/__cdvfile_files-external__/plugins/acode.plugin.theme_one_dark_pro/main.js:1:4684)
at https://localhost/__cdvfile_files-external__/plugins/acode.plugin.theme_one_dark_pro/main.js:1:4975
at https://localhost/__cdvfile_files-external__/plugins/acode.plugin.theme_one_dark_pro/main.js:1:4982
[2026-04-28T22:32:55.239Z] [ERROR] Error: Uncaught TypeError: t.session.getTabSize is not a function, Source: https://localhost/__cdvfile_files-external__/plugins/acode.plugin.emmet/main.js, Line: 1, Column: 316, Stack: TypeError: t.session.getTabSize is not a function
at https://localhost/__cdvfile_files-external__/plugins/acode.plugin.emmet/main.js:1:316
at https://localhost/__cdvfile_files-external__/plugins/acode.plugin.emmet/main.js:1:1859
[2026-04-28T22:32:55.258Z] [ERROR] Error: Uncaught TypeError: Cannot read properties of undefined (reading 'Range'), Source: https://localhost/__cdvfile_files-external__/plugins/bajrangcoder.tailwind.fold/main.js, Line: 1, Column: 316, Stack: TypeError: Cannot read properties of undefined (reading 'Range')
at https://localhost/__cdvfile_files-external__/plugins/bajrangcoder.tailwind.fold/main.js:1:316
[2026-04-28T22:32:55.307Z] [ERROR] Error: Uncaught TypeError: Cannot read properties of undefined (reading 'TokenIterator'), Source: https://localhost/__cdvfile_files-external__/plugins/techno.autorenametag/main.js, Line: 1, Column: 156, Stack: TypeError: Cannot read properties of undefined (reading 'TokenIterator')
at https://localhost/__cdvfile_files-external__/plugins/techno.autorenametag/main.js:1:156
at https://localhost/__cdvfile_files-external__/plugins/techno.autorenametag/main.js:1:1960
[2026-04-28T22:32:55.402Z] [ERROR] Error: Uncaught TypeError: Cannot read properties of undefined (reading 'TokenIterator'), Source: https://localhost/__cdvfile_files-external__/plugins/acode.plugin.tailwindcss_intellisense/main.js, Line: 1, Column: 697688, Stack: TypeError: Cannot read properties of undefined (reading 'TokenIterator')
at https://localhost/__cdvfile_files-external__/plugins/acode.plugin.tailwindcss_intellisense/main.js:1:697688
at https://localhost/__cdvfile_files-external__/plugins/acode.plugin.tailwindcss_intellisense/main.js:1:704194

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions