-
Notifications
You must be signed in to change notification settings - Fork 374
Closed
Description
Since some time (to be exact, since last two merges), automatic deployment of gh-pages is failing.
The error from logs look like this:
yarn run v1.22.5
$ vue-cli-service build
- Building for production...
ERROR Failed to compile with 1 errors12:31:11 PM
This relative module was not found:
* ../../public/nameDB.json 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/Grid.vue?vue&type=script&lang=js&
ERROR Build failed with errors.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
##[error]Process completed with exit code 1.
Possible reasons:
- outdated package or any compatibility issues
- not considering case sensitive package names
Possible Resolution
I don't know much but what I found is that following methods might solve this (not sure):
Reference : vuejs/vue-cli#439
rm -rf node_modules
npm install
or
npm i -g npm-check-updates
npm-check-updates -u
npm install
These might help resolve package issues if there would be any.
Also @Janglee123 why are we not using npm instead of yarn?
Metadata
Metadata
Assignees
Labels
No labels