Skip to content

TypeError: sequence item 8: expected str instance, NoneType found #427

@zigi05

Description

@zigi05

What version of Tailwind CSS IntelliSense are you using?

v0.7.0

What version of Tailwind CSS are you using?

v2.2.9

What package manager are you using?

npm

What operating system are you using?

Windows 10

Reproduction URL

sublimelsp/LSP-tailwindcss#21

Describe your issue

The issue seems to be with tailwind-intellisense when using LSP-Tailwindcss in Sublime Text 4 on Windows 10.

More details of the issue can be found here.

It works well in tailwind-example on my local machine, but it doesn't work in my project. The tailwind-example uses [email protected] and my project uses [email protected]. Once I update tailwindcss to version 2.2.9 in tailwind-example, it stops working as well and I get the same error as in my project, so it seems not to be working with tailwindcss version at least 2.2+:

Traceback (most recent call last):
  File "C:\Users\zigi\AppData\Roaming\Sublime Text\Installed Packages\LSP.sublime-package\plugin/session_view.py", line 175, in on_capability_added_async
  File "C:\Users\zigi\AppData\Roaming\Sublime Text\Installed Packages\LSP.sublime-package\plugin/session_view.py", line 96, in _register_auto_complete_triggers
  File "C:\Users\zigi\AppData\Roaming\Sublime Text\Installed Packages\LSP.sublime-package\plugin/session_view.py", line 130, in _apply_auto_complete_triggers
TypeError: sequence item 8: expected str instance, NoneType found

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