open-index/open-npm huggingface dataset:
npm package: @rlj/salary-mcp
Description: MCP server for using the salary Web API
Latest version: 0.0.28

# salary-Web MCP Server

salary-Web 是基于 MCP 协议的 AI 智能体工资条管理工具。作为企业薪酬场景的基础服务能力，支持各类智能体应用安全、便捷地接入工资条管理能力。平台通过标准化接口，向
LLM、Agent 等智能体开放工资条全流程服务，具备高度通用性和可扩展性。

## 应用场景

在未使用薪酬 MCP之前，某中型科技公司的 HR 需要登录到智能薪酬系统中手动查询员工的薪酬数据，并查看各种报表来整理数据进行分析。这个过程耗时且复杂。接入智能薪酬的 MCP 系统后，HR 可以通过集成的AI 智能体中在本地对薪酬数据和其他经营数据进行分析。AI 能够自助分析数据，快速查询所需的成本数据，帮助 HR 迅速获取人力成本的全面视图和深入洞察。这一功能支持 HR 进行决策优化，提升薪酬管理的精准性和效率，确保企业薪酬管理的合规性和智能化升级。

## 功能特点

- **深度数据洞察**：通过智能分析工具，轻松获取薪资组的全面信息。支持按名字查询薪资组列表，按薪资组 ID 获取详细的算薪人数、人力成本、应发和实发工资等关键数据。借助这些洞察，企业可以精准掌控薪酬结构，优化资源配置，提升决策效率。
- **高效的核算薪资流程**：轻松导出个税表和银行表，确保薪资核算的准确性和合规性。
- **智能工资条操作**：实时查看工资条发送确认情况，支持通过薪资组生成工资条、Excel 上传及发送本月工资条。
- **强大的报表功能**：提供人力成本统计报表、薪酬看板和成本看板，助力企业掌握全局，优化资源配置。

##  3.使用和配置
要使用工具的能力，你需要先成为钉钉智能薪酬的用户

在 Cursor 和 Cline中配置

```
{
  "mcpServers": {
    "salary-web": {
      "args": [
        "-y",
        "@rlj/salary-mcp@latest"
      ],
      "command": "npx",
      "env": {
        "ENV": "test",
        "AI_MCP_Rlj_N": "eyJraWQiOiJhYTcwMjQ5YS0zNTQ3LTRjZjYtYjBiZC0yMzNiNmYwYTZkOGEiLCJhbGciOiJSUzI1NiJ9.eyJleHAiOjIxMTAyMzM3NjEsInN1YiI6IntcImlkXCI6XCJzaWRfYmYyODRiZGMwMGViNDFlYjkwMWM3ODA4NDAwNTI1NTBcIixcInNlc3Npb25BdHRyc1wiOntcIl9MT0dJTl9USU1FXCI6MTc1MDIzMzc1MzQyNyxcIl9MT0dJTl9DTElFTlRcIjpcIk9BXCIsXCJKX0dMT0JBTF9VU0VSX0tFWVwiOntcImNvcnBJZFwiOlwiZGluZzRjN2MzMTFhNzAxODUxYWMzNWMyZjQ2NTdlYjYzNzhmXCIsXCJ1c2VySWRcIjpcIjI0MjE0NTUxMjUyODUwNFwifSxcIkpfVVNFUl9LRVlcIjp7XCJjb3JwSWRcIjpcImRpbmc0YzdjMzExYTcwMTg1MWFjMzVjMmY0NjU3ZWI2Mzc4ZlwiLFwibG9naW5BcHBcIjpcIlNBTEFSWVwiLFwibmFtZVwiOlwi5r2Y5oyv6LaFXCIsXCJyb2xlc1wiOltcImFkbWluXCJdLFwidXNlcklkXCI6XCIyNDIxNDU1MTI1Mjg1MDRcIn0sXCJfTE9HSU5fQVBQXCI6XCJTQUxBUllcIn0sXCJ0XCI6MTc1MDIzMzc2MTA5Nn0ifQ.mG7grvARaY80Fg27GUz1XH2OTDN-atTlaTjGuBkNF33tPoqYrRgosrphBGoqwf4uNwJtpu7jmQ0jI8E42jj2fQO_Aq1bQcj4YyKiCE-f8i0crRT47XGe6FoEzt6pwNiNFvdglNlXdCs2Gx--IazMiDIjwPUicpzZcLi6K02BweukjUCXnD6GHdSvvkJOPV6PIPO5FxGr7647MhY2ySw7kuIiw3xGRq2IFrI3PskF37fK2yGmKIhYpCQxnPVyYtysLhg000Tk-PToeNcrOsEEuu3RlBaST43ra9kFYbc6lyDUhwzfkaGjz4zc3kVVb1xfDQyKwW_Nn22VVvvbnln0jw"
      }
    }
  }
}

```
npm package: @rlj1202/concat-writable-streams
Description: Concatenates multiple writable streams into a single ordered one
Author: Jisu Sim
Latest version: 0.1.1

