imide
imide
Explore posts from servers
SIASapphire - Imagine a framework
Created by imide on 8/13/2023 in #sapphire-support
eslint-config error: cannot access C: due to not declared in deps (Yarn v3 PnP)
nvm lmao sorry
21 replies
SIASapphire - Imagine a framework
Created by imide on 8/13/2023 in #sapphire-support
eslint-config error: cannot access C: due to not declared in deps (Yarn v3 PnP)
though file explorer had no space
21 replies
SIASapphire - Imagine a framework
Created by imide on 8/13/2023 in #sapphire-support
eslint-config error: cannot access C: due to not declared in deps (Yarn v3 PnP)
wait oh my god nevermind i fixed the issue, there was a space in the folder
21 replies
SIASapphire - Imagine a framework
Created by imide on 8/13/2023 in #sapphire-support
eslint-config error: cannot access C: due to not declared in deps (Yarn v3 PnP)
Oops! Something went wrong! :(

ESLint: 8.47.0

Error: synckit tried to access "C:, but it isn't declared in its dependencies; this makes the require call ambiguous and unsound.

Required package: "C: (via ""C:\Users\zach\Downloads\bots")
Required by: synckit@npm:0.8.5 (via C:\Users\zach\Downloads\bots test\test_bug\.yarn\cache\synckit-npm-0.8.5-40a594eb38-fb6798a2db.zip\node_modules\synckit\lib\)

Require stack:
- C:\Users\zach\Downloads\bots test\test_bug\.yarn\cache\synckit-npm-0.8.5-40a594eb38-fb6798a2db.zip\node_modules\synckit\lib\index.cjs
- C:\Users\zach\Downloads\bots test\test_bug\.yarn\__virtual__\eslint-plugin-prettier-virtual-9c990f1546\0\cache\eslint-plugin-prettier-npm-5.0.0-2f21113cba-4ea0e5f82a.zip\node_modules\eslint-plugin-prettier\eslint-plugin-prettier.js
- C:\Users\zach\Downloads\bots test\test_bug\.yarn\cache\@eslint-eslintrc-npm-2.1.2-feb0771c9f-fa25638f26.zip\node_modules\@eslint\eslintrc\dist\eslintrc.cjs
Occurred while linting C:\Users\zach\Downloads\bots test\test_bug\src\index.ts:1
Rule: "prettier/prettier"
at require$$0.Module._resolveFilename (C:\Users\zach\Downloads\bots test\test_bug\.pnp.cjs:10265:13)
at Function.resolve (node:internal/modules/helpers:136:19)
at C:\Users\zach\Downloads\bots test\test_bug\.yarn\cache\synckit-npm-0.8.5-40a594eb38-fb6798a2db.zip\node_modules\synckit\lib\index.cjs:174:92
at Array.some (<anonymous>)
at setupTsRunner (C:\Users\zach\Downloads\bots test\test_bug\.yarn\cache\synckit-npm-0.8.5-40a594eb38-fb6798a2db.zip\node_modules\synckit\lib\index.cjs:173:68)
at startWorkerThread (C:\Users\zach\Downloads\bots test\test_bug\.yarn\cache\synckit-npm-0.8.5-40a594eb38-fb6798a2db.zip\node_modules\synckit\lib\index.cjs:205:7)
at Object.createSyncFn (C:\Users\zach\Downloads\bots test\test_bug\.yarn\cache\synckit-npm-0.8.5-40a594eb38-fb6798a2db.zip\node_modules\synckit\lib\index.cjs:76:18)
at Program (C:\Users\zach\Downloads\bots test\test_bug\.yarn\__virtual__\eslint-plugin-prettier-virtual-9c990f1546\0\cache\eslint-plugin-prettier-npm-5.0.0-2f21113cba-4ea0e5f82a.zip\node_modules\eslint-plugin-prettier\eslint-plugin-prettier.js:147:51)
at ruleErrorHandler (C:\Users\zach\Downloads\bots test\test_bug\.yarn\cache\eslint-npm-8.47.0-84c6b60ea8-f3f9c68631.zip\node_modules\eslint\lib\linter\linter.js:1050:28)
at C:\Users\zach\Downloads\bots test\test_bug\.yarn\cache\eslint-npm-8.47.0-84c6b60ea8-f3f9c68631.zip\node_modules\eslint\lib\linter\safe-emitter.js:45:58
Oops! Something went wrong! :(

ESLint: 8.47.0

Error: synckit tried to access "C:, but it isn't declared in its dependencies; this makes the require call ambiguous and unsound.

Required package: "C: (via ""C:\Users\zach\Downloads\bots")
Required by: synckit@npm:0.8.5 (via C:\Users\zach\Downloads\bots test\test_bug\.yarn\cache\synckit-npm-0.8.5-40a594eb38-fb6798a2db.zip\node_modules\synckit\lib\)

