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.

Build fails with errors "TypeError: Cannot read property 'toString' of undefined "

See original GitHub issue

When i run npm run build i have get this error.

TypeError: Cannot read property 'toString' of undefined at e.getRenderedHash (/home/ubuntu/Vue/my-stencil-app/node_modules/@stencil/core/dist/sys/node/index.js:1:324262) at /home/ubuntu/Vue/my-stencil-app/node_modules/@stencil/core/dist/sys/node/index.js:1:325017 Can you help me on this!?

Issue Analytics

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

github_iconTop GitHub Comments

3reactions
lukasIOcommented, Jan 30, 2019

having the same problem

edit: solved for me by upgrading to 0.17.0 the app-starter repio still has a 0.16 version

1reaction
rwaskiewiczcommented, Feb 16, 2022

👋

I apologize it took so long for a member of the Stencil team to acknowledge this issue. This appears to be fixed in v2+ of Stencil and in this starter. I’m going to close this issue, but if it pops back up please feel free to open a new issue. Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

TypeError: can not read property toString() of Undefined [closed]
You are calling user.id.toString() on line 43 of your code and the error is telling you that the code you are executing is...
Read more >
`Cannot read property 'toString' of undefined` error on line 93 ...
I get a Cannot read property 'toString' of undefined error on line 93 of Util.js. resolve(buffer.toString(charset || 'utf-8'));.
Read more >
TypeError: Cannot read property 'toString' of undefined
It looks like the zap is working with still sending the information to Active Campaign but it still sends errors. Any help appreciated....
Read more >
Uncaught TypeError: Cannot read property 'toString' of ...
The call is getting initialised but upon joining the call,it is throwing an error which says “Uncaught TypeError: Cannot read property 'toString ......
Read more >
Unable to get property 'toString' of undefined or null reference
This issue arises when js/jquery is not able to refer to the element. It is because at the time of rendering the page(view),...
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