Topic: pro npm installation issue return you are not allowed to download code

elmajed2007 free asked 2 years ago


*I tried to install mdb with different ways but it fails, now i using free version although i purchased advanced version *

please help me to install the package, we have a running development.

Log error :

0 info it worked if it ends with ok 1 verbose cli [ 1 verbose cli 'C:\Program Files\nodejs\node.exe', 1 verbose cli 'C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js', 1 verbose cli 'i', 1 verbose cli 'git+https://oauth2:*@git.mdbootstrap.com/mdb/standard/mdb-ui-kit-pro-essential' 1 verbose cli ] 2 info using npm@6.14.11 3 info using node@v14.16.0 4 verbose npm-session 891e4b62941d408a 5 silly install loadCurrentTree 6 silly install readLocalPackageData 7 silly fetchPackageMetaData error for git+https://oauth2:*@git.mdbootstrap.com/mdb/standard/mdb-ui-kit-pro-essential Error while executing: 7 silly fetchPackageMetaData C:\Program Files\Git\cmd\git.EXE ls-remote -h -t https://oauth2:*@git.mdbootstrap.com/mdb/standard/mdb-ui-kit-pro-essential 7 silly fetchPackageMetaData 7 silly fetchPackageMetaData remote: You are not allowed to download code. 7 silly fetchPackageMetaData fatal: unable to access 'https://git.mdbootstrap.com/mdb/standard/mdb-ui-kit-pro-essential/': The requested URL returned error: 403 7 silly fetchPackageMetaData 7 silly fetchPackageMetaData exited with error code: 128 8 timing stage:rollbackFailedOptional Completed in 1ms 9 timing stage:runTopLevelLifecycles Completed in 3090ms 10 verbose stack Error: exited with error code: 128 10 verbose stack at ChildProcess. (C:\Program Files\nodejs\node_modules\npm\node_modules\pacote\lib\util\finished.js:12:19) 10 verbose stack at ChildProcess.emit (events.js:315:20) 10 verbose stack at maybeClose (internal/child_process.js:1048:16) 10 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5) 11 verbose cwd D:\eRAQEB before scripts\eRAQIB\RAQEB.WEB 12 verbose Windows_NT 10.0.19041 13 verbose argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "i" "git+https://oauth2:*@git.mdbootstrap.com/mdb/standard/mdb-ui-kit-pro-essential" 14 verbose node v14.16.0 15 verbose npm v6.14.11 16 error Error while executing: 16 error C:\Program Files\Git\cmd\git.EXE ls-remote -h -t https://oauth2:*@git.mdbootstrap.com/mdb/standard/mdb-ui-kit-pro-essential 16 error 16 error remote: a 16 error fatal: unable to access 'https://git.mdbootstrap.com/mdb/standard/mdb-ui-kit-pro-essential/': The requested URL returned error: 403 16 error 16 error exited with error code: 128 17 verbose exit [ 1, true ]


Grzegorz Bujański staff commented 2 years ago

The error log is pasted linearly making it virtually unreadable. The problem may be with the access token. As I understand, you generated an access token and used this command: npm and git + https: // oauth2: ACCESS_TOKEN@git.mdbootstrap.com/mdb/standard/mdb-ui-kit-pro-essential ?


elmajed2007 free commented 2 years ago

yes, after purchasing i received email to activate my account in git.mdbootstrap , then i have got my access token and past it as shown on the setup video but it returns not allowed error 128. I tried also other setup methods through orders direct download but this installed the free version.


Grzegorz Bujański staff commented 2 years ago

As far as I can see, you have purchased advanced package, not essential. Try this command: npm i git+https://oauth2:ACCESS_TOKEN@git.mdbootstrap.com/mdb/standard/mdb-ui-kit-pro-advanced


elmajed2007 free commented 2 years ago

npm i git+https://oauth2:@git.mdbootstrap.com/mdb/standard/mdb-ui-kit-pro-advanced fails also with the same error remote: You are not allowed to download code. npm ERR! fatal: unable to access 'https://git.mdbootstrap.com/mdb/standard/mdb-ui-kit-pro-advanced/': The requested URL returned error: 403


Marcin Luczak staff answered 2 years ago


Hi @elmajed2007,

We have examined your token and we've found out that during your token initialization you've checked the option read_user and you should check read_repository. Please regenerate your token with this option and check if it solves your problem.

Keep coding,

Marcin


elmajed2007 free commented 2 years ago

Thank you. this step finally succeeded, i'll complete setup now



Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Resolved

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: 4.19.2
  • Device: computer
  • Browser: crome
  • OS: windows 10
  • Provided sample code: No
  • Provided link: Yes