Question

In my local machine on xampp windows i am getting error while run yarn run build command and please find below error:-

$ rimraf dist TypeError: Cannot read property 'useApp' of undefined at R:\xampp7\htdocs\magento231\pwa-studio\packages\extensions\venia-a dobe-data-layer\intercept.js:5:13 at eval (eval at create (R:\xampp7\htdocs\magento231\pwa-studio\node_ modules\tapable\lib\HookCodeFactory.js:74:10), :17:1) at new Promise () at AsyncSeriesHook.eval [as promise] (eval at create (R:\xampp7\htdocs\magento231\pwa-studio\node_modules\tapable\lib\HookCodeFactory.js:74:10), :4:8) at AsyncSeriesHook.lazyCompileHook (R:\xampp7\htdocs\magento231\pwa-s tudio\node_modules\tapable\lib\Hook.js:154:20) at Target.promise (R:\xampp7\htdocs\magento231\pwa-studio\packages\pw a-buildpack\lib\BuildBus\Target.js:135:30) at HookInterceptorSet.runAll (R:\xampp7\htdocs\magento231\pwa-studio
packages\peregrine\lib\targets\HookInterceptorSet.js:96:28) at processTicksAndRejections (internal/process/task_queues.js:93:5) at async R:\xampp7\htdocs\magento231\pwa-studio\packages\peregrine\li b\targets\peregrine-intercept.js:36:17 at async Promise.all (index 1) at async R:\xampp7\htdocs\magento231\pwa-studio\packages\peregrine\li b\targets\peregrine-intercept.js:28:9 error Command failed with exit code 1.

No correct solution

Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange
scroll top