fastjs-team / core

Fastjs is a useful, lightweight JavaScript library for any types of project.
https://fastjs.dev
MIT License
341 stars 37 forks source link

pnpm create fastjs@1.0.0-beta.2 windows 安装报错 #113

Closed yycdjh closed 2 months ago

yycdjh commented 2 months ago

What is the current behavior?

pnpm create fastjs@1.0.0-beta.2 error

? Enter the name of the app: fastjs-app ? Choose the init path for the app: Create a new directory with the app name ? Choose a template: Vanilla ? Choose a template type: JavaScript ? Choose a package manager: Use pnpm (recommended)

Creating project fastjs-app in ./fastjs-app

Error: Command failed: cp -r D:.pnpm-store\v3\tmp\dlx-33368\node_modules.pnpm\create-fastjs@1.0.0-beta.2\node_modules\ create-fastjs\templates\vanilla/* D:\github\demo\fastjs-app 'cp' �����ڲ����ⲿ���Ҳ���ǿ����еij��� ���������ļ���

at genericNodeError (node:internal/errors:984:15)
at wrappedFn (node:internal/errors:538:14)
at ChildProcess.exithandler (node:child_process:422:12)
at ChildProcess.emit (node:events:518:28)
at maybeClose (node:internal/child_process:1105:16)
at ChildProcess._handle.onexit (node:internal/child_process:305:5)
at Process.callbackTrampoline (node:internal/async_hooks:130:17) {

code: 1, killed: false, signal: null, cmd: 'cp -r D:\.pnpm-store\v3\tmp\dlx-33368\node_modules\.pnpm\create-fastjs@1.0.0-beta.2\node_modules\create -fastjs\templates\vanilla/* D:\github\demo\fastjs-app' }

What is the expected behavior?

正确安装

Steps to reproduce the problem

windows cmd pnpm create fastjs@1.0.0-beta.2

Link to minimal reproduction

No response

System Info

No response

Any additional comments?

No response

Confirmations

xiaodong2008 commented 2 months ago

Fixed in v1.0.0-beta.3