# @rlj1202/concat-writable-streams

[![Test](https://github.com/rlj1202/concat-writable-streams/actions/workflows/test.yml/badge.svg?branch=main)](https://github.com/rlj1202/concat-writable-streams/actions/workflows/test.yml)

Concatenates multiple writable streams into a single ordered one
npm package: @rljson/bs
Description: Blob storage interface and implementations for rljson
Latest version: 0.0.22

<!--
@license
Copyright (c) 2025 Rljson

Use of this source code is governed by terms that can be
found in the LICENSE file in the root of this package.
-->

# Trouble shooting

## Table of contents <!-- omit in toc -->

- [Vscode Windows: Debugging is not working](#vscode-windows-debugging-is-not-working)

## Vscode Windows: Debugging is not working

Date: 2025-03-08

⚠️ IMPORTANT: On Windows, please check out the repo on drive C. There is a bug
in the VS Code Vitest extension (v1.14.4), which prevents test debugging from
working: <https://github.com/vitest-dev/vscode/issues/548> Please check from
time to time if the issue has been fixed and remove this note once it is
resolved.
npm package: @rljson/bs-fs
Description: Rljson bs-fs description
Latest version: 0.0.1

<!--
@license
Copyright (c) 2025 Rljson

Use of this source code is governed by terms that can be
found in the LICENSE file in the root of this package.
-->

# Trouble shooting

## Table of contents <!-- omit in toc -->

- [Vscode Windows: Debugging is not working](#vscode-windows-debugging-is-not-working)

## Vscode Windows: Debugging is not working

Date: 2025-03-08

⚠️ IMPORTANT: On Windows, please check out the repo on drive C. There is a bug
in the VS Code Vitest extension (v1.14.4), which prevents test debugging from
working: <https://github.com/vitest-dev/vscode/issues/548> Please check from
time to time if the issue has been fixed and remove this note once it is
resolved.
npm package: @rljson/cli
Description: The RLJSON command line interface
Latest version: 0.0.10

# Trouble shooting

## Table of contents <!-- omit in toc -->

- [Vscode Windows: Debugging is not working](#vscode-windows-debugging-is-not-working)
- [GitHub actions: Cannot find module @rollup/rollup-linux-x64-gnu](#github-actions-cannot-find-module-rolluprollup-linux-x64-gnu)

## Vscode Windows: Debugging is not working

Date: 2025-03-08

⚠️ IMPORTANT: On Windows, please check out the repo on drive C. There is a bug
in the VS Code Vitest extension (v1.14.4), which prevents test debugging from
working: <https://github.com/vitest-dev/vscode/issues/548> Please check from
time to time if the issue has been fixed and remove this note once it is
resolved.

## GitHub actions: Cannot find module @rollup/rollup-linux-x64-gnu

⚠️ Error: Cannot find module @rollup/rollup-linux-x64-gnu. npm has a bug related to
optional dependencies (<https://github.com/npm/cli/issues/4828>). Please try `npm
i` again after removing both package-lock.json and node_modules directory.

Solution:

```bash
rm -rf node_modules
rm package-lock.json
npm install
```

Then push `package-lock.yaml` again
npm package: @rljson/converter
Description: Convert flat textual data i. e. from JSON or XML into RLJSON data structure and data itself automatically.
Latest version: 0.0.35

<!--
@license
Copyright (c) 2025 Rljson

Use of this source code is governed by terms that can be
found in the LICENSE file in the root of this package.
-->

# Trouble shooting

## Table of contents <!-- omit in toc -->

- [Vscode Windows: Debugging is not working](#vscode-windows-debugging-is-not-working)

## Vscode Windows: Debugging is not working

Date: 2025-03-08

⚠️ IMPORTANT: On Windows, please check out the repo on drive C. There is a bug
in the VS Code Vitest extension (v1.14.4), which prevents test debugging from
working: <https://github.com/vitest-dev/vscode/issues/548> Please check from
time to time if the issue has been fixed and remove this note once it is
resolved.
npm package: @rljson/db
Description: A high level interface to read and write RLJSON data from and into a database
Latest version: 0.0.19

<!--

-->

# Trouble shooting

## Table of contents <!-- omit in toc -->

- [Tree INSERT operations failing with empty results](#tree-insert-operations-failing-with-empty-results)
- [Vscode Windows: Debugging is not working](#vscode-windows-debugging-is-not-working)
- [GitHub actions: Cannot find module @rollup/rollup-linux-x64-gnu](#github-actions-cannot-find-module-rolluprollup-linux-x64-gnu)

## Tree INSERT operations failing with empty results

Date: 2026-01-28

### Symptoms

- Tree INSERT operations complete without errors
- GET queries after INSERT return empty results or only root node
- Cell length is 1 instead of expected count
- Navigation stops at root level

### Root Cause

The `treeFromObject` function from `@rljson/rljson` v0.0.74+ creates an explicit root node with `id='root'` at the end of the tree array. When inserting an already-isolated subtree (from `isolate()`), this created a double-root structure:

```
Auto-root (id='root')
  └─ User-root (id='root')
       └─ actual data nodes
```

When `TreeController` navigates the tree, it stops at the first node with `id='root'` (the auto-root), which has no meaningful data.

### Solution

✅ **Fixed in current version**: The `db.ts` file now calls `treeFromObject` with `skipRootCreation: true` parameter:

```typescript
const trees = treeFromObject(treeObject, true);
```

This prevents the automatic root wrapper from being created during INSERT operations.

### Verification

Run the tree INSERT tests:

```bash
pnpm test --run --grep "insert on tree"
```

All tree INSERT tests should pass:

- "insert on tree root node"
- "insert on tree deeper leaf"
- "insert on tree simple branch"
- "insert new child on branch"

## Vscode Windows: Debugging is not working

Date: 2025-03-08

⚠️ IMPORTANT: On Windows, please check out the repo on drive C. There is a bug
in the VS Code Vitest extension (v1.14.4), which prevents test debugging from
working: <https://github.com/vitest-dev/vscode/issues/548> Please check from
time to time if the issue has been fixed and remove this note once it is
resolved.

## GitHub actions: Cannot find module @rollup/rollup-linux-x64-gnu

⚠️ Error: Cannot find module @rollup/rollup-linux-x64-gnu. npm has a bug related to
optional dependencies (<https://github.com/npm/cli/issues/4828>). Please try `npm
i` again after removing both package-lock.json and node_modules directory.

Solution:

```bash
rm -rf node_modules
rm package-lock.json
npm install
```

Then push `package-lock.yaml` again
npm package: @rljson/fs-agent
Description: Rljson fs-agent description
Latest version: 0.0.11

<!--
@license
Copyright (c) 2025 Rljson

Use of this source code is governed by terms that can be
found in the LICENSE file in the root of this package.
-->

# Trouble shooting

## Table of contents <!-- omit in toc -->

- [Vscode Windows: Debugging is not working](#vscode-windows-debugging-is-not-working)

## Vscode Windows: Debugging is not working

Date: 2025-03-08

⚠️ IMPORTANT: On Windows, please check out the repo on drive C. There is a bug
in the VS Code Vitest extension (v1.14.4), which prevents test debugging from
working: <https://github.com/vitest-dev/vscode/issues/548> Please check from
time to time if the issue has been fixed and remove this note once it is
resolved.
npm package: @rljson/hash
Description: Deeply apply hashes to JSON data
Latest version: 0.0.18

# @rljson/hash

`@rljson/hash` is a lightweight package designed to traverse JSON data
structures and add unique hash identifiers to all objects within them.

![teaser.webp](https://github.com/rljson/hash/raw/main/teaser.webp)

## Motivation

Hashing nested JSON objects makes sense for several key reasons:

- **Change Detection**: By generating a unique hash for each object, you can easily
  detect changes in complex data structures without manually comparing all
  fields.
- **Efficient Synchronization**: Hashes allow systems to sync only modified or new
  data, reducing bandwidth and improving performance.
- **Cache Management**: Hashes act as unique keys for caching, enabling quick
  retrieval and ensuring data consistency.
- **Data Integrity**: Hashes verify that nested objects remain unaltered, adding an
  extra layer of security and reliability.
- **Simplified Tracking**: In complex systems, hashes provide a consistent way to
  identify and track objects, even across distributed environments.

## Features

- **Recursive Processing**: Add hashes to nested JSON objects.
- **SHA256** Uses SHA256 algorithm for hashing.
- **Hash truncation** Specify the length of the added hashes.
- **Non-Intrusive**: If desired, add hashes without altering existing data.
- **Floating points**: Assign same hashes to similar floating point numbers

## Example

[src/example.ts](src/example.ts)
npm package: @rljson/io
Description: Low level interface for reading and writing RLJSON data
Latest version: 0.0.68

<!--

-->

# Trouble shooting

## Table of contents <!-- omit in toc -->

- [Vscode Windows: Debugging is not working](#vscode-windows-debugging-is-not-working)
- [GitHub actions: Cannot find module @rollup/rollup-linux-x64-gnu](#github-actions-cannot-find-module-rolluprollup-linux-x64-gnu)

## Vscode Windows: Debugging is not working

Date: 2025-03-08

⚠️ IMPORTANT: On Windows, please check out the repo on drive C. There is a bug
in the VS Code Vitest extension (v1.14.4), which prevents test debugging from
working: <https://github.com/vitest-dev/vscode/issues/548> Please check from
time to time if the issue has been fixed and remove this note once it is
resolved.

## GitHub actions: Cannot find module @rollup/rollup-linux-x64-gnu

⚠️ Error: Cannot find module @rollup/rollup-linux-x64-gnu. npm has a bug related to
optional dependencies (<https://github.com/npm/cli/issues/4828>). Please try `npm
i` again after removing both package-lock.json and node_modules directory.

Solution:

```bash
rm -rf node_modules
rm package-lock.json
npm install
```

Then push `package-lock.yaml` again
npm package: @rljson/io-mssql
Description: Rljson io-mssql description
Latest version: 0.0.26

<!--
@license
Copyright (c) 2025 Rljson

Use of this source code is governed by terms that can be
found in the LICENSE file in the root of this package.
-->

# Trouble shooting

## Table of contents <!-- omit in toc -->

- [Vscode Windows: Debugging is not working](#vscode-windows-debugging-is-not-working)

## Vscode Windows: Debugging is not working

Date: 2025-03-08

⚠️ IMPORTANT: On Windows, please check out the repo on drive C. There is a bug
in the VS Code Vitest extension (v1.14.4), which prevents test debugging from
working: <https://github.com/vitest-dev/vscode/issues/548> Please check from
time to time if the issue has been fixed and remove this note once it is
resolved.
npm package: @rljson/io-sqlite
Description: IoSql rljson files
Latest version: 0.0.18

<!--
@license
Copyright (c) 2025 Rljson

Use of this source code is governed by terms that can be
found in the LICENSE file in the root of this package.
-->

# Trouble shooting

## Table of contents <!-- omit in toc -->

- [Vscode Windows: Debugging is not working](#vscode-windows-debugging-is-not-working)

## Vscode Windows: Debugging is not working

Date: 2025-03-08

⚠️ IMPORTANT: On Windows, please check out the repo on drive C. There is a bug
in the VS Code Vitest extension (v1.14.4), which prevents test debugging from
working: <https://github.com/vitest-dev/vscode/issues/548> Please check from
time to time if the issue has been fixed and remove this note once it is
resolved.
npm package: @rljson/io-sqlite-node
Description: IoSql rljson files
Latest version: 1.0.4

<!--
@license
Copyright (c) 2025 Rljson

Use of this source code is governed by terms that can be
found in the LICENSE file in the root of this package.
-->

# Trouble shooting

## Table of contents <!-- omit in toc -->

- [Vscode Windows: Debugging is not working](#vscode-windows-debugging-is-not-working)

## Vscode Windows: Debugging is not working

Date: 2025-03-08

⚠️ IMPORTANT: On Windows, please check out the repo on drive C. There is a bug
in the VS Code Vitest extension (v1.14.4), which prevents test debugging from
working: <https://github.com/vitest-dev/vscode/issues/548> Please check from
time to time if the issue has been fixed and remove this note once it is
resolved.
npm package: @rljson/io-sqlite-wasm
Description: Rljson io-sqlite-wasm description
Latest version: 0.0.1

<!--
@license
Copyright (c) 2025 Rljson

Use of this source code is governed by terms that can be
found in the LICENSE file in the root of this package.
-->

# Trouble shooting

## Table of contents <!-- omit in toc -->

- [Vscode Windows: Debugging is not working](#vscode-windows-debugging-is-not-working)

## Vscode Windows: Debugging is not working

Date: 2025-03-08

⚠️ IMPORTANT: On Windows, please check out the repo on drive C. There is a bug
in the VS Code Vitest extension (v1.14.4), which prevents test debugging from
working: <https://github.com/vitest-dev/vscode/issues/548> Please check from
time to time if the issue has been fixed and remove this note once it is
resolved.
npm package: @rljson/io-test
Description: Test @rljson/io implementations
Latest version: 0.0.6

# Trouble shooting

## Table of contents <!-- omit in toc -->

- [Vscode Windows: Debugging is not working](#vscode-windows-debugging-is-not-working)
- [GitHub actions: Cannot find module @rollup/rollup-linux-x64-gnu](#github-actions-cannot-find-module-rolluprollup-linux-x64-gnu)

## Vscode Windows: Debugging is not working

Date: 2025-03-08

⚠️ On Windows, please check out the repo on drive C. There is a bug
in the VS Code Vitest extension (v1.14.4), which prevents test debugging from
working: <https://github.com/vitest-dev/vscode/issues/548> Please check from
time to time if the issue has been fixed and remove this note once it is
resolved.

## GitHub actions: Cannot find module @rollup/rollup-linux-x64-gnu

⚠️ Error: Cannot find module @rollup/rollup-linux-x64-gnu. npm has a bug related to
optional dependencies (<https://github.com/npm/cli/issues/4828>). Please try `npm
i` again after removing both package-lock.json and node_modules directory.

Solution:

```bash
rm -rf node_modules
rm package-lock.json
npm install
```

Then push `package-lock.yaml` again
npm package: @rljson/is-ready
Description: Rljson is-ready
Latest version: 0.0.17

<!--
@license
Copyright (c) 2025 Rljson

Use of this source code is governed by terms that can be
found in the LICENSE file in the root of this package.
-->

# Trouble shooting

## Table of contents <!-- omit in toc -->

- [Vscode Windows: Debugging is not working](#vscode-windows-debugging-is-not-working)

## Vscode Windows: Debugging is not working

Date: 2025-03-08

⚠️ IMPORTANT: On Windows, please check out the repo on drive C. There is a bug
in the VS Code Vitest extension (v1.14.4), which prevents test debugging from
working: <https://github.com/vitest-dev/vscode/issues/548> Please check from
time to time if the issue has been fixed and remove this note once it is
resolved.
npm package: @rljson/json
Description: Basic json types, i. e. `Json`, `JsonValue`, `JsonArray`, ...
Latest version: 0.0.23

# Trouble shooting

## Table of contents <!-- omit in toc -->

- [Vscode Windows: Debugging is not working](#vscode-windows-debugging-is-not-working)
- [GitHub actions: Cannot find module @rollup/rollup-linux-x64-gnu](#github-actions-cannot-find-module-rolluprollup-linux-x64-gnu)

## Vscode Windows: Debugging is not working

Date: 2025-03-08

⚠️ IMPORTANT: On Windows, please check out the repo on drive C. There is a bug
in the VS Code Vitest extension (v1.14.4), which prevents test debugging from
working: <https://github.com/vitest-dev/vscode/issues/548> Please check from
time to time if the issue has been fixed and remove this note once it is
resolved.

## GitHub actions: Cannot find module @rollup/rollup-linux-x64-gnu

⚠️ Error: Cannot find module @rollup/rollup-linux-x64-gnu. npm has a bug related to
optional dependencies (<https://github.com/npm/cli/issues/4828>). Please try `npm
i` again after removing both package-lock.json and node_modules directory.

Solution:

```bash
rm -rf node_modules
rm package-lock.json
npm install
```

Then push `package-lock.yaml` again
npm package: @rljson/network
Description: Networking middle layer providing basic advertising and discovery as well as cloud fall backs and basic config.
Latest version: 0.0.14

<!--
@license
Copyright (c) 2025 Rljson

Use of this source code is governed by terms that can be
found in the LICENSE file in the root of this package.
-->

# Trouble shooting

## Table of contents <!-- omit in toc -->

- [Hub election looks correct but clients stay on old hub](#hub-election-looks-correct-but-clients-stay-on-old-hub)
- [Vscode Windows: Debugging is not working](#vscode-windows-debugging-is-not-working)

## Hub election looks correct but clients stay on old hub

Date: 2026-03-20

**Problem:**

NetworkManager correctly emits `hub-changed` when the elected hub changes, but clients in `@rljson/server` stayed connected to the old hub, causing split-brain.

**Root Cause:**

This was NOT a bug in `@rljson/network`. The `hub-changed` event was emitted correctly. The problem was in `@rljson/server`'s Node class which only listened to `role-changed` and ignored `hub-changed`.

**Fix:**

`@rljson/server@0.0.14` — Node now subscribes to both `role-changed` and `hub-changed` events.

**Lesson:**

When debugging topology issues, check both the emitter (`NetworkManager`) and the consumer (`Node`). The event was correct — the listener was missing.

## Vscode Windows: Debugging is not working

Date: 2025-03-08

⚠️ IMPORTANT: On Windows, please check out the repo on drive C. There is a bug
in the VS Code Vitest extension (v1.14.4), which prevents test debugging from
working: <https://github.com/vitest-dev/vscode/issues/548> Please check from
time to time if the issue has been fixed and remove this note once it is
resolved.
npm package: @rljson/rljson
Description: The RLJSON data format specification
Latest version: 0.0.78

<!--
@license
Copyright (c) 2025 Rljson

Use of this source code is governed by terms that can be
found in the LICENSE file in the root of this package.
-->

# Trouble shooting

## Table of contents <!-- omit in toc -->

- [Vscode Windows: Debugging is not working](#vscode-windows-debugging-is-not-working)
- [GitHub actions: Cannot find module @rollup/rollup-linux-x64-gnu](#github-actions-cannot-find-module-rolluprollup-linux-x64-gnu)

## Vscode Windows: Debugging is not working

Date: 2025-03-08

⚠️ IMPORTANT: On Windows, please check out the repo on drive C. There is a bug
in the VS Code Vitest extension (v1.14.4), which prevents test debugging from
working: <https://github.com/vitest-dev/vscode/issues/548> Please check from
time to time if the issue has been fixed and remove this note once it is
resolved.

## GitHub actions: Cannot find module @rollup/rollup-linux-x64-gnu

⚠️ Error: Cannot find module @rollup/rollup-linux-x64-gnu. npm has a bug related to
optional dependencies (<https://github.com/npm/cli/issues/4828>). Please try `npm
i` again after removing both package-lock.json and node_modules directory.

Solution:

```bash
rm -rf node_modules
rm package-lock.json
npm install
```

Then push `package-lock.yaml` again
npm package: @rljson/table
Description: table rljson files
Latest version: 0.0.6

<!--
@license
Copyright (c) 2025 Rljson

Use of this source code is governed by terms that can be
found in the LICENSE file in the root of this package.
-->

# Trouble shooting

## Table of contents <!-- omit in toc -->

- [Vscode Windows: Debugging is not working](#vscode-windows-debugging-is-not-working)

## Vscode Windows: Debugging is not working

Date: 2025-03-08

⚠️ IMPORTANT: On Windows, please check out the repo on drive C. There is a bug
in the VS Code Vitest extension (v1.14.4), which prevents test debugging from
working: <https://github.com/vitest-dev/vscode/issues/548> Please check from
time to time if the issue has been fixed and remove this note once it is
resolved.
npm package: @rljson/template-project
Description: Rljson template-project description
Latest version: 0.0.20

<!--
@license
Copyright (c) 2025 Rljson

Use of this source code is governed by terms that can be
found in the LICENSE file in the root of this package.
-->

# Trouble shooting

## Table of contents <!-- omit in toc -->

- [Vscode Windows: Debugging is not working](#vscode-windows-debugging-is-not-working)

## Vscode Windows: Debugging is not working

Date: 2025-03-08

⚠️ IMPORTANT: On Windows, please check out the repo on drive C. There is a bug
in the VS Code Vitest extension (v1.14.4), which prevents test debugging from
working: <https://github.com/vitest-dev/vscode/issues/548> Please check from
time to time if the issue has been fixed and remove this note once it is
resolved.
npm package: @rljson/validate
Description: Validate rljson files
Latest version: 0.0.11

<!--

-->

# Trouble shooting

## Table of contents <!-- omit in toc -->

- [Vscode Windows: Debugging is not working](#vscode-windows-debugging-is-not-working)
- [GitHub actions: Cannot find module @rollup/rollup-linux-x64-gnu](#github-actions-cannot-find-module-rolluprollup-linux-x64-gnu)

## Vscode Windows: Debugging is not working

Date: 2025-03-08

⚠️ IMPORTANT: On Windows, please check out the repo on drive C. There is a bug
in the VS Code Vitest extension (v1.14.4), which prevents test debugging from
working: <https://github.com/vitest-dev/vscode/issues/548> Please check from
time to time if the issue has been fixed and remove this note once it is
resolved.

## GitHub actions: Cannot find module @rollup/rollup-linux-x64-gnu

⚠️ Error: Cannot find module @rollup/rollup-linux-x64-gnu. npm has a bug related to
optional dependencies (<https://github.com/npm/cli/issues/4828>). Please try `npm
i` again after removing both package-lock.json and node_modules directory.

Solution:

```bash
rm -rf node_modules
rm package-lock.json
npm install
```

Then push `package-lock.yaml` again
npm package: @rlly/pedantic
Description: oxlint configuration
Latest version: 0.2.0

# @rlly/pedantic

```bash
pnpm add -D -w @rlly/pedantic oxlint
# optionally install
pnpm add -D -w oxlint-tsgolint @e18e/eslint-plugin
```

```json
{
	"$schema": "./node_modules/oxlint/configuration_schema.json",
	"extends": [
		"./node_modules/@rlly/pedantic/oxlint/core.json", // <-- always recommended
		"./node_modules/@rlly/pedantic/oxlint/e18e.json",
		"./node_modules/@rlly/pedantic/oxlint/type-aware.json",
		"./node_modules/@rlly/pedantic/oxlint/vitest.json",
		"./node_modules/@rlly/pedantic/oxlint/library.json"
	]
}
```