[Not-Solved] Jade in local package


Hi everyone.
I’m trying to use mquandelle:jade in a package structured meteor 1.4.2 application, but when I import .jade file, browser’s console spits Uncaught Error: Cannot find module './tp.jade'.
There’s a stackoverflow post that brings up a solution by changing from mquandelle:jade to waitingkuo:jade. Althought it works, I don’t like it as a solution: as soon as I tried it, an error on server’s log showed up claiming he couldn’t recognize “main” tag (HTML5’s tag). Therefore, waitingkuo:jade is a no-go for me, but I really want to use jade in my packages. Any clue on how to perform this?


No one? Maybe there’s something about local packages I don’t know or don’t understand :frowning:


Somehow, it managed to resolve magically :S


Nope, the problem is still there :frowning: sorry for all the posts :frowning:
Now sometimes it shows Uncaught Error: Cannot find module './tp.jade' and some others Uncaught Error: Cannot find module './tp.jade.js'. I’m changing the dependencies in package.js, but I’m not sure what’s the problem.
I’ll post my files and see if someone can get to it.


Package.onUse(function(api) {
    api.use('app-ui', 'client');


Package.onUse(function(api) {
    const modules = [

    api.use(modules, 'client');
    api.addFiles('main.js', 'client');


import './tp.jade'


	title App Title

Like that, I’m getting Uncaught Error: Cannot find module './tp.jade'.
If I change /packages/app-ui/tp.jade to

	title App Title
	main Content

I get Uncaught Error: Cannot find module './tp.jade.js'

Any ideas? :S


Seems like updating to meteor 1.4.2_3 solved the issue. I don’t know what to think :S