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.

Failed to render NunjucksModal

See original GitHub issue

Describe the bug Clicking on previously added (long time ago) ‘response -> body attribute’ throws an exception. Works fine with recent placeholders.

TypeError: Cannot read property 'value' of undefined
    at Object.hide (/Applications/Development/REST/Insomnia.app/Contents/Resources/app.asar/node_modules/insomnia-plugin-response/index.js:92:31)
    at TagEditor.renderArg (file:///Applications/Development/REST/Insomnia.app/Contents/Resources/app.asar/bundle.js:152425:67)
    at react__WEBPACK_IMPORTED_MODULE_0__.createElement.activeTagDefinition.args.map (file:///Applications/Development/REST/Insomnia.app/Contents/Resources/app.asar/bundle.js:152590:111)
    at Array.map (<anonymous>)
    at TagEditor.render (file:///Applications/Development/REST/Insomnia.app/Contents/Resources/app.asar/bundle.js:152590:76)
    at gi (file:///Applications/Development/REST/Insomnia.app/Contents/Resources/app.asar/bundle.js:174644:192)
    at fi (file:///Applications/Development/REST/Insomnia.app/Contents/Resources/app.asar/bundle.js:174643:224)
    at Rj (file:///Applications/Development/REST/Insomnia.app/Contents/Resources/app.asar/bundle.js:174725:490)
    at Qj (file:///Applications/Development/REST/Insomnia.app/Contents/Resources/app.asar/bundle.js:174708:199)
    at Kj (file:///Applications/Development/REST/Insomnia.app/Contents/Resources/app.asar/bundle.js:174708:128)

Filter

To Reproduce Steps to reproduce the behavior: no clue, can not reproduce for new placeholders, just the old ones.

Expected behavior Modal window opens, I can edit the stuff.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: macOS High Sierra
  • Installation Method: standalone
  • App Version 2020.3.3

Additional context Add any other context about the problem here.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:3
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
thepisucommented, Sep 24, 2020

Thank you! I confirm that now it works.

1reaction
develohpandacommented, Sep 21, 2020

@thepisu thank you for that information, that definitely helped me to narrow down the cause 👍

Read more comments on GitHub >

github_iconTop Results From Across the Web

Project build fails with Template Render Error #108 - GitHub
Describe the bug Building this project produces the following error: Something went wrong: Template render error: ...
Read more >
XML format error nunjucks template rendering - Stack Overflow
I think that this error is generated by the browser. When the nunjucks requests a next template from the server, the response comes...
Read more >
nunjucks templating docs
Template inheritance is a way to make it easy to reuse templates. ... At compile-time, Nunjucks is not aware how templates are loaded...
Read more >
How to Set Up Nunjucks with ExpressJS - DEV Community ‍ ‍
At the moment if you try to load the application, you'll get an error because we haven't created the template that we're trying...
Read more >
JavaScript nunjucks configure Examples
public'))); app.use('/', routes); // catch 404 and forward to error handler ... rendering function * https://mozilla.github.io/nunjucks/api.html#render ...
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