Skip to content
This repository was archived by the owner on Nov 18, 2024. It is now read-only.
This repository was archived by the owner on Nov 18, 2024. It is now read-only.

no such file or directory, open '/github/workspace/package.json' #55

Open
@DTX-Elliot

Description

@DTX-Elliot

Hi, I'm trying to set this up using the default configuration and no matter what I try I keep getting the below error

Run bradennapier/[email protected]
/usr/bin/docker run --name c016349738004d1b838eafcafa9e29ef_d4476d --label 179394 --workdir /github/workspace --rm -e INPUT_GITHUB-TOKEN -e INPUT_REPORTWARNINGS -e INPUT_REPORTWARNINGSASERRORS -e INPUT_REPORTIGNOREDFILES -e INPUT_REPORTSUGGESTIONS -e INPUT_ISSUESUMMARY -e INPUT_ISSUESUMMARYTYPE -e INPUT_ISSUESUMMARYMETHOD -e INPUT_ISSUESUMMARYONLYONEVENT -e INPUT_EXTENSIONS -e INPUT_INCLUDEGLOB -e INPUT_IGNOREGLOB -e INPUT_CONFIGFILE -e INPUT_RULEPATHS -e INPUT_ERRORONUNMATCHEDPATTERN -e INPUT_USEESLINTRC -e INPUT_USEESLINTIGNORE -e INPUT_FIX -e INPUT_NPMINSTALL -e HOME -e GITHUB_JOB -e GITHUB_REF -e GITHUB_SHA -e GITHUB_REPOSITORY -e GITHUB_REPOSITORY_OWNER -e GITHUB_RUN_ID -e GITHUB_RUN_NUMBER -e GITHUB_RETENTION_DAYS -e GITHUB_ACTOR -e GITHUB_WORKFLOW -e GITHUB_HEAD_REF -e GITHUB_BASE_REF -e GITHUB_EVENT_NAME -e GITHUB_SERVER_URL -e GITHUB_API_URL -e GITHUB_GRAPHQL_URL -e GITHUB_WORKSPACE -e GITHUB_ACTION -e GITHUB_EVENT_PATH -e GITHUB_ACTION_REPOSITORY -e GITHUB_ACTION_REF -e GITHUB_PATH -e GITHUB_ENV -e RUNNER_OS -e RUNNER_TOOL_CACHE -e RUNNER_TEMP -e RUNNER_WORKSPACE -e ACTIONS_RUNTIME_URL -e ACTIONS_RUNTIME_TOKEN -e ACTIONS_CACHE_URL -e GITHUB_ACTIONS=true -e CI=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/_temp/_runner_file_commands":"/github/file_commands" -v "/home/runner/work/Gym-Society/Gym-Society":"/github/workspace" 179394:c016349738004d1b838eafcafa9e29ef "***" "false"
ENTRY
Install Yarn
npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path /github/workspace/package.json
npm ERR! errno -2
npm ERR! enoent ENOENT: no such file or directory, open '/github/workspace/package.json'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! A complete log of this run can be found in:
npm ERR! /github/home/.npm/_logs/2020-11-27T02_59_45_309Z-debug.log

I've tried changing the working directory to master/mobile which is the folder I wish to lint but I can't seem to get it to work. Any help would be appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions