Build fails with the following errors:
PS C:\Users\graha\OneDrive\jsTest\PacktPup\UI-Testing-with-Puppeteer\Chapter3\init\vuejs-firebase-shopping-cart> npm run build
C:\Users\graha\OneDrive\jsTest\PacktPup\UI-Testing-with-Puppeteer\Chapter3\init\vuejs-firebase-shopping-cart\node_modules\@vue\cli-service\bin\vue-cli-service.js
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:985:15)
at Function.Module._load (node:internal/modules/cjs/loader:833:27)
at Module.require (node:internal/modules/cjs/loader:1057:19)
at require (node:internal/modules/cjs/helpers:103:18)
at Object. (C:\Users\graha\OneDrive\jsTest\PacktPup\UI-Testing-with-Puppeteer\Chapter3\init\vuejs-firebase-shopping-cart\node_modules\color-convert\index.js:2:13)
at Module._compile (node:internal/modules/cjs/loader:1155:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1209:10)
at Module.load (node:internal/modules/cjs/loader:1033:32)
at Function.Module._load (node:internal/modules/cjs/loader:868:12)
at Module.require (node:internal/modules/cjs/loader:1057:19) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'C:\Users\graha\OneDrive\jsTest\PacktPup\UI-Testing-with-Puppeteer\Chapter3\init\vuejs-firebase-shopping-cart\node_modules\color-convert\index.js',
'C:\Users\graha\OneDrive\jsTest\PacktPup\UI-Testing-with-Puppeteer\Chapter3\init\vuejs-firebase-shopping-cart\node_modules\ansi-styles\index.js',
'C:\Users\graha\OneDrive\jsTest\PacktPup\UI-Testing-with-Puppeteer\Chapter3\init\vuejs-firebase-shopping-cart\node_modules\chalk\index.js',
'C:\Users\graha\OneDrive\jsTest\PacktPup\UI-Testing-with-Puppeteer\Chapter3\init\vuejs-firebase-shopping-cart\node_modules\@vue\cli-shared-utils\lib\logger.js',
'C:\Users\graha\OneDrive\jsTest\PacktPup\UI-Testing-with-Puppeteer\Chapter3\init\vuejs-firebase-shopping-cart\node_modules\@vue\cli-shared-utils\index.js',
'C:\Users\graha\OneDrive\jsTest\PacktPup\UI-Testing-with-Puppeteer\Chapter3\init\vuejs-firebase-shopping-cart\node_modules\@vue\cli-service\bin\vue-cli-service.js'
]
}
PS C:\Users\graha\OneDrive\jsTest\PacktPup\UI-Testing-with-Puppeteer\Chapter3\init\vuejs-firebase-shopping-cart>
Build fails with the following errors: PS C:\Users\graha\OneDrive\jsTest\PacktPup\UI-Testing-with-Puppeteer\Chapter3\init\vuejs-firebase-shopping-cart> npm run build
node:internal/modules/cjs/loader:988 throw err; ^
Error: Cannot find module './route' Require stack:
'C:\Users\graha\OneDrive\jsTest\PacktPup\UI-Testing-with-Puppeteer\Chapter3\init\vuejs-firebase-shopping-cart\node_modules\@vue\cli-shared-utils\lib\logger.js', 'C:\Users\graha\OneDrive\jsTest\PacktPup\UI-Testing-with-Puppeteer\Chapter3\init\vuejs-firebase-shopping-cart\node_modules\@vue\cli-shared-utils\index.js', 'C:\Users\graha\OneDrive\jsTest\PacktPup\UI-Testing-with-Puppeteer\Chapter3\init\vuejs-firebase-shopping-cart\node_modules\@vue\cli-service\bin\vue-cli-service.js' ] } PS C:\Users\graha\OneDrive\jsTest\PacktPup\UI-Testing-with-Puppeteer\Chapter3\init\vuejs-firebase-shopping-cart>