Skip to content

[Windows]: USDK create throws error on copying files  #772

@AbdurrehmanSubhani

Description

@AbdurrehmanSubhani

Product

USDK (Upstreet Agents SDK)

What happened?

Steps to Reproduce:

  • Make sure to be using Windows OS
  • Execute USDK create (with the pnpm path resolution resolved (PR added))
  • Expect Error while Agent files are being copies

FIX

Windows user have to enable "Developer Mode" in there settings to reliably get past this errors.

Steps:

  1. Open Settings
  2. Search "Developer Mode"
  3. Turn on "Developer Mode"

Log:


Preparing directory...
Directory prepared...
Generating Agent...
Agent generated...
Name: AI Agent
Bio: A cool AI
Description: Created by the AI Agent SDK
Visual Description: undefined
Preview URL: 
Homespace Description: undefined
Homespace URL: 
Features: *none*
Copying files...
Error: EPERM: operation not permitted, symlink 'C:\Users\PC\development\monorepo\node_modules\.pnpm\@aws-sdk+util-format-url@3.709.0\node_modules\@aws-sdk\util-format-url' -> 'C:\Users\PC\Desktop\agents\testAgent\packages\upstreet-agent\node_modules\@aws-sdk\util-format-url'

Version

v0.0.96

What is your environment?

Node version:
v22.10.0

Link to original discussion

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions