Installation error: 'The project you were looking for c


Topic: Installation error: 'The project you were looking for could not be found.'

AB pro premium asked 2 years ago

Hi,

I am a MDB pro user. While trying to re-install my project on a computer, I am getting an error while installation.

After running npm install, it should completing installation. It is not completing the installation.

Following is the error: (pro key and pc name hidden in error below)

npm ERR! Error while executing:
npm ERR! /usr/local/bin/git ls-remote -h -t https://oauth2:KEY-IN-REAL-ERROR@git.mdbootstrap.com/mdb/react/re-pro.git
npm ERR!
npm ERR! remote: The project you were looking for could not be found.
npm ERR! fatal: repository 'https://git.mdbootstrap.com/mdb/react/re-pro.git/' not found
npm ERR!
npm ERR! exited with error code: 128

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/my-pc-name/.npm/_logs/2020-04-07T17_39_24_556Z-debug.log
ere

Can you help me with this if there is some problem with your Gitlab repository?

Thanks.


Jakub Chmura staff premium answered 2 years ago

Hi @AB,

I already test an installation method on macOS, and for me, it works fine. Can you show me your package.json file? (without your personal token of course)

Best, Kuba


AB pro premium commented 2 years ago

Hi,

I just found out that the 'https://git.mdbootstrap.com/mdb/react/re-pro' link says Page Not Found . Access to the folder seems missing after logging in.

Does this seem to be causing the error 'The project you were looking for could not be found.' ?


Mateusz Leciejewski staff pro premium commented 2 years ago

Hi @AB, although the license usage is for life, GitLab access, updates, and premium support expire after 12 months.

You'll need to renew your access here: https://mdbootstrap.com/renew-licenses

If you wanna learn more about our terms of usage check this directory: https://mdbootstrap.com/general/license/


AB pro premium commented 2 years ago

Hi,

As per your suggestion I've renewed the access.

Will this change our old key?

'git+https://oauth2:x-xxxxxxxxxxxxx@git.mdbootstrap.com/mdb/react/re-pro.git'

Also, would you direct me to the steps to view the key again?

Thanks.


Mateusz Leciejewski staff pro premium commented 2 years ago

Hi,

your old key should be valid, but if you haven't saved it, you should generate it again with the help of this guide https://mdbootstrap.com/docs/react/getting-started/quick-start/


AB pro premium answered 2 years ago

The following is the package.json file:

(note: I am not having issues on the existing projects;

new installations are giving this error)

{
  "name": "testtwo",
  "version": "0.1.0",
  "private": true,
  "dependencies": {
    "@react-pdf/renderer": "^1.6.8",
    "@trendmicro/react-radio": "^3.2.2",
    "bootstrap": "^4.3.1",
    "bootstrap-toggle": "^2.2.2",
    "html2canvas": "^1.0.0-rc.5",
    "jquery": "^1.9.1",
    "jspdf": "^1.5.3",
    "mdbreact": "git+https://oauth2:MY-KEY@git.mdbootstrap.com/mdb/react/re-pro.git",
    "rc-checkbox": "^2.1.5",
    "react": "^16.5.2",
    "react-bootstrap": "^1.0.0-beta.5",
    "react-dom": "^16.5.2",
    "react-helmet": "^5.2.1",
    "react-popper": "^1.3.3",
    "react-rangeslider": "^2.2.0",
    "react-router-dom": "^4.3.1",
    "react-scripts": "2.0.3",
    "react-snap": "^1.23.0",
    "react-switch": "^3.0.4",
    "react-vis": "^1.11.7"
  },
  "scripts": {
    "start": "react-scripts start",
    "build": "react-scripts build",
    "test": "react-scripts test",
    "eject": "react-scripts eject",
    "postbuild": "react-snap"
  },
  "eslintConfig": {
    "extends": "react-app"
  },
  "browserslist": [
    ">0.2%",
    "not dead",
    "not ie <= 11",
    "not op_mini all"
  ],
  "devDependencies": {
    "css-loader": "^1.0.0"
  }
}

Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue
  • User: Pro
  • Premium support: Yes
  • Technology: MDB React
  • MDB Version: 4.25.5
  • Device: iMAC
  • Browser: chrome
  • OS: mac os
  • Provided sample code: No
  • Provided link: No