Skip to content

Instantly share code, notes, and snippets.

@gamersalpha
Created November 8, 2024 18:27
Show Gist options
  • Save gamersalpha/e2ce04501e349e83ef8909f3ee619357 to your computer and use it in GitHub Desktop.
Save gamersalpha/e2ce04501e349e83ef8909f3ee619357 to your computer and use it in GitHub Desktop.
[i] No changes detected
node:internal/fs/utils:356
throw err;
^
Error: EISDIR: illegal operation on a directory, read
at Object.readSync (node:fs:744:3)
at tryReadSync (node:fs:444:20)
at Object.readFileSync (node:fs:490:19)
at loadConfig (/home/perplexica/dist/config.js:11:60)
at getPort (/home/perplexica/dist/config.js:12:23)
at Object.<anonymous> (/home/perplexica/dist/app.js:13:35)
at Module._compile (node:internal/modules/cjs/loader:1364:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)
at Module.load (node:internal/modules/cjs/loader:1203:32)
at Module._load (node:internal/modules/cjs/loader:1019:12) {
errno: -21,
syscall: 'read',
code: 'EISDIR'
}
Node.js v18.20.4
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
yarn run v1.22.19
$ npm run db:push && node dist/app.js
> [email protected] db:push
> drizzle-kit push sqlite
drizzle-kit: v0.22.7
drizzle-orm: v0.31.2
No config path provided, using default path
Reading config file '/home/perplexica/drizzle.config.ts'
[⣷] Pulling schema from database...
[✓] Pulling schema from database...
[i] No changes detected
node:internal/fs/utils:356
throw err;
^
Error: EISDIR: illegal operation on a directory, read
at Object.readSync (node:fs:744:3)
at tryReadSync (node:fs:444:20)
at Object.readFileSync (node:fs:490:19)
at loadConfig (/home/perplexica/dist/config.js:11:60)
at getPort (/home/perplexica/dist/config.js:12:23)
at Object.<anonymous> (/home/perplexica/dist/app.js:13:35)
at Module._compile (node:internal/modules/cjs/loader:1364:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)
at Module.load (node:internal/modules/cjs/loader:1203:32)
at Module._load (node:internal/modules/cjs/loader:1019:12) {
errno: -21,
syscall: 'read',
code: 'EISDIR'
}
Node.js v18.20.4
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
yarn run v1.22.19
$ npm run db:push && node dist/app.js
> [email protected] db:push
> drizzle-kit push sqlite
drizzle-kit: v0.22.7
drizzle-orm: v0.31.2
No config path provided, using default path
Reading config file '/home/perplexica/drizzle.config.ts'
[⣷] Pulling schema from database...
[✓] Pulling schema from database...
[i] No changes detected
node:internal/fs/utils:356
throw err;
^
Error: EISDIR: illegal operation on a directory, read
at Object.readSync (node:fs:744:3)
at tryReadSync (node:fs:444:20)
at Object.readFileSync (node:fs:490:19)
at loadConfig (/home/perplexica/dist/config.js:11:60)
at getPort (/home/perplexica/dist/config.js:12:23)
at Object.<anonymous> (/home/perplexica/dist/app.js:13:35)
at Module._compile (node:internal/modules/cjs/loader:1364:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)
at Module.load (node:internal/modules/cjs/loader:1203:32)
at Module._load (node:internal/modules/cjs/loader:1019:12) {
errno: -21,
syscall: 'read',
code: 'EISDIR'
}
Node.js v18.20.4
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment