Skip to content
This repository was archived by the owner on Jun 7, 2023. It is now read-only.
This repository was archived by the owner on Jun 7, 2023. It is now read-only.

mv: cannot stat 'README_to_copy.md': No such file or directory #16

@rihr

Description

@rihr

Creating an app on linux. While the mv commands should work, the given file does indeed not exist, when they're being executed.

➜ npx gras-react-boilerplate test2
info Initializing project...
info Creating the app at "test2"
info Running on "linux"

success npm init -- done

info Generating files...
mv: cannot stat 'README_to_copy.md': No such file or directory
node:child_process:675
    throw err;
    ^

Error: Command failed: cd test2 && mv README_to_copy.md README.md
mv: cannot stat 'README_to_copy.md': No such file or directory

    at checkExecSyncError (node:child_process:636:11)
    at execSync (node:child_process:672:15)
    at /usr/local/share/.config/yarn/global/node_modules/@dhi-gras/gras-react-boilerplate/bin/index.js:121:7
    at ChildProcess.exithandler (node:child_process:300:7)
    at ChildProcess.emit (node:events:327:20)
    at maybeClose (node:internal/child_process:1048:16)
    at Process.ChildProcess._handle.onexit (node:internal/child_process:288:5) {
  status: 1,
  signal: null,
  output: [
    null,
    Buffer(0) [Uint8Array] [],
    Buffer(63) [Uint8Array] [
      109, 118,  58,  32,  99,  97, 110, 110, 111, 116,  32,
      115, 116,  97, 116,  32,  39,  82,  69,  65,  68,  77,
       69,  95, 116, 111,  95,  99, 111, 112, 121,  46, 109,
      100,  39,  58,  32,  78, 111,  32, 115, 117,  99, 104,
       32, 102, 105, 108, 101,  32, 111, 114,  32, 100, 105,
      114, 101,  99, 116, 111, 114, 121,  10
    ]
  ],
  pid: 30279,
  stdout: Buffer(0) [Uint8Array] [],
  stderr: Buffer(63) [Uint8Array] [
    109, 118,  58,  32,  99,  97, 110, 110, 111, 116,  32,
    115, 116,  97, 116,  32,  39,  82,  69,  65,  68,  77,
     69,  95, 116, 111,  95,  99, 111, 112, 121,  46, 109,
    100,  39,  58,  32,  78, 111,  32, 115, 117,  99, 104,
     32, 102, 105, 108, 101,  32, 111, 114,  32, 100, 105,
    114, 101,  99, 116, 111, 114, 121,  10
  ]
}

Metadata

Metadata

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