Static GitHub Issues

[1827] Why do we get errors with server side libraries missing?

prev: Vue-meta working doesn't set empty attribute
next: How to config vue-i18n v-t directive with nuxt ?

We just updated to 1.0.0-rc13. Building our Nuxt project, we get:

These dependencies were not found:

* fs in ./node_modules/@nuxtjs/youch/src/Youch/index.js, ./node_modules/chokidar/index.js and 39 others
* jsdom in ./node_modules/nuxt/dist/nuxt.js
* module in ./node_modules/nuxt/dist/nuxt.js, ./node_modules/vue-server-renderer/build.js and 1 other
* net in ./node_modules/express/lib/request.js
* node-pre-gyp in ./node_modules/fsevents/fsevents.js
* readline in ./node_modules/friendly-errors-webpack-plugin/src/output.js

To install them, you can run: npm install --save fs jsdom module net node-pre-gyp readline

I've gotten this before with earlier versions of nuxt, and usually spend hours trying to get it to work again. I'm confused. It looks like a bunch of server side stuff is attempting to be run in the browser, and I really didn't want that in the first place. But these errors all point to internal nuxt/webpack code.

npm install as the directions state also doesn't work. I literally chopped my nuxt config down to an empty object and I still get these errors.

Anyone have suggestions for what to try?

Here is a gist of my dependencies:

https://gist.github.com/bitmage/172666a32d5acca14bb45801bcc3b0e4

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