Skip to content

Commit

Permalink
fix: EACCES permission denied due to resolve new paths default (#7612)
Browse files Browse the repository at this point in the history
  • Loading branch information
bbbboom committed Apr 5, 2022
1 parent 08e39b7 commit 1dd019f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/vite/src/node/utils.ts
Expand Up @@ -83,6 +83,7 @@ export function resolveFrom(
): string {
return resolve.sync(id, {
basedir,
paths: [],
extensions: ssr ? ssrExtensions : DEFAULT_EXTENSIONS,
// necessary to work with pnpm
preserveSymlinks: preserveSymlinks || isRunningWithYarnPnp || false
Expand Down

0 comments on commit 1dd019f

Please sign in to comment.