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

No component was found at offset xx #1731

Open
nmocruz opened this issue Jun 13, 2023 · 6 comments
Open

No component was found at offset xx #1731

nmocruz opened this issue Jun 13, 2023 · 6 comments

Comments

@nmocruz
Copy link

nmocruz commented Jun 13, 2023

Describe the bug

While trying to preview components on solid-js, the preview doesn't show.

I am using solid-js

There are a few warnings in the output about not finding modules, like solid-js.

Reproduction

Select a file with a component.
F1
Preview on previewjs

Preview.js version

v1.23.1

Framework

Solid

System Info

System:
    OS: Windows 10 10.0.22621
    CPU: (56) x64 Intel(R) Xeon(R) CPU E5-4650 v4 @ 2.20GHz
    Memory: 44.63 GB / 79.88 GB
  Binaries:
    Node: 18.13.0 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.19 - ~\AppData\Roaming\npm\yarn.CMD
    npm: 9.6.5 - G:\Projects\eRostering\Softworks.Rosterwise.WebSite\node_modules\.bin\npm.CMD
  IDEs:
    Android Studio: AI-221.6008.13.2211.9477386
    VSCode: 1.79.0 - C:\Users\Nuno\AppData\Local\Programs\Microsoft VS Code\bin\code.CMD
    Visual Studio: 16.11.33529.622 (Visual Studio Professional 2019), 17.6.33723.286 (Visual Studio Enterprise 2022), 17.7.33711.374 (Visual Studio Enterprise 2022)
  Browsers:
    Edge: Spartan (44.22621.1702.0), Chromium (114.0.1823.43)
    Internet Explorer: 11.0.22621.1

Used Package Manager

npm

Extension logs (useful for crashes)

No response

Preview logs (useful for rendering errors)

No response

Repo link (if available)

No response

Anything else?

No response

@fwouts
Copy link
Owner

fwouts commented Jun 13, 2023

Hi @nmocruz, thanks for reporting the issue. Unfortunately there isn't sufficient information here to debug it. Would you be able to share a sample repo that exhibits the issue?

@nmocruz
Copy link
Author

nmocruz commented Jun 16, 2023

the place where I was trying the extension is too big and private to share, I may try make sample next week

@fwouts
Copy link
Owner

fwouts commented Jun 16, 2023

Appreciate it, let me know when you have something you can share!

@dongmingchao
Copy link

same source

@fwouts
Copy link
Owner

fwouts commented Dec 3, 2023

@dongmingchao could you also share your system info by running npx envinfo --system --binaries --ides --browsers? Are you on Windows?

Your project seems to work fine on GitHub Codespaces at least:
Screenshot 2023-12-04 at 8 55 38 am

@dongmingchao
Copy link

System:
OS: Windows 10 10.0.19045
CPU: (32) x64 AMD Ryzen 9 3950X 16-Core Processor
Memory: 21.24 GB / 31.92 GB
Binaries:
Node: 21.1.0 - C:\Program Files\nodejs\node.EXE
npm: 10.2.0 - C:\Program Files\nodejs\npm.CMD
IDEs:
VSCode: 1.84.2 - C:\Users\dmc\AppData\Local\Programs\Microsoft VS Code\bin\code.CMD
Visual Studio: 17.7.34202.233 (Visual Studio Community 2022)
Browsers:
Edge: Chromium (119.0.2151.97)

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

No branches or pull requests

3 participants