mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-05-21 03:39:54 +00:00
c30550c552
This also stabilizes markdown code/table block spacing and adds root-install guards so desktop dev runs use a healthy workspace dependency tree.
14 lines
294 B
JavaScript
14 lines
294 B
JavaScript
"use strict"
|
|
|
|
const fs = require("fs")
|
|
const path = require("path")
|
|
|
|
const root = path.resolve(__dirname, "..", "..", "..")
|
|
|
|
try {
|
|
fs.accessSync(path.join(root, "node_modules", "vite", "package.json"))
|
|
} catch {
|
|
console.error(`Run from repo root: cd ${root} && npm ci`)
|
|
process.exit(1)
|
|
}
|