Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PrimeCMS updater error #105

Closed
sylar opened this issue Mar 3, 2019 · 2 comments
Closed

PrimeCMS updater error #105

sylar opened this issue Mar 3, 2019 · 2 comments

Comments

@sylar
Copy link
Contributor

sylar commented Mar 3, 2019

While trying to update PrimeCMS' packages from its own settings the following response is being received:

 "errors": [
    {
      "message": "Command failed: yarn add\nerror Missing list of packages to add to your project.\n",
      "locations": [
        {
          "line": 2,
          "column": 3
        }
      ],
      "path": [
        "updateSystem"
      ],
      "extensions": {
        "code": "INTERNAL_SERVER_ERROR",
        "exception": {
          "killed": false,
          "code": 1,
          "signal": null,
          "cmd": "yarn add"
        }
      }
    }
  ],
  "data": null
}

I suspect the error is related with some paths where the exec(...) is being executed and not finding the package.json (which is in the root of the project). What do you think?

@birkir
Copy link
Owner

birkir commented Mar 3, 2019

Fixed in v0.3.3-beta.6 with 1d49907

@birkir birkir closed this as completed Mar 3, 2019
@sylar
Copy link
Contributor Author

sylar commented Mar 3, 2019

@birkir you are golden man! Thanks for fixing stuff so quickly!

Cheers mate! 🍻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants