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

[0.9.0] setup issue #101

Open
juju4 opened this issue Aug 12, 2023 · 2 comments
Open

[0.9.0] setup issue #101

juju4 opened this issue Aug 12, 2023 · 2 comments
Assignees

Comments

@juju4
Copy link

juju4 commented Aug 12, 2023

I'm working on an ansible role to setup starbase and CI test is failing since Aug 2nd. Previous execution on Jul 26th was successful.
https://github.com/juju4/ansible-starbase/actions/runs/5745725710/job/15574145225#step:7:726
https://github.com/juju4/ansible-starbase/actions/runs/5841947117/job/15842577988#step:7:613

  TASK [juju4.starbase : Install yarn packages dependencies] *********************
  task path: /home/runner/work/ansible-starbase/ansible-starbase/juju4.starbase/tasks/starbase.yml:43
  Saturday 12 August 2023  15:00:53 +0000 (0:00:00.691)       0:02:08.712 *******
  fatal: [instance]: FAILED! => {"changed": false, "cmd": "/usr/local/lib/npm/bin/yarn install --non-interactive", "msg": "error @jupiterone/[email protected]: The engine \"node\" is incompatible with this module. Expected version \">=18.0.0 <19.x\". Got \"14.21.3\"\nerror Found incompatible module.", "rc": 1, "stderr": "error @jupiterone/[email protected]: The engine \"node\" is incompatible with this module. Expected version \">=18.0.0 <19.x\". Got \"14.21.3\"\nerror Found incompatible module.\n", "stderr_lines": ["error @jupiterone/[email protected]: The engine \"node\" is incompatible with this module. Expected version \">=18.0.0 <19.x\". Got \"14.21.3\"", "error Found incompatible module."], "stdout": "yarn install v1.22.19\n[1/5] Validating package.json...\n[2/5] Resolving packages...\n[3/5] Fetching packages...\ninfo Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.\n", "stdout_lines": ["yarn install v1.22.19", "[1/5] Validating package.json...", "[2/5] Resolving packages...", "[3/5] Fetching packages...", "info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command."]}

Per https://github.com/JupiterOne/sdk/tags, latest is 9.9.3/9.11.2
Last successful action on https://github.com/JupiterOne/starbase/actions is on Jul 19th.
Maybe just need engine 14 to 18 in https://github.com/JupiterOne/starbase/blob/main/package.json#L17 ?

@adam-in-ict
Copy link
Contributor

Yes, it's almost certainly due to our recent change to Node 18 from Node 14. We're in the process of converting integrations over to Node 18, so some of them like Azure might require that you manually switch to Node 14 with nvm or another version management system before the execution will work. We should hopefully be getting it updated soon, but in the meantime manually switching down to 14 should hopefully be a decent workaround for you.

@adam-in-ict adam-in-ict self-assigned this Aug 14, 2023
@juju4
Copy link
Author

juju4 commented Aug 19, 2023

In CI with starbase 0.9.0 and multiple integrations, I'm getting many unmet dependencies.
Same with or without those exact dependency added to my npm global package install list.

https://github.com/juju4/ansible-starbase/actions/runs/5912604729/job/16036179158#step:10:21054

    "stderr_lines": [
        "warning \" > [email protected]\" has unmet peer dependency \"typescript@>=2.7\".",
        "warning \"@jupiterone/integration-sdk-dev-tools > @jupiterone/integration-sdk-cli > [email protected]\" has unmet peer dependency \"inquirer@< 9.x\".",
        "warning \"auto > @auto-it/[email protected]\" has unmet peer dependency \"typescript@>=2.7\".",
        "warning \"auto > @auto-it/core > [email protected]\" has unmet peer dependency \"@types/node@*\".",
        "warning \"auto > @auto-it/core > [email protected]\" has unmet peer dependency \"typescript@>=2.7\".",
        "warning \"@jupiterone/integration-sdk-dev-tools > @jupiterone/integration-sdk-cli > [email protected]\" has unmet peer dependency \"inquirer@< 9.x\".",
        "warning \"@jupiterone/integration-sdk-dev-tools > @jupiterone/integration-sdk-cli > [email protected]\" has unmet peer dependency \"inquirer@< 9.x\".",
        "warning \"auto > @auto-it/[email protected]\" has unmet peer dependency \"typescript@>=2.7\".",
        "warning \"auto > @auto-it/core > [email protected]\" has unmet peer dependency \"@types/node@*\".",
        "warning \"auto > @auto-it/core > [email protected]\" has unmet peer dependency \"typescript@>=2.7\".",
        "warning \"@jupiterone/integration-sdk-dev-tools > @jupiterone/integration-sdk-cli > [email protected]\" has unmet peer dependency \"inquirer@< 9.x\".",
        "warning \"auto > @auto-it/[email protected]\" has unmet peer dependency \"typescript@>=2.7\".",
        "warning \"auto > @auto-it/core > [email protected]\" has unmet peer dependency \"typescript@>=2.7\".",
Error:         ".integrations/graph-microsoft-365/src/ms-graph/middlewares/HTTPMessageHandler.ts(6,5): error TS2741: Property 'formData' is missing in type 'import(\"/var/_starbase/starbase/.integrations/graph-microsoft-365/node_modules/@types/node-fetch/index\").Response' but required in type 'Response'.",
Error:         ".integrations/graph-microsoft-365/src/ms-graph/middlewares/HTTPMessageHandler.ts(6,36): error TS2345: Argument of type 'RequestInfo' is not assignable to parameter of type 'import(\"/var/_starbase/starbase/.integrations/graph-microsoft-365/node_modules/@types/node-fetch/index\").RequestInfo'.",
        "  Type 'Request' is not assignable to type 'RequestInfo'.",
        "    Type 'Request' is missing the following properties from type 'Request': context, compress, counter, follow, and 6 more.",
        "",
        "error Command failed with exit code 1."
    ],
    "stdout": "yarn run v1.22.19\n$ ts-node ./src/index.ts setup\n[1/5] Validating package.json...\n[2/5] Resolving packages...\n[3/5] Fetching packages...\n[4/5] Linking dependencies...\n[5/5] Building fresh packages...\n[1/5] Validating package.json...\n[2/5] Resolving packages...\n[3/5] Fetching packages...\n[4/5] Linking dependencies...\n[5/5] Building fresh packages...\n[1/4] Resolving packages...\n[2/4] Fetching packages...\n[3/4] Linking dependencies...\n[4/4] Building fresh packages...\n[1/5] Validating package.json...\n[2/5] Resolving packages...\n[3/5] Fetching packages...\n[4/5] Linking dependencies...\n[5/5] Building fresh packages...\ninfo Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.",

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