Skip to content
This repository has been archived by the owner on Jan 20, 2018. It is now read-only.

html_import_annotation error #55

Open
robbass opened this issue Feb 26, 2017 · 0 comments
Open

html_import_annotation error #55

robbass opened this issue Feb 26, 2017 · 0 comments

Comments

@robbass
Copy link

robbass commented Feb 26, 2017

Hi,
Starting from a project that contains polymer elements

name: 'project_name'
version: 0.0.1
description: A web app built using polymer.dart.

dependencies:
  browser: ^0.10.0
  polymer_elements: ^1.0.0-rc.8
  polymer: ^1.0.0-rc.15
  web_components: ^0.12.0
  css_animation:

transformers:
- polymer:
    entry_points: web/index.html
- $dart2js:
    minify: true

Debugging with web/index.html inside the project, everything works, no issues.

I'm trying to use it like a package from another project for testing

name: project_test
version: 0.0.1
description: A minimal web app for the developer that doesn’t want to be confused by too much going on.
environment:
  sdk: '>=1.9.0 <2.0.0'
dependencies:
  browser: ^0.10.0
  route_hierarchical: '>=0.5.0 <0.7.0'
  sass: '>=0.4.0 <0.5.0'
dev_dependencies:
  norax_display:
    path: ../project_name/

transformers:
- polymer:
    entry_points: web/Display.html
- $dart2js:
    minify: true
    commandLineOptions:
    - --trust-type-annotations
    - --trust-primitives

Debugging with web/Display.html i get this error

'package:web_components/html_import_annotation.dart': error: line 23 pos 43: unterminated string literal
ef =ht    et   t  csaeEo   rm( e,a'menth);

I'm not an expert, so i think i'm doing something wrong importing projects

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant