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 when run npm run dev in HardLink folders #14003

Closed
7 tasks done
chenxuuu opened this issue Aug 1, 2023 · 1 comment
Closed
7 tasks done

error when run npm run dev in HardLink folders #14003

chenxuuu opened this issue Aug 1, 2023 · 1 comment
Labels
duplicate This issue or pull request already exists

Comments

@chenxuuu
Copy link

chenxuuu commented Aug 1, 2023

Describe the bug

such as I have a real folder C:\Documents\document, then I hardlink it to D:\projects\document(this is a virtal folder now)

if I run npm run dev in D:\projects\document, it throw an error when I open the website

Reproduction

https://github.com/Air-duino/document veupress branche

Steps to reproduce

such as I have a real folder C:\Documents\document, then I hardlink it to D:\projects\document(this is a virtal folder now)

if I run npm run dev in D:\projects\document, it throw an error when I open the website

PS > pwd

Path
----
D:\projects\document

PS > npm run dev

> air-duino-document@1.0.0 dev
> vuepress dev docs

✔ Initializing and preparing data - done in 415ms

  vite v4.4.7 dev server running at:

  ➜  Local:   http://localhost:8080/
No matching HTML proxy module found from C:/Documents/document/docs/.vuepress/.temp/vite-root/index.html?html-proxy&index=0.js
18:02:14 [vite] Internal server error: No matching HTML proxy module found from C:/Documents/document/docs/.vuepress/.temp/vite-root/index.html?html-proxy&index=0.js
      at Context.load (file:///C:/Documents/document/node_modules/vite/dist/node/chunks/dep-3b8eb186.js:37343:27)
      at Object.load (file:///C:/Documents/document/node_modules/vite/dist/node/chunks/dep-3b8eb186.js:44211:64)
      at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
      at async loadAndTransform (file:///C:/Documents/document/node_modules/vite/dist/node/chunks/dep-3b8eb186.js:54824:24)
      at async viteTransformMiddleware (file:///C:/Documents/document/node_modules/vite/dist/node/chunks/dep-3b8eb186.js:64291:32)

System Info

System:
    OS: Windows 10 10.0.19045
    CPU: (8) x64 Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz
    Memory: 3.57 GB / 15.88 GB
  Binaries:
    Node: 18.17.0 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.18 - ~\AppData\Roaming\npm\yarn.CMD
    npm: 9.8.1 - C:\Program Files\nodejs\npm.CMD
    pnpm: 8.6.10 - ~\AppData\Roaming\npm\pnpm.CMD
  Browsers:
    Edge: Spartan (44.19041.1266.0), Chromium (115.0.1901.188)
    Internet Explorer: 11.0.19041.1566

Used Package Manager

npm

Logs

No response

Validations

@sapphi-red
Copy link
Member

Duplicate of #10802

@sapphi-red sapphi-red marked this as a duplicate of #10802 Aug 2, 2023
@sapphi-red sapphi-red closed this as not planned Won't fix, can't repro, duplicate, stale Aug 2, 2023
@sapphi-red sapphi-red added duplicate This issue or pull request already exists and removed pending triage labels Aug 2, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Aug 17, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants