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

Update dependencies? #13

Open
audiomuze opened this issue Jan 17, 2023 · 6 comments
Open

Update dependencies? #13

audiomuze opened this issue Jan 17, 2023 · 6 comments

Comments

@audiomuze
Copy link

image

# npm resolution error report

2023-01-17T17:34:26.712Z

While resolving: orpheus@0.0.2
Found: vite@4.0.4
node_modules/vite
  dev vite@"^4.0.2" from the root project

Could not resolve dependency:
peer vite@"^2.5.0 || ^3.0.0-0" from vite-plugin-vue-layouts@0.7.0
node_modules/vite-plugin-vue-layouts
  dev vite-plugin-vue-layouts@"^0.7.0" from the root project

Fix the upstream dependency conflict, or retry
this command with --force, or --legacy-peer-deps
to accept an incorrect (and potentially broken) dependency resolution.

Raw JSON explanation object:

{
  "code": "ERESOLVE",
  "current": {
    "name": "vite",
    "version": "4.0.4",
    "whileInstalling": {
      "name": "orpheus",
      "version": "0.0.2",
      "path": "/home/x/git/Deaftone/Orpheus"
    },
    "location": "node_modules/vite",
    "isWorkspace": false,
    "dependents": [
      {
        "type": "dev",
        "name": "vite",
        "spec": "^4.0.2",
        "from": {
          "location": "/home/x/git/Deaftone/Orpheus"
        }
      }
    ]
  },
  "currentEdge": {
    "type": "dev",
    "name": "vite",
    "spec": "^4.0.2",
    "from": {
      "location": "/home/x/git/Deaftone/Orpheus"
    }
  },
  "edge": {
    "type": "peer",
    "name": "vite",
    "spec": "^2.5.0 || ^3.0.0-0",
    "error": "INVALID",
    "from": {
      "name": "vite-plugin-vue-layouts",
      "version": "0.7.0",
      "whileInstalling": {
        "name": "orpheus",
        "version": "0.0.2",
        "path": "/home/x/git/Deaftone/Orpheus"
      },
      "location": "node_modules/vite-plugin-vue-layouts",
      "isWorkspace": false,
      "dependents": [
        {
          "type": "dev",
          "name": "vite-plugin-vue-layouts",
          "spec": "^0.7.0",
          "from": {
            "location": "/home/x/git/Deaftone/Orpheus"
          }
        }
      ]
    }
  },
  "strictPeerDeps": false,
  "force": false
}
@112RG
Copy link
Collaborator

112RG commented Jan 18, 2023

Ah sorry I forgot to mention this in the readme. But you must use pnpm to install the deps for Orpheus since the deps vite-plugin-vue-layouts hasn't been updated to allow vite v4 JohnCampionJr/vite-plugin-vue-layouts#86

@112RG 112RG closed this as completed Jan 20, 2023
@audiomuze
Copy link
Author

pnpm i
npm run dev

yields:

    Finished dev [unoptimized + debuginfo] target(s) in 1m 11s
[0] thread 'main' panicked at 'Unsupported platform!: UnsupportedPlatform', src/main.rs:28:33
[0] note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[0] 🚀 A new version of Tauri CLI is available! [1.2.3]
[0] npx tauri dev exited with code 101
--> Sending SIGTERM to other processes..
[1] npm run devtools exited with code SIGTERM

@112RG
Copy link
Collaborator

112RG commented Jan 22, 2023

Sorry should work now using

@112RG 112RG reopened this Jan 22, 2023
@audiomuze
Copy link
Author

audiomuze commented Jan 22, 2023

This from the client gui:

Error! Failed to connect to server. invalid value: string "", expected relative URL without a base

@112RG
Copy link
Collaborator

112RG commented Jan 22, 2023

I am guessing you didn't put anything in the server url on startup the text in there is just a placeholder. You can use a release on the sidebar too instead of master since I break it often

@audiomuze
Copy link
Author

I am guessing you didn't put anything in the server url on startup the text in there is just a placeholder

Didn't seem to be any ability to edit the placeholder string.

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

2 participants