Static GitHub Issues

[1180] TypeError: Nuxt is not a constructor

prev: Middleware in client side: context.app is undefined (1.0.0 rc2)
next: export 'default' (imported as 'plugin1') was not found in 'plugin1'

Started getting this error when I deployed our service on a new host.

This code fails with Node v8 and rc2

const Nuxt = require('nuxt'); const config = require('./nuxt.config.js'); const nuxt = new Nuxt(config);

TypeError: Nuxt is not a constructor at Object.<anonymous> (/Users/Kalle/Dev/neovici/backend/Tools/render-node/test.js:3:14) at Module._compile (module.js:569:30) at Object.Module._extensions..js (module.js:580:10) at Module.load (module.js:503:32) at tryModuleLoad (module.js:466:12) at Function.Module._load (module.js:458:3) at Function.Module.runMain (module.js:605:10) at startup (bootstrap_node.js:158:16) at bootstrap_node.js:575:3

<!--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/c1041">#c1041</a>)</em></sub></div>