ionic-team / ionic-team/ionic-cli
bug: npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way
- Linguagem predominante
- TypeScript
- Estrelas
- 2k
- Forks
- 682
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
### Prerequisites
- [X] I have read the [Contributing Guidelines](https://github.com/ionic-team/ionic-framework/blob/main/docs/CONTRIBUTING.md#creating-an-issue).
- [X] I agree to follow the [Code of Conduct](https://ionicframework.com/code-of-conduct).
- [X] I have searched for [existing issues](https://github.com/ionic-team/ionic-framework/issues) that already report this problem, without success.
### Ionic Framework Version
v8.x
### Current Behavior
ionic --version 7.2.0 trying to update global CLI version to latest 8.x
doc: https://ionicframework.com/docs/cli
### Expected Behavior
sudo npm install -g @ionic/cli must update the global cli version from 7 to 8 and it is not working
### Steps to Reproduce
ionic --version
sudo npm uninstall -g @ionic/cli
sudo npm install -g @ionic/cli
### Code Reproduction URL
https://github.com/ionic-team/ionic-framework
### Ionic Info
Ionic:
Ionic CLI : 7.2.0
Utility:
cordova-res (update available: 0.15.4) : 0.15.3
native-run (update available: 2.0.1) : 1.7.2
System:
NodeJS : v20.15.0
npm : 10.7.0
OS : macOS Monterey
### Additional Information
errno: -13,
npm error code: 'EACCES',
npm error syscall: 'rename',
npm error path: '/usr/local/lib/node_modules/@ionic/cli',
npm error dest: '/usr/local/lib/node_modules/@ionic/.cli-i0Vftuwx'
Guia de contribuição
Direção de pesquisa
O relatório não informa nenhum arquivo-fonte, teste ou ponto de entrada. Reproduza a instalação global no macOS com Node v20.15.0 e npm 10.7.0 e, em seguida, use a falha de rename EACCES e o aviso deprecated inflight como evidências iniciais; considera-se concluído quando a CLI global for atualizada com sucesso da 7.2.0 para a 8.x.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- typescript
- Domínio
- cli
- Tipo de issue
- Bug
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Status de atividade
- Estagnada
- Clareza
- Precisa de esclarecimento
- Facilidade para iniciantes
- 25/100