-
Notifications
You must be signed in to change notification settings - Fork 3
Allow 'include' to work in a .pug file, for a .pug file #13
Comments
I also get this same error. The exact line of code is, |
The actual bug is with the version of pug-loader. You should just update that to the latest or fix the regex looking for '.jade' at the end of the path after the 'include' token. |
not really sure what to do know, get the same error within my expressjs with pug as view engine. deinstalling pug and reinstallig jade again... sadly. |
Since I updated the latest NOTE: I realized when downloading with an out-dated npm the wrong version of certain modules with the package-version-prefix |
This looks like it's just an out of date version of pug. |
it seems |
@jboissard It definitely does. How do i force the newest version? |
try |
@jboissard, @Gliptal, 2.0.0-alpha6 is not the newest version anymore. See http://npm.im/pug, 2.0.0-beta4 is. |
@TimothyGu updated my comment |
When I have a
.pug
file, I can'tinclude
external.pug
files, without getting an error. I can include a.jade
file from a source.pug
file without issue. Going to assume for now, that we shouldn't migrate extensions over to.pug
, even though 2/3rd of the renaming seems to be done?The associated error happens on an
include
of anything other than a.jade
file, including non-existent files,.txt
files, etc.:The text was updated successfully, but these errors were encountered: