Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error Cannot read property 'tapAsync' of undefined #18

Open
tezine opened this issue Jul 13, 2020 · 1 comment
Open

Error Cannot read property 'tapAsync' of undefined #18

tezine opened this issue Jul 13, 2020 · 1 comment

Comments

@tezine
Copy link

tezine commented Jul 13, 2020

Hello, I just tried to test the sample provided in https://ara-framework.github.io/website/blog/2019/09/14/lazy-loading-micro-frontend, but after editing the nuxt.config.js, whenever I start the nuxt app, I get the following errors below:

 ERROR  Cannot read property 'tapAsync' of undefined                                                                                                                                                                     14:14:18

  at node_modules\@ara\webpack-nova-consumer\index.js:42:61
  at SyncHook.eval [as call] (eval at create (node_modules\tapable\lib\HookCodeFactory.js:19:10), <anonymous>:13:1)
  at SyncHook.lazyCompileHook (node_modules\tapable\lib\Hook.js:154:20)
  at Compiler.newCompilation (node_modules\webpack\lib\Compiler.js:631:26)
  at node_modules\webpack\lib\Compiler.js:667:29
  at AsyncSeriesHook.eval [as callAsync] (eval at create (node_modules\tapable\lib\HookCodeFactory.js:33:10), <anonymous>:4:1)
  at AsyncSeriesHook.lazyCompileHook (node_modules\tapable\lib\Hook.js:154:20)
  at Compiler.compile (node_modules\webpack\lib\Compiler.js:662:28)
  at node_modules\webpack\lib\Watching.js:77:18
  at _next1 (eval at create (node_modules\tapable\lib\HookCodeFactory.js:33:10), <anonymous>:23:1)
  at eval (eval at create (node_modules\tapable\lib\HookCodeFactory.js:33:10), <anonymous>:41:1)
  at watchRun (node_modules\fork-ts-checker-webpack-plugin\lib\index.js:208:13)
  at AsyncSeriesHook.eval [as callAsync] (eval at create (node_modules\tapable\lib\HookCodeFactory.js:33:10), <anonymous>:37:1)

The only modification I did was to use typescript instead of javascript.
Any ideas why this is happening?

@daniloraisi
Copy link

I'm trying to do the same, but with Javascript. I got the same error under Nuxt.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants