nuxt-payload-extractor icon indicating copy to clipboard operation
nuxt-payload-extractor copied to clipboard

Stops working with update to 1.1.0. Cannot find ./helpers

Open qmolab opened this issue 4 years ago • 1 comments

After update, this module no longer works and I get this error each time. The ./helpers file is in the node_modules/nuxt-payload-extractor/lib/... but it does not get extracted by nuxt and I keep getting this error.

ERROR in ./.nuxt/lib.plugin.82602734.js Module not found: Error: Can't resolve './helpers' in 'C:\Users\evers\qmolab.nuxt' @ ./.nuxt/lib.plugin.82602734.js 1:0-43 7:19-33 @ ./.nuxt/index.js @ ./.nuxt/client.js @ multi ./.nuxt/client.js

FATAL Nuxt build error 13:12:56

at WebpackBundler.webpackCompile (node_modules@nuxt\webpack\dist\webpack.js:5351:21) at processTicksAndRejections (internal/process/task_queues.js:97:5) at async WebpackBundler.build (node_modules@nuxt\webpack\dist\webpack.js:5300:5) at async Builder.build (node_modules@nuxt\builder\dist\builder.js:5602:5) at async Generator.initiate (node_modules@nuxt\generator\dist\generator.js:70:7) at async Generator.generate (node_modules@nuxt\generator\dist\generator.js:40:5) at async Object.run (node_modules@nuxt\cli\dist\cli-generate.js:107:24) at async NuxtCommand.run (node_modules@nuxt\cli\dist\cli-index.js:2759:7)

qmolab avatar Jun 17 '20 20:06 qmolab

Thank you for the report. But I can't reproduce. I had this error until this line was added: https://github.com/DreaMinder/nuxt-payload-extractor/blob/master/lib/module.js#L82

You are getting this error on build stage, right? With latest Nuxt version?

DreaMinder avatar Jun 17 '20 22:06 DreaMinder