meteor-jade icon indicating copy to clipboard operation
meteor-jade copied to clipboard

Jade Meteor compiler trying to compile node_modules .jade

Open mcoenca opened this issue 7 years ago • 1 comments

Hello, not sure if this is the right place to post this, thanks for your help if it's not.

I just added the npm package node-mailjet, that contains for its views some .jade templates. These files are completely useless for the client API of the package.

Unfortunately, I get this error while trying to run my app

Errors prevented startup: While building the application: packages/compileJade/plugin/handler.js:54:1: Cannot read property 'head' of undefined (compiling node_modules/node-mailjet/examples/sendmail/views/error.jade) (at fileModeHandler) packages/compileJade/plugin/handler.js:54:1: Cannot read property 'head' of undefined (compiling node_modules/node-mailjet/examples/sendmail/views/index.jade) (at fileModeHandler) packages/compileJade/plugin/handler.js:54:1: Cannot read property 'head' of undefined (compiling node_modules/node-mailjet/examples/sendmail/views/layout.jade) (at fileModeHandler)

That gives me impression that the jade compiler from this package is trying to read the files in the node_modules folder. Is that an expected behaviour ?

Meteor 1.3.4 dalgard:[email protected]_1 dalgard:[email protected]_1

mcoenca avatar Aug 10 '16 10:08 mcoenca