Skip to content

[BUG]:Not working create-astro with template satnaing/astro-paper #478

Open
@NPJigaK

Description

@NPJigaK

Describe the Bug

I followed the commands listed under the "Running Locally" section in your repository (https://github.com/satnaing/astro-paper?tab=readme-ov-file#-running-locally), but I am unable to create the expected output. Could you please assist me in troubleshooting this issue or let me know if any additional steps are required?

I have also tried installing with yarn and bun, but the same error is output.

$ pnpm create astro@latest --template satnaing/astro-paper
../../.pnpm-store/v3/tmp/dlx-33864       |  +30 +++
../../.pnpm-store/v3/tmp/dlx-33864       | Progress: resolved 30, reused 13, downloaded 17, added 30, done

 astro   Launch sequence initiated.

   dir   Where should we create your new project?
         ./b
      ◼  tmpl Using satnaing/astro-paper as project template

  deps   Install dependencies?
         Yes

   git   Initialize a new git repository?
         Yes

 ██████  Project initializing...
         ▶ Template copying...
         □ Dependencies
         □ Git
node:events:492
      throw er; // Unhandled 'error' event
      ^

Error: ENOENT: no such file or directory, open
    at Object.open (node:fs:551:11)
    at [_open] (D:\.pnpm-store\v3\tmp\dlx-33864\node_modules\.pnpm\[email protected]\node_modules\fs-minipass\index.js:271:8)
    at new WriteStream (D:\.pnpm-store\v3\tmp\dlx-33864\node_modules\.pnpm\[email protected]\node_modules\fs-minipass\index.js:248:18)
    at [file] (D:\.pnpm-store\v3\tmp\dlx-33864\node_modules\.pnpm\[email protected]\node_modules\tar\lib\unpack.js:419:20)
    at [makeFs] (D:\.pnpm-store\v3\tmp\dlx-33864\node_modules\.pnpm\[email protected]\node_modules\tar\lib\unpack.js:703:26)
    at D:\.pnpm-store\v3\tmp\dlx-33864\node_modules\.pnpm\[email protected]\node_modules\tar\lib\unpack.js:647:30      
    at FSReqCallback.oncomplete (node:fs:199:21)
    at Object.lstat (node:fs:1562:11)
    at afterMakeParent (D:\.pnpm-store\v3\tmp\dlx-33864\node_modules\.pnpm\[email protected]\node_modules\tar\lib\unpack.js:640:10)
    at D:\.pnpm-store\v3\tmp\dlx-33864\node_modules\.pnpm\[email protected]\node_modules\tar\lib\unpack.js:632:13      
Emitted 'error' event on WriteStream instance at:
    at WriteStream.emit (D:\.pnpm-store\v3\tmp\dlx-33864\node_modules\.pnpm\[email protected]\node_modules\fs-minipass\index.js:257:18)
    at [_onerror] (D:\.pnpm-store\v3\tmp\dlx-33864\node_modules\.pnpm\[email protected]\node_modules\fs-minipass\index.js:267:10)
    at [_onopen] (D:\.pnpm-store\v3\tmp\dlx-33864\node_modules\.pnpm\[email protected]\node_modules\fs-minipass\index.js:282:21)
    at D:\.pnpm-store\v3\tmp\dlx-33864\node_modules\.pnpm\[email protected]\node_modules\fs-minipass\index.js:272:32
    at FSReqCallback.oncomplete (node:fs:189:23)
    at Object.open (node:fs:551:11)
    [... lines matching original stack trace ...]
    at [makeFs] (D:\.pnpm-store\v3\tmp\dlx-33864\node_modules\.pnpm\[email protected]\node_modules\tar\lib\unpack.js:703:26) {
  errno: -4058,
  code: 'ENOENT',
  syscall: 'open'
}

Node.js v20.9.0

What's the expected result?

create project

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions