Skip to content

Error: Cannot find module 'vitepress-python-editor/vite-plugin' or its corresponding type declarations. #4

Description

@Alonso287

When following the installation documentation, vitepress-python-editor can't get imported using import { vitepressPythonEditor } from 'vitepress-python-editor/vite-plugin'.
This can be replicated easily by accessing vitepress.new, installing vitepress-python-editor and trying to import the component following the guide

System information:

  System:
    OS: Windows 11 10.0.26100
    CPU: (12) x64 AMD Ryzen 5 7535HS with Radeon Graphics        
    Memory: 913.16 MB / 13.35 GB
  Binaries:
    Node: 23.11.0 - C:\Program Files\nodejs\node.EXE
    npm: 10.9.2 - C:\Program Files\nodejs\npm.CMD
  npmPackages:
    vitepress: ^1.6.3 => 1.6.3
    vitepress-python-editor: ^1.3.4 => 1.3.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions