[PR #621] [MERGED] fix "npm error command sh -c npx only-allow pnpm" problem when instal… #651

Closed
opened 2026-02-16 11:21:23 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify-docs-archived/pull/621
Author: @dfder2
Created: 3/14/2025
Status: Merged
Merged: 4/15/2025
Merged by: @AllenWriter

Base: mainHead: main


📝 Commits (1)

  • b008302 fix "npm error command sh -c npx only-allow pnpm" problem when installing packages for web from local source code

📊 Changes

3 files changed (+6 additions, -3 deletions)

View changed files

📝 en/getting-started/install-self-hosted/local-source-code.md (+2 -1)
📝 jp/getting-started/install-self-hosted/local-source-code.md (+2 -1)
📝 zh_CN/getting-started/install-self-hosted/local-source-code.md (+2 -1)

📄 Description

use 'npm install' will cause an error below:

npx only-allow pnpm

╔═════════════════════════════════════════════════════════════╗
║ ║
║ Use "pnpm install" for installation in this project. ║
║ ║
║ If you don't have pnpm, install it via "npm i -g pnpm". ║
║ For more details, go to https://pnpm.js.org/
║ ║
╚═════════════════════════════════════════════════════════════╝


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langgenius/dify-docs-archived/pull/621 **Author:** [@dfder2](https://github.com/dfder2) **Created:** 3/14/2025 **Status:** ✅ Merged **Merged:** 4/15/2025 **Merged by:** [@AllenWriter](https://github.com/AllenWriter) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (1) - [`b008302`](https://github.com/langgenius/dify-docs-archived/commit/b008302a2001291cb0777e159463ed58f1ea0399) fix "npm error command sh -c npx only-allow pnpm" problem when installing packages for web from local source code ### 📊 Changes **3 files changed** (+6 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `en/getting-started/install-self-hosted/local-source-code.md` (+2 -1) 📝 `jp/getting-started/install-self-hosted/local-source-code.md` (+2 -1) 📝 `zh_CN/getting-started/install-self-hosted/local-source-code.md` (+2 -1) </details> ### 📄 Description use 'npm install' will cause an error below: > npx only-allow pnpm ╔═════════════════════════════════════════════════════════════╗ ║ ║ ║ Use "pnpm install" for installation in this project. ║ ║ ║ ║ If you don't have pnpm, install it via "npm i -g pnpm". ║ ║ For more details, go to https://pnpm.js.org/ ║ ║ ║ ╚═════════════════════════════════════════════════════════════╝ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 11:21:23 -05:00
yindo closed this issue 2026-02-16 11:21:23 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-docs-archived#651