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.

Error: Cannot read property 'trim' of undefined

See original GitHub issue

Surprisingly, this action which used to work started to fail today, using v1.1.0 (using sha).

Generating changelog
  Found 1 pull request(s) associated with commit 234cefd9e510cd6db5ef9d1d9bed6f882d8b2363
  Error: Cannot read property 'trim' of undefined
  (node:2477) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'trim' of undefined
      at e.exports (/home/runner/work/_actions/marvinpinto/action-automatic-releases/10bdce64abdb4558a2ee6983192242be40d631d8/dist/index.js:1:562792)
      at Function.e.exports.sync (/home/runner/work/_actions/marvinpinto/action-automatic-releases/10bdce64abdb4558a2ee6983192242be40d631d8/dist/index.js:1:561270)
      at /home/runner/work/_actions/marvinpinto/action-automatic-releases/10bdce64abdb4558a2ee6983192242be40d631d8/dist/index.js:1:211488
      at Generator.next (<anonymous>)
      at s (/home/runner/work/_actions/marvinpinto/action-automatic-releases/10bdce64abdb4558a2ee6983192242be40d631d8/dist/index.js:1:210383)
      at processTicksAndRejections (internal/process/task_queues.js:93:5)
  (node:2477) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
  (node:2477) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

image

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:21 (13 by maintainers)

github_iconTop GitHub Comments

2reactions
eyal0commented, Feb 4, 2021

@Vadorequest To be clear, I didn’t mean rebasing this repo. I mean rebasing your own repo so that merge commits have more than one line of non-empty text.

1reaction
eyal0commented, Mar 23, 2021

I think so.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot read property 'trim' of undefined in Jquery - Stack ...
that means, the variable vname is undefined . To prevent this error from occurring, you can use the ternary operator to set the...
Read more >
Build fails with "TypeError: Cannot read property 'trim ... - GitHub
It looks like where ever you are using the .trim you are not defining the variable that you are trimming. considering changing: yourVariables....
Read more >
Cannot read property 'trim' of undefined in Component
This is the error : Cannot read property 'trim' of undefined. and this is the other description that comes with it : Object....
Read more >
Error in render: “TypeError: Cannot read property 'trim' of ...
Am going to share with you one way which can cause the 'trim' of undefined error that appears in your browser console. So...
Read more >
Uncaught TypeError: Cannot read property 'trim' of undefined
For a site i get this error from the google console. Uncaught TypeError: Cannot read property 'trim' of undefined at $.AviaMapsAPI.
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