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

Fatal error: Cannot read property 'doctype' of undefined #34

Open
ft5198560 opened this issue May 3, 2016 · 3 comments
Open

Fatal error: Cannot read property 'doctype' of undefined #34

ft5198560 opened this issue May 3, 2016 · 3 comments

Comments

@ft5198560
Copy link

ft5198560 commented May 3, 2016

I'm getting this error every time.
"Fatal error: Cannot read property 'doctype' of undefined"

Not sure what's going wrong.

Config:

htmlangular: {
files: {
src: ['src/index.html']
}
},

@nikestep
Copy link
Owner

I think I would need a little more information, but maybe try:

htmlangular: {
options: {},
files: {
src: ['src/index.html']
}
}

@kaufmann42
Copy link

kaufmann42 commented Jun 22, 2016

I am also getting this error. Did it ever resolve @ft5198560 ?

Edit: It worked itself out after not running it for a couple minutes. Not exactly sure what the issue was, but if I had to take a wild guess I'd assume it had to do with the server.

@kburson
Copy link

kburson commented Jan 11, 2017

I had a similar error, after looking into the source and the docs there is one option that is required for testing html fragments (angular partials) --'tmplext'

options: {
tmplext: 'tpl.html'
}

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

4 participants