-
Notifications
You must be signed in to change notification settings - Fork 18
Description
Describe the bug
npm build of ./source/website fails with the following error
$: npm run build
AWS_Content_Localization@0.1.0 build
vue-cli-service build
⠧ Building for production...
ERROR Failed to compile with 1 error
This dependency was not found:
* @/../node_modules/videojs-hotkeys/build/videojs.hotkeys.min.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-loader/lib??vue-loader-options!./src/components/VideoPlayer.vue?vue&type=script&lang=js&
To install it, you can run: npm install --save @/../node_modules/videojs-hotkeys/build/videojs.hotkeys.min.js
ERROR Build failed with errors.
To Reproduce
cd ./source/website
npm i
npm run build
Expected behavior
it actually builds
Please complete the following information about the solution:
-
Version: v2.0.0
-
Region: not applicable, the bug is with the front-end build
-
Was the solution modified from the version published on this repository? no
-
If the answer to the previous question was yes, are the changes available on GitHub?
-
Have you checked your [service quotas] (https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html) for the sevices this solution uses? not applicable
-
Were there any errors in the CloudWatch Logs? not applicable
Screenshots
If applicable, add screenshots to help explain your problem (please DO NOT include sensitive information).
Additional context
Tested build on Node 16.13.0 on both macOS and Cloud9 AmazonLinux 2.0