Skip to content

ReferenceError: template is not defined #126

@chrisathook

Description

@chrisathook

I keep hitting this error when trying to process a JS file.

There are no syntax errors in the file. Oddly this error only happens with i specify the file type is js

pp.preprocess(preprofile, {ieSupport: false},{type: 'js'});

if I don't declare a type it seems to just pass the file through without processing it at all

pp.preprocess(preprofile, {ieSupport: false});

[15:15:27] ReferenceError: template is not defined
at eval (eval at getTestTemplate (G:\DOCS\Out Loud ANEW\internal projects\display-html5-compass\node_modules\preprocess\lib\preprocess.js:362:10), :3:21)
at testPasses (G:\DOCS\Out Loud ANEW\internal projects\display-html5-compass\node_modules\preprocess\lib\preprocess.js:367:10)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions