withastro/action

Error with path: no such file or directory

Closed this issue · 1 comments

I'm having this error on this repo

Running self-installer...
  [Error: ENOENT: no such file or directory, open '/home/runner/work/chinese-character-writing-practice/chinese-character-writing-practice/package.json'] {
    errno: -2,
    code: 'ENOENT',
    syscall: 'open',
    path: '/home/runner/work/chinese-character-writing-practice/chinese-character-writing-practice/package.json'
  }
  Error: Error: ENOENT: no such file or directory, open '/home/runner/work/chinese-character-writing-practice/chinese-character-writing-practice/package.json'

Path is assigned at workflow, but isn't working

Well, it end up working. I had to create a package.json on the root folder and specify pnpm on package-manager