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

Error running vite using Deno #15880

Closed
haikyuu opened this issue Sep 12, 2022 · 1 comment · Fixed by #15881
Closed

Error running vite using Deno #15880

haikyuu opened this issue Sep 12, 2022 · 1 comment · Fixed by #15881
Labels
bug Something isn't working correctly node compat

Comments

@haikyuu
Copy link

haikyuu commented Sep 12, 2022

Related to #15427

I get the following error when running deno run -A --unstable npm:vite and after installing npm deps.

error: Uncaught (in promise) TypeError: Loading unprepared module: https://deno.land/[email protected]/node/module.ts

environment: Tried with node 16 and 18

  System:
    OS: macOS 12.4
    CPU: (10) arm64 Apple M1 Max
    Memory: 97.30 MB / 32.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 18.9.0 - /usr/local/bin/node
    Yarn: 1.22.17 - /usr/local/bin/yarn
    npm: 8.19.1 - /usr/local/bin/npm
  Browsers:
    Chrome: 105.0.5195.102
    Chrome Canary: 107.0.5295.0
    Safari: 15.5
@bartlomieju bartlomieju added bug Something isn't working correctly node compat labels Sep 12, 2022
@bartlomieju
Copy link
Member

bartlomieju commented Sep 12, 2022

@dsherret this seems like a regression in v1.25.2. I'm unsure where node/module.ts is getting pulled.

Seems I broke it in one of other fixes :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working correctly node compat
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants