question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot read property 'appendChild' of undefined at lstr.js:26

See original GitHub issue

Bug Report or Feature Request (mark with an x)

- [X ] bug report -> please search issues before submitting
- [ ] feature request

Command (mark with an x)

- [X] new
- [ ] build
- [ ] serve
- [ ] test
- [ ] e2e
- [ ] generate
- [ ] add
- [ ] update
- [ ] lint
- [ ] xi18n
- [ ] run
- [ ] config
- [ ] help
- [ ] version
- [ ] doc

Versions

node --version 8.9.3 npm --version 6.4.0 ng --version 6.0.8

Repro steps

ng create somecomponent cd somecomponent npm run start

The log given by the failure

Error in google web tools console: core.js:3123 Angular is running in the development mode. Call enableProdMode() to enable the production mode. lstr.js:26 Uncaught TypeError: Cannot read property ‘appendChild’ of undefined at lstr.js:26 (anonymous) @ lstr.js:26

Desired functionality

No errors when creating a new project. localhost-1535624327980.log

Mention any other details that might be useful

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
peter-snrcommented, Sep 5, 2018

@filipesilva I tried incognito mode with Chrome and it is fine, I also checked with Firefox and also fine. I guess you are correct, it is most likely related to a plugin. Thank you for taking a look.

0reactions
angular-automatic-lock-bot[bot]commented, Sep 8, 2019

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot read property 'appendChild' of Undefined in JS
The "Cannot read property 'appendChild' of undefined" error occurs for 2 reasons: Calling the appendChild method on a DOM element that doesn't exist....
Read more >
Chrome error on localhost - wampserver - Stack Overflow
I get this error even if the page is empty: Uncaught TypeError: Cannot read property 'appendChild' of undefined at lstr.js:26. (lstr.js is Chrome...
Read more >
Cannot read property 'appendChild' of undefined - jQWidgets
I would like to suggest you try to isolate this. createButtons(); , just a moment, while you are doing tests.
Read more >
无法读取null 的属性“appendchild”, 无法读取null 的 ... - 免费编程教程
我的第一个项目的链接https://codepen.io/newemail/pen/EJMaop?editors=0011 google控制台说Cannot read property 'appendChild' of null Uncaught TypeError:无法读 ...
Read more >
Añadir al carrito de compras NO Funciona - PrestaShop
Uncaught TypeError : Cannot read property 'appendChild' of undefined at lstr.js:26 24-laptop-acer-f5-573-514d.html:1 XMLHttpRequest cannot ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found