Skip to content

could not extract package when I use tasks/cra.js #11593

@Banny-Gao

Description

@Banny-Gao

environment: windows、node v14.17.3
output:
Installing packages. This might take a couple of minutes.

Could not extract the package name from the archive: Cannot find module 'C:\Users\PC\AppData\Local\Temp\tmp-31908-HfJboKVeNQmr\package.json'
Require stack:

  • C:\Users\PC\Desktop\G\create-react-app\packages\create-react-app\createReactApp.js
  • C:\Users\PC\Desktop\G\create-react-app\packages\create-react-app\index.js

Aborting installation.
Unexpected error. Please report it as a bug:
TypeError: Cannot read property '1' of null
at C:\Users\PC\Desktop\G\create-react-app\packages\create-react-app\createReactApp.js:740:10
at processTicksAndRejections (internal/process/task_queues.js:95:5)
at async Promise.all (index 0)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions