ergonode / vuems

A simple mechanism to transform a monolithic Vue application into an application based on Micro Services architecture
https://vuems.ergonode.com
Open Software License 3.0
78 stars 9 forks source link

nuxt generate not working #26

Open gldkru opened 3 years ago

gldkru commented 3 years ago

Good afternoon! Thanks for the module

nuxt generate does not create a folder .nuxt therefore, an error occurs when assembly

ERROR in ./node_modules/.cache/nuxt/plugin.modules.js
Module not found: Error: Can't resolve '~/.nuxt/extends.modules' in '/Users/user/Sites/nuxt/issue/vuems-issue/node_modules/.cache/nuxt'
 @ ./node_modules/.cache/nuxt/plugin.modules.js 20:0-53 24:39-53 27:16-30
 @ ./node_modules/.cache/nuxt/index.js
 @ ./node_modules/.cache/nuxt/client.js
 @ multi ./node_modules/@nuxt/components/lib/installComponents.js ./node_modules/.cache/nuxt/client.js

ERROR in ./router.js
Module not found: Error: Can't resolve '~/.nuxt/routerHelper.modules' in '/Users/user/Sites/nuxt/issue/vuems-issue'
 @ ./router.js 3:0-76 9:12-24 10:20-34
 @ ./node_modules/.cache/nuxt/router.js
 @ ./node_modules/.cache/nuxt/index.js
 @ ./node_modules/.cache/nuxt/client.js
 @ multi ./node_modules/@nuxt/components/lib/installComponents.js ./node_modules/.cache/nuxt/client.js

nuxt build && nuxt generate is working

Repo: https://github.com/gldkru/vuems-issue

bleto commented 3 years ago

Thanks for reporting :)

With the current version of the package I didn't focus on the nuxt generate command.

I will try to look into it and add support for it.

bedorn commented 2 years ago

Is there a fix coming soon? @gldkru Did you find a workaround?