- Go to
nuxt.new
- Create a new nuxt-module using the starter -> codesandbox or stackblitz
- Run
npm i && npm dev:prepare
- See error in the in the following details:
stackblitz error

codesandbox error

Solution
I lack of knowledge to know the reason why it fails, but it seems the problem is with addPlugin(resolver.resolve('./runtime/plugin'));
https://stackblitz.com/edit/github-fefin6wf?file=tsconfig.json
Let me know if I am doing something wrong!
nuxt.newnpm i && npm dev:preparestackblitz error
codesandbox error
Solution
I lack of knowledge to know the reason why it fails, but it seems the problem is with
addPlugin(resolver.resolve('./runtime/plugin'));https://stackblitz.com/edit/github-fefin6wf?file=tsconfig.json
Let me know if I am doing something wrong!