You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think though that some users might not be able to enable this, but I'm not sure how widespread of an issue this is.. so for now, let's add some instructions about enabling developer mode then maybe in the future have a warning then fallback solution for those users.
PS C:\Users\rekke\Documents\vite-deno-example> deno task dev
Warning deno task is unstable and may drastically change in the future
Task dev deno run -A --unstable --node-modules-dir npm:vite
error: A required privilege is not held by the client. (os error 1314), symlink 'C:\Users\rekke\Documents\vite-deno-example\node_modules\.deno\[email protected]\node_modules\esbuild-freebsd-arm64' -> 'C:\Users\rekke\Documents\vite-deno-example\node_modules\.deno\[email protected]\node_modules\esbuild-freebsd-arm64'
The text was updated successfully, but these errors were encountered:
dsherret
changed the title
Local node_modules - Add instructions for Windows users that can't create symlinks
Local node_modules - Use junctions instead of symlinks on Windows
Sep 23, 2022
Edit: Use junctions instead like pnpm does (see comments below)
Users on Windows need to enable developer mode to get the local node_modules working because it uses symlinks.https://learn.microsoft.com/en-us/windows/apps/get-started/enable-your-device-for-development
I think though that some users might not be able to enable this, but I'm not sure how widespread of an issue this is.. so for now, let's add some instructions about enabling developer mode then maybe in the future have a warning then fallback solution for those users.See error from: #15427 (comment)
The text was updated successfully, but these errors were encountered: