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

Uncaught PermissionDenied: Permission denied (os error 13) When running vite #27420

Open
nsetyo opened this issue Dec 19, 2024 · 0 comments
Open

Comments

@nsetyo
Copy link

nsetyo commented Dec 19, 2024

Version: Deno 2.1.4

I have a remix project which contain a directory with restricted permission. When i run the project with npm, the project run without a problem. But with Deno it gives me Uncaught PermissionDenied. The folder itself is ignored in .gitignore

Here is the log

DEBUG RS - deno_config::deno_json:731 - Config file found at '/home/nsetyo/projects/deno.jsonc'
DEBUG RS - deno_config::workspace::discovery:266 - package.json file found at '/home/nsetyo/projects/package.json'
DEBUG RS - deno::args:593 - .npmrc found at: '/home/nsetyo/.npmrc'
DEBUG RS - deno::args:937 - Finished config loading.
DEBUG RS - deno::task_runner:438 - Resolving commands in '/home/nsetyo/projects/node_modules/.bin'.
DEBUG RS - deno::task_runner:474 - Resolved npx command 'sucrase-node' to '/home/nsetyo/projects/node_modules/sucrase/bin/sucrase-node'.
DEBUG RS - deno::task_runner:474 - Resolved npx command 'jsesc' to '/home/nsetyo/projects/node_modules/jsesc/bin/jsesc'.
DEBUG RS - deno::task_runner:474 - Resolved npx command 'uuid' to '/home/nsetyo/projects/node_modules/uuid/dist/bin/uuid'.
DEBUG RS - deno::task_runner:474 - Resolved npx command 'tsc' to '/home/nsetyo/projects/node_modules/typescript/bin/tsc'.
DEBUG RS - deno::task_runner:474 - Resolved npx command 'vite' to '/home/nsetyo/projects/node_modules/vite/bin/vite.js'.
DEBUG RS - deno::task_runner:474 - Resolved npx command 'mkdirp' to '/home/nsetyo/projects/node_modules/mkdirp/bin/cmd.js'.
DEBUG RS - deno::task_runner:474 - Resolved npx command 'resolve' to '/home/nsetyo/projects/node_modules/resolve/bin/resolve'.
DEBUG RS - deno::task_runner:474 - Resolved npx command 'semver' to '/home/nsetyo/projects/node_modules/semver/bin/semver.js'.
DEBUG RS - deno::task_runner:474 - Resolved npx command 'jiti' to '/home/nsetyo/projects/node_modules/jiti/bin/jiti.js'.
DEBUG RS - deno::task_runner:474 - Resolved npx command 'pidtree' to '/home/nsetyo/projects/node_modules/pidtree/bin/pidtree.js'.
DEBUG RS - deno::task_runner:474 - Resolved npx command 'vite-node' to '/home/nsetyo/projects/node_modules/vite-node/vite-node.mjs'.
DEBUG RS - deno::task_runner:474 - Resolved npx command 'loose-envify' to '/home/nsetyo/projects/node_modules/loose-envify/cli.js'.
DEBUG RS - deno::task_runner:474 - Resolved npx command 'migrate-flat-routes' to '/home/nsetyo/projects/node_modules/remix-flat-routes/dist/cli.js'.
DEBUG RS - deno::task_runner:474 - Resolved npx command 'prisma' to '/home/nsetyo/projects/node_modules/prisma/build/index.js'.
DEBUG RS - deno::task_runner:474 - Resolved npx command 'json5' to '/home/nsetyo/projects/node_modules/json5/lib/cli.js'.
DEBUG RS - deno::task_runner:474 - Resolved npx command 'nanoid' to '/home/nsetyo/projects/node_modules/nanoid/bin/nanoid.cjs'.
DEBUG RS - deno::task_runner:474 - Resolved npx command 'mime' to '/home/nsetyo/projects/node_modules/mime/cli.js'.
DEBUG RS - deno::task_runner:474 - Resolved npx command 'astring' to '/home/nsetyo/projects/node_modules/astring/bin/astring'.
DEBUG RS - deno::task_runner:474 - Resolved npx command 'sucrase' to '/home/nsetyo/projects/node_modules/sucrase/bin/sucrase'.
DEBUG RS - deno::task_runner:474 - Resolved npx command 'husky' to '/home/nsetyo/projects/node_modules/husky/bin.js'.
DEBUG RS - deno::task_runner:474 - Resolved npx command 'acorn' to '/home/nsetyo/projects/node_modules/acorn/bin/acorn'.
DEBUG RS - deno::task_runner:474 - Resolved npx command 'glob' to '/home/nsetyo/projects/node_modules/glob/dist/esm/bin.mjs'.
DEBUG RS - deno::task_runner:474 - Resolved npx command 'autoprefixer' to '/home/nsetyo/projects/node_modules/autoprefixer/bin/autoprefixer'.
DEBUG RS - deno::task_runner:474 - Resolved npx command 'conventional-commits-parser' to '/home/nsetyo/projects/node_modules/conventional-commits-parser/cli.mjs'.
DEBUG RS - deno::task_runner:474 - Resolved npx command 'prettier' to '/home/nsetyo/projects/node_modules/prettier/bin/prettier.cjs'.
DEBUG RS - deno::task_runner:474 - Resolved npx command 'commitizen' to '/home/nsetyo/projects/node_modules/commitizen/bin/commitizen'.
DEBUG RS - deno::task_runner:474 - Resolved npx command 'remix-serve' to '/home/nsetyo/projects/node_modules/@remix-run/serve/dist/cli.js'.
DEBUG RS - deno::task_runner:474 - Resolved npx command 'cz' to '/home/nsetyo/projects/node_modules/commitizen/bin/git-cz'.
DEBUG RS - deno::task_runner:474 - Resolved npx command 'tailwind' to '/home/nsetyo/projects/node_modules/tailwindcss/lib/cli.js'.
DEBUG RS - deno::task_runner:474 - Resolved npx command 'parser' to '/home/nsetyo/projects/node_modules/@babel/parser/bin/babel-parser.js'.
DEBUG RS - deno::task_runner:474 - Resolved npx command 'biome' to '/home/nsetyo/projects/node_modules/@biomejs/biome/bin/biome'.
DEBUG RS - deno::task_runner:474 - Resolved npx command 'update-browserslist-db' to '/home/nsetyo/projects/node_modules/update-browserslist-db/cli.js'.
DEBUG RS - deno::task_runner:474 - Resolved npx command 'rollup' to '/home/nsetyo/projects/node_modules/rollup/dist/bin/rollup'.
DEBUG RS - deno::task_runner:474 - Resolved npx command 'git-raw-commits' to '/home/nsetyo/projects/node_modules/git-raw-commits/cli.mjs'.
DEBUG RS - deno::task_runner:474 - Resolved npx command 'cssesc' to '/home/nsetyo/projects/node_modules/cssesc/bin/cssesc'.
DEBUG RS - deno::task_runner:474 - Resolved npx command 'git-cz' to '/home/nsetyo/projects/node_modules/commitizen/bin/git-cz'.
DEBUG RS - deno::task_runner:474 - Resolved npx command 'gunzip-maybe' to '/home/nsetyo/projects/node_modules/gunzip-maybe/bin.js'.
DEBUG RS - deno::task_runner:474 - Resolved npx command 'commitlint' to '/home/nsetyo/projects/node_modules/@commitlint/cli/cli.js'.
DEBUG RS - deno::task_runner:474 - Resolved npx command 'yaml' to '/home/nsetyo/projects/node_modules/yaml/bin.mjs'.
DEBUG RS - deno::task_runner:474 - Resolved npx command 'tsconfck' to '/home/nsetyo/projects/node_modules/tsconfck/bin/tsconfck.js'.
DEBUG RS - deno::task_runner:474 - Resolved npx command 'tailwindcss' to '/home/nsetyo/projects/node_modules/tailwindcss/lib/cli.js'.
DEBUG RS - deno::task_runner:474 - Resolved npx command 'browserslist' to '/home/nsetyo/projects/node_modules/browserslist/cli.js'.
DEBUG RS - deno::task_runner:474 - Resolved npx command 'commit' to '/home/nsetyo/projects/node_modules/@commitlint/prompt-cli/cli.js'.
DEBUG RS - deno::task_runner:474 - Resolved npx command 'tsserver' to '/home/nsetyo/projects/node_modules/typescript/bin/tsserver'.
DEBUG RS - deno::task_runner:481 - Failed resolving npx command 'JSONStream'.
DEBUG RS - deno::task_runner:474 - Resolved npx command 'node-which' to '/home/nsetyo/projects/node_modules/which/bin/which.js'.
DEBUG RS - deno::task_runner:474 - Resolved npx command 'js-yaml' to '/home/nsetyo/projects/node_modules/js-yaml/bin/js-yaml.js'.
DEBUG RS - deno::task_runner:474 - Resolved npx command 'remix' to '/home/nsetyo/projects/node_modules/@remix-run/dev/dist/cli.js'.
DEBUG RS - deno::task_runner:474 - Resolved npx command 'uvu' to '/home/nsetyo/projects/node_modules/uvu/bin.js'.
Task dev remix vite:dev --logLevel info
error: Uncaught PermissionDenied: Permission denied (os error 13) about ["/home/nsetyo/projects/.volumes/mssql/secrets/machine-key"]
    at new FsWatcher (ext:runtime/40_fs_events.js:24:17)
    at Object.watchFs (ext:runtime/40_fs_events.js:74:10)
    at ext:deno_node/_fs/_fs_watch.ts:57:21
    at callback (ext:deno_web/02_timers.js:58:7)
    at eventLoopTick (ext:core/01_core.js:210:13)

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

No branches or pull requests

1 participant