Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to install, suspect dependency issues #4

Open
link-leo opened this issue Jan 12, 2024 · 0 comments
Open

Unable to install, suspect dependency issues #4

link-leo opened this issue Jan 12, 2024 · 0 comments

Comments

@link-leo
Copy link

Describe the problem
Installing onto a Yunohost via My Webapp yields dependency issues. Attempting to add to package.json doesn't resolve.

What should be changed
I have no idea, but perhaps update the package.json?

Additional context
Here is the output from my shell session:

root@my_ynh:/var/www/my_webapp/www# git clone https://github.com/Waboodoo/HTTP-Shortcuts-Editor.git
Cloning into 'HTTP-Shortcuts-Editor'...
remote: Enumerating objects: 601, done.
remote: Counting objects: 100% (14/14), done.
remote: Compressing objects: 100% (9/9), done.
remote: Total 601 (delta 3), reused 9 (delta 3), pack-reused 587
Receiving objects: 100% (601/601), 292.09 KiB | 388.00 KiB/s, done.
Resolving deltas: 100% (322/322), done.
root@my_ynh:/var/www/my_webapp/www# mv HTTP-Shortcuts-Editor/* .
root@my_ynh:/var/www/my_webapp/www# rm -rf HTTP-Shortcuts-Editor/
root@my_ynh:/var/www/my_webapp/www# eza -l
.rw-r--r--   84 root 11 Jan 22:07 babel.config.js
.rw-r--r--   92 root 11 Jan 22:07 jest.config.js
.rw-r--r-- 1.1k root 11 Jan 22:07 LICENSE
.rw-r--r-- 1.4k root 11 Jan 22:07 package.json
drwxr-xr-x    - root 11 Jan 22:07 public
.rw-r--r-- 1.4k root 11 Jan 22:07 README.md
drwxr-xr-x    - root 11 Jan 22:07 src
drwxr-xr-x    - root 11 Jan 22:07 tests
.rw-r--r--  687 root 11 Jan 22:07 tsconfig.json
.rw-r--r--   49 root 11 Jan 22:07 vue.config.js
.rw-r--r-- 469k root 11 Jan 22:07 yarn.lock
root@my_ynh:/var/www/my_webapp/www# yarn install
yarn install v1.22.19
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
warning "@vue/eslint-config-airbnb > [email protected]" has unmet peer dependency "webpack@>=1.11.0".
warning " > [email protected]" has unmet peer dependency "webpack@^4.36.0 || ^5.0.0".
[4/4] Building fresh packages...
Done in 22.67s.
root@my_ynh:/var/www/my_webapp/www# yarn build
yarn run v1.22.19
$ vue-cli-service build

⠙  Building for production...Starting type checking service...
Using 1 worker with 2048MB memory limit
⠹  Building for production...

 ERROR  Failed to compile with 1 errors                                                                      10:09:24 PM

 error  in ./src/main.ts

Module build failed (from ./node_modules/thread-loader/dist/cjs.js):
Thread Loader (Worker 0)
Failed to load config "plugin:vue/vue3-essential" to extend from.
Referenced from: /var/www/my_webapp/www/.eslintrc.json
    at PoolWorker.fromErrorObj (/var/www/my_webapp/www/node_modules/thread-loader/dist/WorkerPool.js:262:12)
    at /var/www/my_webapp/www/node_modules/thread-loader/dist/WorkerPool.js:204:29
    at configMissingError (/var/www/my_webapp/www/node_modules/eslint/lib/cli-engine/config-array-factory.js:265:9)
    at ConfigArrayFactory._loadExtendedPluginConfig (/var/www/my_webapp/www/node_modules/eslint/lib/cli-engine/config-array-factory.js:792:31)
    at ConfigArrayFactory._loadExtends (/var/www/my_webapp/www/node_modules/eslint/lib/cli-engine/config-array-factory.js:725:29)
    at ConfigArrayFactory._normalizeObjectConfigDataBody (/var/www/my_webapp/www/node_modules/eslint/lib/cli-engine/config-array-factory.js:660:25)
    at _normalizeObjectConfigDataBody.next (<anonymous>)
    at ConfigArrayFactory._normalizeObjectConfigData (/var/www/my_webapp/www/node_modules/eslint/lib/cli-engine/config-array-factory.js:596:20)
    at _normalizeObjectConfigData.next (<anonymous>)
    at createConfigArray (/var/www/my_webapp/www/node_modules/eslint/lib/cli-engine/config-array-factory.js:340:25)
    at ConfigArrayFactory.loadInDirectory (/var/www/my_webapp/www/node_modules/eslint/lib/cli-engine/config-array-factory.js:433:16)
    at CascadingConfigArrayFactory._loadConfigInAncestors (/var/www/my_webapp/www/node_modules/eslint/lib/cli-engine/cascading-config-array-factory.js:328:46)

 @ multi ./src/main.ts

 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.
root@my_ynh:/var/www/my_webapp/www# yarn -v
1.22.19
root@my_ynh:/var/www/my_webapp/www# npm -v
10.2.3
root@my_ynh:/var/www/my_webapp/www# node -v
v18.19.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant