Static GitHub Issues

[814] child_process & fs module not found

prev: TypeError: Cannot read property 'then' of undefined when "npm run generate"
next: Node is removed during transition from one route to another

Hi Team, We are using our library to fetch the data. Using this library in nuxt, we are getting an issue of child_proccess and fs modules not found while webpack build. But when we add the target: node into your nuxt file, nuxt.js, this error doesn't occur. So, is there any better way or any alternative solution. ?

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