Static GitHub Issues

[3161] [edge] Pug Not Working

prev: Store: Add Dynamic Module Registration support
next: Setting the mode for spa to make a mistake

Version

2

Reproduction link

https://jsbin.com

Steps to reproduce

With pug and pug-loader installed via Yarn, my old Nuxt 1 project (which works fine) is no longer working after removing Nuxt 1 and installing Nuxt 2. The error looks like this:

Screen Shot 2018-03-30 at 11.01.08 AM.png

What is expected ?

Project functions properly on current stable release.

What is actually happening?

Project fails and cannot render the pug template.

<!--cmty--><div align="right"><sub><em>This bug report is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c6806">#c6806</a>)</em></sub></div>