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.

weird bug with `import { Template } from 'meteor/templating'`

See original GitHub issue

import { Template } from 'meteor/templating' stop working since last meteor update

I had a working meteor application.

I updated to meteor 1.6 and then Template was undefined wherever js file with import { Template } from 'meteor/templating'

If I remove import { Template } from 'meteor/templating' everything runs fine with Template from global space.

If I remove ostrio:flow-router-extra I can import { Template } from 'meteor/templating' again.

The next meteor app reproduces the bug templating.tar.gz

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
dr-dimitrucommented, Feb 8, 2018

@coagmano thank you for the fix. @hacknlove thank you for rising this question up. Please update to the latest release, this issue should be solved now - v3.4.6

1reaction
dr-dimitrucommented, Jan 31, 2018

@coagmano thank you for update, this what I was looking for:

make that package not available to anything else ever

Read more comments on GitHub >

github_iconTop Results From Across the Web

import { Template } from 'meteor/templating' not working with ...
If you do import { Template } from 'meteor/templating' Template will be undefined Everything works fine if you do not import Template, ...
Read more >
BUG FIX: Elementor template import issue solved...kind of
In this video, I will show you how to solve the #Elementor template importing issue.
Read more >
Importing template error - WordPress.org
There is no way to import ANY template on any domain or site. I tried everything for two days, from disabling all plugins,...
Read more >
Known Bugs and User Experience Issues - Elementor
Learn everything about Known Bugs and User Experience Issues in this ... Issue: Theme builder templates and blocks not showing in the template...
Read more >
Imported template doesn't look like the demo
This guide covers issues you may have with an Elementor Template kit not importing as expected. The most common causes are your theme,...
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