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

Couldn't find package "typescript" on the "npm" registry. #13

Open
innabelov75 opened this issue Mar 2, 2021 · 0 comments
Open

Couldn't find package "typescript" on the "npm" registry. #13

innabelov75 opened this issue Mar 2, 2021 · 0 comments

Comments

@innabelov75
Copy link

innabelov75 commented Mar 2, 2021

Following the instruction on setting up the project, observed the following issues:

  1. running yarn command did not update yarn.lock file as mentioned at @6:00 of the first lesson
  2. running yarn build inside packages/types produced an error: "Couldn't find package "typescript" on the "npm" registry."

I was finally able to resolve the issue by editing ~/.npmrc to include registry=https://registry.yarnpkg.com, and also adding a local .npmrc file inside the js-ts-monorepos project with the same content.

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

1 participant