Skip to content
This repository has been archived by the owner on Aug 22, 2023. It is now read-only.

Dependency tree build fails #146

Closed
FrancoCorleone opened this issue Aug 6, 2020 · 6 comments
Closed

Dependency tree build fails #146

FrancoCorleone opened this issue Aug 6, 2020 · 6 comments

Comments

@FrancoCorleone
Copy link

FrancoCorleone commented Aug 6, 2020

I can no longer use and build project with following setup:

 "dependencies": {
    "@oclif/command": "^1",
    "@oclif/config": "^1",
    "@oclif/plugin-help": "^2",
    "axios": "^0.19.1",
    "cli-ux": "^5.3.3",
    "shelljs": "^0.8.3",
    "tslib": "^1"
  },
  "devDependencies": {
    "@oclif/dev-cli": "^1",
    "@oclif/test": "^1",
    "@types/chai": "^4",
    "@types/mocha": "^5",
    "@types/node": "^10",
    "chai": "^4",
    "eslint": "^5.13",
    "eslint-config-oclif": "^3.1",
    "eslint-config-oclif-typescript": "^0.1",
    "globby": "^10",
    "mocha": "^5",
    "nyc": "^14",
    "ts-node": "^8",
    "typescript": "^3.3"

it fails with 404 on yarn registry for oclif command

@liqingjun123
Copy link

"npm install sfdx-cli --global" runs to below error:

npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/@oclif%2fcommand - Not found
npm ERR! 404
npm ERR! 404 '@oclif/command@~1.6.0' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404 It was specified as a dependency of 'sfdx-cli'

@FrancoCorleone
Copy link
Author

I don't know if anyone is already working on that, but now it fails at something else:
error An unexpected error occurred: "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-2.34.0.tgz: Request failed \"404 Not Found\"".
So looks like it's not only oclif command but whole yarn registry

@liqingjun123
Copy link

liqingjun123 commented Aug 6, 2020

npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/@salesforce/ts-types/-/ts-types-1.4.2.tgz
npm ERR! 404
npm ERR! 404 '@salesforce/ts-types@^1.3.0' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404 It was specified as a dependency of '@salesforce/kit'
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

@FrancoCorleone
Copy link
Author

Nope it's not. now it failes for typescript parser as per my previous comment

@FrancoCorleone
Copy link
Author

btw. oclif command is missing again

@FrancoCorleone
Copy link
Author

ok, build successful for me. Closing, because this is not a problem with oclif/command most likely

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

No branches or pull requests

2 participants