Closed pauloantonelli closed 4 years ago
Cara tenta remover e dar apagar seu pubspec.lock e tenta instalar com o slidy install bloc_pattern eu tentei em 2 projetos aqui e não apareceu esse problema se o problema persistir tenta dar mais detalhes (y)
Conseguiu resolver? Senao tem como mostrar o seu pubspec.yaml?
Cara tenta remover e dar apagar seu pubspec.lock e tenta instalar com o slidy install bloc_pattern eu tentei em 2 projetos aqui e não apareceu esse problema se o problema persistir tenta dar mais detalhes (y)
VAlew, quando chegar em casa vou tentar essa solução @emendes28 e volto aqui
Conseguiu resolver? Senao tem como mostrar o seu pubspec.yaml?
Ainda nao! Tentei varias vezes instalar o pacote ontem mas nao consegui. Mais tarde vou tentar a solucao do @emendes28 e volto aqui pra deixar o resultado @Bwolfs2
Remove o pacote e tenta instalar diretamente pelo slidy i bloc_pattern
slidy i bloc_pattern
Jacob tentei isntalar pelo slidy e da o mesmo erro:
[bloc_pattern] flutter packages get
Running "flutter pub get" in bloc_pattern...
Error on line 20, column 3 of pubspec.yaml: A package may not list itself as a dependency.
╷ 20 │ bloc_pattern: ^2.4.4
│ ^^^^^^^^^^^^
╵
pub get failed (65)
exit code 65
[bloc_pattern] flutter packages get
Running "flutter pub get" in bloc_pattern... 0.5s
exit code 0
[bloc_pattern] flutter packages get
Running "flutter pub get" in bloc_pattern...
Error on line 20, column 3 of pubspec.yaml: A package may not list itself as a dependency.
╷
20 │ bloc_pattern: ^2.4.4 │ ^^^^^^^^^^^^
╵ pub get failed (65) exit code 65
Conseguiu resolver? Senao tem como mostrar o seu pubspec.yaml?
meu pubspec.yaml esta assim no momento(com a tentativa do slidy de adicional o bloc_pattern:
name: bloc_pattern description: A new Flutter project.
version: 1.0.0+1
environment: sdk: ">=2.1.0 <3.0.0"
dependencies: bloc_pattern: ^2.4.4 flutter: sdk: flutter
cupertino_icons: ^0.1.2 slidy: ^1.1.4 rxdart: ^0.22.5
dev_dependencies: flutter_test: sdk: flutter
flutter:
uses-material-design: true
#
Cara tenta remover e dar apagar seu pubspec.lock e tenta instalar com o slidy install bloc_pattern eu tentei em 2 projetos aqui e não apareceu esse problema se o problema persistir tenta dar mais detalhes (y)
tentei tambem deletar o .lock e dar um get em tudo de novo mas o resultado é o mesmo.
Estou com a ultima versao stable do dart sdk instalado
Subi aqui pro git para caso alguem puder dar uma olhadinha e me ajudar a continuar a estudar o bloc: https://github.com/pauloantonelli/curso_flutter_flutterando Agradeço de antemão rss
Estou com o mesmo problema !
Estou com o mesmo problema !
@eRoberio eu resolvi esse problema trocando o nome do projeto no pubspec.yaml la eu tinha usado o nome slidy no nome do projeto e dava problemas. Tenta e qualquer coisa avisa por favor
O seu projeto tem o mesmo nome do pacote, "bloc_pattern", mude o nome do seu projeto.
Quando insiro o pacote em dependecies, tanto bloc_pattern: ^2.3.2, quando bloc_pattern: ^2.4.4 da o erro: A package may not list itself as a dependency.
A saida do console: [bloc_pattern] flutter packages get Running "flutter pub get" in bloc_pattern...
Error on line 27, column 3 of pubspec.yaml: A package may not list itself as a dependency.
╷
27 │ bloc_pattern: ^2.3.2
│ ^^^^^^^^^^^^ ╵ pub get failed (65) exit code 65
Algum jeito de resolver esse problema?