When I am Integrating redmine with the frontend the node package manager is not building it with npm run build
command. There is a following error. Installation with docker:
ERROR Failed to compile with 1 errors 1:56:46 PM
This dependency was not found:
* @/services/resource/priority.service.js in ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./app/vendor_modules/Gitlab/RedmineFrontendIntegration/components/EditInstance.vue?vue&type=script&lang=js&
To install it, you can run: npm install --save @/services/resource/priority.service.js
ERROR Error: ENOENT: no such file or directory, open '/app/frontend/dist/cattr.manifest'
Error: ENOENT: no such file or directory, open '/app/frontend/dist/cattr.manifest'
at Object.openSync (fs.js:440:3)
at writeFileSync (fs.js:1265:35)
at /app/frontend/webpack/CattrWebpackPlugin.js:65:13
at AsyncSeriesHook.eval [as callAsync] (eval at create (/app/frontend/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:27:1)
at AsyncSeriesHook.lazyCompileHook (/app/frontend/node_modules/tapable/lib/Hook.js:154:20)
at onCompiled (/app/frontend/node_modules/webpack/lib/Compiler.js:271:21)
at /app/frontend/node_modules/webpack/lib/Compiler.js:681:15
at AsyncSeriesHook.eval [as callAsync] (eval at create (/app/frontend/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:6:1)
at AsyncSeriesHook.lazyCompileHook (/app/frontend/node_modules/tapable/lib/Hook.js:154:20)
at /app/frontend/node_modules/webpack/lib/Compiler.js:678:31
at AsyncSeriesHook.eval [as callAsync] (eval at create (/app/frontend/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:6:1)
at AsyncSeriesHook.lazyCompileHook (/app/frontend/node_modules/tapable/lib/Hook.js:154:20)
at /app/frontend/node_modules/webpack/lib/Compilation.js:1423:35
at AsyncSeriesHook.eval [as callAsync] (eval at create (/app/frontend/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:6:1)
at AsyncSeriesHook.lazyCompileHook (/app/frontend/node_modules/tapable/lib/Hook.js:154:20)
at /app/frontend/node_modules/webpack/lib/Compilation.js:1414:32
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @amazingcat/cattr-frontend@3.4.3 build: `vue-cli-service build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @amazingcat/cattr-frontend@3.4.3 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2021-09-13T13_56_46_981Z-debug.log