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

Error unable to symlink local encore.dev using pnpm #1658

Open
clabnet opened this issue Dec 18, 2024 · 0 comments
Open

Error unable to symlink local encore.dev using pnpm #1658

clabnet opened this issue Dec 18, 2024 · 0 comments

Comments

@clabnet
Copy link

clabnet commented Dec 18, 2024

Using pnpm i I have this error:

PS D:\Weblabs\nodejs\ENCORE\drizzle-sample> pnpm i
 WARN  2 deprecated subdependencies found: @esbuild-kit/[email protected], @esbuild-kit/[email protected]
Packages: +44
++++++++++++++++++++++++++++++++++++++++++++
Progress: resolved 88, reused 44, downloaded 0, added 44, done

dependencies:
+ @types/pg 8.11.10
+ drizzle-orm 0.36.4 (0.38.2 is available)
+ encore.dev 1.45.2
+ pg 8.13.1

devDependencies:
+ @types/node 20.17.10 (22.10.2 is available)
+ drizzle-kit 0.27.2 (0.30.1 is available)
+ typescript 5.7.2

Done in 2s
PS D:\Weblabs\nodejs\ENCORE\drizzle-sample> encore build docker --config infra.config.json drizzle_test:0.0.1
10:58PM ERR setup deps

Caused by:
    0: setup dependencies
    1: unable to symlink local encore.dev
    2: symlink encore.dev directory at "D:\\Weblabs\\nodejs\\ENCORE\\drizzle-sample\\node_modules\\encore.dev"
    3: Cannot create a file when that file already exists. (os error 183)

Stack backtrace:
   0: anyhow::backtrace::capture::Backtrace::capture
   1: encore_tsparser::builder::package_mgmt::symlink_encore_dev
   2: <encore_tsparser::builder::package_mgmt::NpmPackageManager as encore_tsparser::builder::package_mgmt::PackageManager>::setup_deps
   3: scoped_tls::ScopedKey<T>::set
   4: tsparser_encore::main
   5: std::sys::backtrace::__rust_begin_short_backtrace
   6: main
   7: __tmainCRTStartup
   8: mainCRTStartup
   9: <unknown>
  10: <unknown>
PS D:\Weblabs\nodejs\ENCORE\drizzle-sample> 
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