Require stack:
- C:\Users\zach\Downloads\bots test\test_bug\.yarn\cache\synckit-npm-0.8.5-40a594eb38-fb6798a2db.zip\node_modules\synckit\lib\index.cjs
- C:\Users\zach\Downloads\bots test\test_bug\.yarn\__virtual__\eslint-plugin-prettier-virtual-9c990f1546\0\cache\eslint-plugin-prettier-npm-5.0.0-2f21113cba-4ea0e5f82a.zip\node_modules\eslint-plugin-prettier\eslint-plugin-prettier.js
- C:\Users\zach\Downloads\bots test\test_bug\.yarn\cache\@eslint-eslintrc-npm-2.1.2-feb0771c9f-fa25638f26.zip\node_modules\@eslint\eslintrc\dist\eslintrc.cjs
Occurred while linting C:\Users\zach\Downloads\bots test\test_bug\src\index.ts:1
Rule: "prettier/prettier"
at require$$0.Module._resolveFilename (C:\Users\zach\Downloads\bots test\test_bug\.pnp.cjs:10265:13)
at Function.resolve (node:internal/modules/helpers:136:19)
at C:\Users\zach\Downloads\bots test\test_bug\.yarn\cache\synckit-npm-0.8.5-40a594eb38-fb6798a2db.zip\node_modules\synckit\lib\index.cjs:174:92
at Array.some (<anonymous>)
at setupTsRunner (C:\Users\zach\Downloads\bots test\test_bug\.yarn\cache\synckit-npm-0.8.5-40a594eb38-fb6798a2db.zip\node_modules\synckit\lib\index.cjs:173:68)
at startWorkerThread (C:\Users\zach\Downloads\bots test\test_bug\.yarn\cache\synckit-npm-0.8.5-40a594eb38-fb6798a2db.zip\node_modules\synckit\lib\index.cjs:205:7)
at Object.createSyncFn (C:\Users\zach\Downloads\bots test\test_bug\.yarn\cache\synckit-npm-0.8.5-40a594eb38-fb6798a2db.zip\node_modules\synckit\lib\index.cjs:76:18)
at Program (C:\Users\zach\Downloads\bots test\test_bug\.yarn\__virtual__\eslint-plugin-prettier-virtual-9c990f1546\0\cache\eslint-plugin-prettier-npm-5.0.0-2f21113cba-4ea0e5f82a.zip\node_modules\eslint-plugin-prettier\eslint-plugin-prettier.js:147:51)
at ruleErrorHandler (C:\Users\zach\Downloads\bots test\test_bug\.yarn\cache\eslint-npm-8.47.0-84c6b60ea8-f3f9c68631.zip\node_modules\eslint\lib\linter\linter.js:1050:28)
at C:\Users\zach\Downloads\bots test\test_bug\.yarn\cache\eslint-npm-8.47.0-84c6b60ea8-f3f9c68631.zip\node_modules\eslint\lib\linter\safe-emitter.js:45:58
21 replies
SIASapphire - Imagine a framework
Created by imide on 8/13/2023 in #sapphire-support
eslint-config error: cannot access C: due to not declared in deps (Yarn v3 PnP)
@Favna i did tests with the default eslint/prettier config and the sapphire, the default works flawlessly while the sapphire one fails
21 replies
SIASapphire - Imagine a framework
Created by imide on 8/13/2023 in #sapphire-support
eslint-config error: cannot access C: due to not declared in deps (Yarn v3 PnP)
the issue is yarn PnP.
21 replies
SIASapphire - Imagine a framework
Created by imide on 8/13/2023 in #sapphire-support
eslint-config error: cannot access C: due to not declared in deps (Yarn v3 PnP)
21 replies
SIASapphire - Imagine a framework
Created by imide on 8/13/2023 in #sapphire-support
eslint-config error: cannot access C: due to not declared in deps (Yarn v3 PnP)
21 replies
SIASapphire - Imagine a framework
Created by imide on 8/13/2023 in #sapphire-support
eslint-config error: cannot access C: due to not declared in deps (Yarn v3 PnP)
and it still doesnt work
21 replies
SIASapphire - Imagine a framework
Created by imide on 8/13/2023 in #sapphire-support
eslint-config error: cannot access C: due to not declared in deps (Yarn v3 PnP)
and i added what they said
21 replies
SIASapphire - Imagine a framework
Created by imide on 8/13/2023 in #sapphire-support
eslint-config error: cannot access C: due to not declared in deps (Yarn v3 PnP)
many people said they fixed it
21 replies
SIASapphire - Imagine a framework
Created by imide on 8/13/2023 in #sapphire-support
eslint-config error: cannot access C: due to not declared in deps (Yarn v3 PnP)
synckit claimed to solve the issue and to add certain stuff to ur eslint since they are a dep of eslint
21 replies
SIASapphire - Imagine a framework
Created by imide on 8/13/2023 in #sapphire-support
eslint-config error: cannot access C: due to not declared in deps (Yarn v3 PnP)
i tried eslint and programmer's hangout, they said go ehre
21 replies
SIASapphire - Imagine a framework
Created by imide on 8/13/2023 in #sapphire-support
eslint-config error: cannot access C: due to not declared in deps (Yarn v3 PnP)
21 replies