Issue
I’m trying to create my own element with Polymer, but i can’t import polymer package.
Why it throws error: “Target of URI doesn’t exist”?
In Tools Output window I found 404 error.
And my pubspec.yaml
:
name: polymer1
description: A sample web application
dependencies:
browser: any
polymer: ">=0.15.1 < 0.17.0"
Solution
I’m pretty sure your pub-cache
is corrupted. Try to run pub cache repair
from the command line.
Answered By – Günter Zöchbauer
Answer Checked By – Gilberto Lyons (FlutterFixes Admin)