Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ReferenceError: template is not defined #126

Open
chrisathook opened this issue Sep 21, 2017 · 1 comment
Open

ReferenceError: template is not defined #126

chrisathook opened this issue Sep 21, 2017 · 1 comment

Comments

@chrisathook
Copy link

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)

@stereokai
Copy link

I hit the same error and a full npm install is what solved it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants