meshtastic / network-management-client

A Meshtastic desktop client, allowing simple, offline deployment and administration of an ad-hoc mesh communication network. Built in Rust and TypeScript.
GNU General Public License v3.0
174 stars 14 forks source link

@meshtastic/eslint-config gives 404 during build #441

Closed chron0 closed 9 months ago

chron0 commented 9 months ago

ahoy, when I try to to run pnpm i i get a 404 on @meshtastic/eslint-config and cant find it in the npm repo at all. Am I doing something totally wrong here or is it gone AWOL?

sachaw commented 9 months ago

I'll get to fixing this tomorrow, I'm going to cleanup the linting and formatting and move it over to Biome.js as I have done with the other repos.

jonasdiemer commented 9 months ago

Hi. Any news on this? Just ran into the same issue.

Workaround for people struggling: remove references to @meshtastic/eslint-config from package.json (and pnpm.lock?):

diff --git a/package.json b/package.json
index 96305e0..68104c4 100644
--- a/package.json
+++ b/package.json
@@ -75,7 +75,6 @@
     "uuid": "^9.0.0"
   },
   "devDependencies": {
-    "@meshtastic/eslint-config": "^1.0.8",
     "@tauri-apps/cli": "^1.1.1",
     "@types/jest": "^29.2.0",
     "@types/lodash.clonedeep": "^4.5.7",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 4b97223..a4185fc 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -174,9 +174,9 @@ dependencies:
     version: 9.0.0

 devDependencies:
-  '@meshtastic/eslint-config':
-    specifier: ^1.0.8
-    version: 1.0.8
+  #  '@meshtastic/eslint-config':
+  # specifier: ^1.0.8
+  # version: 1.0.8
   '@tauri-apps/cli':
     specifier: ^1.1.1
     version: 1.1.1
sachaw commented 9 months ago

Yeah, there's an open PR

sachaw commented 9 months ago

Fixed