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

Installation Fails: Unable to Install Dev Dependencies with pnpm or npm install #2

Open
Jamalahmad123 opened this issue Aug 10, 2024 · 0 comments

Comments

@Jamalahmad123
Copy link

Hello,
I've encountered an issue while trying to install the dependencies for this project using the command pnpm install as described in the README. The installation process fails repeatedly, specifically when attempting to install the development dependencies. Here’s a summary of the steps I followed and the issues encountered:

### Steps to Reproduce:
Cloned the repository to my local machine.
Ran pnpm install in the project root as per the instructions in the README.
Expected Behavior:
The command pnpm install should successfully install all necessary dependencies, including dev dependencies, without errors.

Actual Behavior:

The installation process fails repeatedly when trying to install dev dependencies. I have tried multiple times, and each time the process is halted due to errors related to dev dependencies.

Error Log:

``"Scope: all 3 workspace projects
 WARN  GET https://gitlab.superdao.co/api/v4/projects/90/packages/npm/@dev/eslint-config-superdao/-/@dev/eslint-config-superdao-0.0.1.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://gitlab.superdao.co/api/v4/projects/89/packages/npm/@dev/tsconfig/-/@dev/tsconfig-0.0.2.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/eslint/-/eslint-8.36.0.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/npm-check-updates/-/npm-check-updates-16.8.0.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/turbo/-/turbo-1.8.6.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/typescript/-/typescript-4.9.5.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/@nestjs/cli/-/cli-9.3.0.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/@nestjs/schematics/-/schematics-9.0.4.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/@nestjs/testing/-/testing-9.3.12.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/@types/jest/-/jest-29.5.0.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.57.0.tgz error
(ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.57.0.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/ts-jest/-/ts-jest-29.0.5.tgz error (ERR_INVALID_THIS). Will retry
in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/ts-loader/-/ts-loader-9.4.2.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/ts-node/-/ts-node-10.9.1.tgz error (ERR_INVALID_THIS). Will retry
in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-4.1.2.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://gitlab.superdao.co/api/v4/projects/90/packages/npm/@dev/eslint-config-superdao/-/@dev/eslint-config-superdao-0.0.1.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://gitlab.superdao.co/api/v4/projects/89/packages/npm/@dev/tsconfig/-/@dev/tsconfig-0.0.2.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/eslint/-/eslint-8.36.0.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/npm-check-updates/-/npm-check-updates-16.8.0.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/turbo/-/turbo-1.8.6.tgz error (ERR_INVALID_THIS). Will retry in 1
minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/typescript/-/typescript-4.9.5.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/@nestjs/cli/-/cli-9.3.0.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/@nestjs/schematics/-/schematics-9.0.4.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/@nestjs/testing/-/testing-9.3.12.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/@types/jest/-/jest-29.5.0.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.57.0.tgz error
(ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.57.0.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/ts-jest/-/ts-jest-29.0.5.tgz error (ERR_INVALID_THIS). Will retry
in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/ts-loader/-/ts-loader-9.4.2.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/ts-node/-/ts-node-10.9.1.tgz error (ERR_INVALID_THIS). Will retry
in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-4.1.2.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
Progress: resolved 11, reused 11, downloaded 0, added 0" getting this error now while installing node-modules

Environment:

OS: Windows 10
Node Version: v20.16.0

Could you please provide guidance on how to resolve this issue? Alternatively, any suggestions on how to bypass the dev dependency installation would also be helpful.

Thank you for your assistance!

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

No branches or pull requests

1 participant