Static GitHub Issues

[405] ReferenceError: self is not defined

prev: Scss using custom alias failed
next: nuxt fetch and middleware life cycle

I am in the script reference scss file after the error

ReferenceError: self is not defined
    at __vue_ssr_bundle__:4476:30
    at __vue_ssr_bundle__:4471:47
    at module.exports.module.exports (__vue_ssr_bundle__:4496:68)
    at Object.<anonymous> (__vue_ssr_bundle__:4815:38)
    at __webpack_require__ (__vue_ssr_bundle__:21:30)
    at Object.<anonymous> (__vue_ssr_bundle__:2152:1)
    at __webpack_require__ (__vue_ssr_bundle__:21:30)
    at Object.module.exports.module.exports.render._vm (__vue_ssr_bundle__:5008:3)
    at __webpack_require__ (__vue_ssr_bundle__:21:30)
    at Object.module.exports.Object.defineProperty.value (__vue_ssr_bundle__:1718:5)

But the first time to load the display style, refresh the page after the wrong. I was configuring the loader like this

{ 
    test: /\.(sass|scss)$/,
    loader: [{loader: 'style-loader'}, {loader: 'css-loader'}, {loader: 'sass-loader'}]
}
<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c361">#c361</a>)</em></sub></div>