Not able to install dependencies
not able to install dependencies
needs yarn to install dependencies rather than Npm
@manasarora119 The components repository requires yarn for installing the dependencies. This is because our lock file is from yarn and we want to ensure that development on this repository is consistent across different devices.
Please see: https://github.com/angular/components/blob/master/DEV_ENVIRONMENT.md
@devversion , It is possible to install dependencies via npm ???
You can, but it is not recommended. If you want to use npm, you need to update postinstall script in the package.json to not run check-npm.js
@devversion Still getting error .............
The serve command requires to be run in an Angular project, but a project definition could not be found.
Please Help!!!!!!!!!!!!!!!!!!
@devversion any update ????
Hi @manasarora119. Can you please elaborate what you are trying to achieve?
From what you wrote.. it sounds like you want to run ng serve for the angular/components repository. This will never work as the components repository is not an Angular CLI project and we have our own tooling infrastructure.
You could just:
- Run
yarn install - Run
yarn dev-app
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.