Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9242659
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T08:37:34+00:00 2026-06-18T08:37:34+00:00

When i run the build.dart of my Web Component, the out folder is not

  • 0

When i run the build.dart of my Web Component, the out folder is not created and i receive this error:

SEVERE web/main.html: exception while reading file, original message:
 AsyncError: ''package:html5lib/dom.dart': Error: line 91 pos 51: type 'LinkedHashMap' is not loaded
  LinkedHashMap<dynamic, String> attributes = new LinkedHashMap();
malformed type used.'
Stack trace:
#0      Node.Node (package:html5lib/dom.dart:91:51)
#1      Document.Document (package:html5lib/dom.dart:313:16)
#2      TreeBuilder.reset (package:html5lib/src/treebuilder.dart:100:16)
#3      TreeBuilder.TreeBuilder (package:html5lib/src/treebuilder.dart:87:10)
#4      HtmlParser.HtmlParser (package:html5lib/parser.dart:148:38)
#5      parseHtml (package:web_ui/src/compiler.dart:34:16)
#6      Compiler._parseHtmlFile.<anonymous closure>.<anonymous closure> (package:web_ui/src/compiler.dart:165:28)
#7      time (package:web_ui/src/utils.dart:38:24)
#8      Compiler._time (package:web_ui/src/compiler.dart:297:16)
#9      Compiler._parseHtmlFile.<anonymous closure> (package:web_ui/src/compiler.dart:164:32)
#10     _ThenFuture._sendValue (dart:async:372:24)

Has anyone the same problem?

Update: thanks for answers. However, i run pub update and now if i run build.dart file the result is:

Uncaught Error: NoSuchMethodError : method not found: 'innerHTML'
Receiver: Instance of 'Element'
Arguments: []
Stack Trace:
#0      Object.noSuchMethod (dart:core-patch:1743:25)
#1      _ElementLoader.visitScriptElement (package:web_ui/src/analyzer.dart:879:16)
#2      _ElementLoader.visitElement (package:web_ui/src/analyzer.dart:770:40)
#3      TreeVisitor.visit (package:html5lib/dom_parsing.dart:208:50)
#4      TreeVisitor.visitChildren (package:html5lib/dom_parsing.dart:220:49)
#5      TreeVisitor.visitNodeFallback (package:html5lib/dom_parsing.dart:228:48)
#6      TreeVisitor.visitElement (package:html5lib/dom_parsing.dart:237:50)
#7      _ElementLoader.visitElement (package:web_ui/src/analyzer.dart:777:34)
#8      TreeVisitor.visit (package:html5lib/dom_parsing.dart:208:50)
#9      TreeVisitor.visitChildren (package:html5lib/dom_parsing.dart:220:49)
#10     TreeVisitor.visitNodeFallback (package:html5lib/dom_parsing.dart:228:48)
#11     TreeVisitor.visitElement (package:html5lib/dom_parsing.dart:237:50)
#12     _ElementLoader.visitElement (package:web_ui/src/analyzer.dart:777:34)
#13     TreeVisitor.visit (package:html5lib/dom_parsing.dart:208:50)
#14     TreeVisitor.visitChildren (package:html5lib/dom_parsing.dart:220:49)
#15     TreeVisitor.visitNodeFallback (package:html5lib/dom_parsing.dart:228:48)
#16     TreeVisitor.visitDocument (package:html5lib/dom_parsing.dart:230:52)
#17     TreeVisitor.visit (package:html5lib/dom_parsing.dart:212:52)
#18     analyzeDefinitions (package:web_ui/src/analyzer.dart:33:15)
#19     Compiler._parseAndDiscover.processHtmlFile.<anonymous closure>  (package:web_ui/src/compiler.dart:123:35)
#20     time (package:web_ui/src/utils.dart:38:24)
#21     Compiler._time (package:web_ui/src/compiler.dart:291:16)
#22     Compiler._parseAndDiscover.processHtmlFile (package:web_ui/src /compiler.dart:122:27)
#23     _ThenFuture._sendValue (dart:async:372:24)
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T08:37:35+00:00Added an answer on June 18, 2026 at 8:37 am

    I just went through this. It’s because the packages you have, haven’t been updated. Make sure you are using latest versions of every package, and run pub update.

    In my case, I was using an older version of web-ui, which used an older version of html5lib package. I updated web-ui and things worked.

    And like Florian said in the other answer, it’s caused by a class which has moved to another library.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using child_process to run wkhtmltopdf to build a PDF from an html document.
I am new to dart. I trying to build the web-ui example on Seth
I get the following error when trying to build/run my application: Error 30 -
I'm getting the following error when attempting to run my build script. /var/lib/jenkins/jobs/IPS (trunk)/workspace/build.xml:62:
This may be a stupid question but how does one actually run the 'Build'
If I run Build and Analyze this loads without errors according to the Analyzer
When i run ant build of my config.xml file , i get compiler error
I have a simple Makefile: default: @make build @make run build: @javac Test.java >
Steps: Run the build including unit tests. Expected result: the unit tests are executed
I want to be able to launch a Run Script Build Phase in XCode

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.