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

unable to install using npm #2

Open
mutec opened this issue Nov 12, 2024 · 1 comment
Open

unable to install using npm #2

mutec opened this issue Nov 12, 2024 · 1 comment

Comments

@mutec
Copy link

mutec commented Nov 12, 2024

When adding this repository as dependency, npm fails installing. After removing the dependency, npm installed successfully.
Using commit 4e9d0e4825110d3fd140cbdcecac6f1bcd7a1840 works.

npm v10.9.0
node v22.11.0
on Windows 11

{
  "devDependencies": {
    "@typescript-eslint/eslint-plugin": "^7.6.0",
    "@typescript-eslint/parser": "^7.6.0",
    "esbuild": "^0.20.2",
    "eslint": "^8.57.0",
    "eslint-config-prettier": "^9.1.0",
    "prettier": "^3.2.5",
    "typescript": "^5.4.5",
    "tslib": "^2.6.2"
  },
  "dependencies": {
    "@woltlab/d.ts": "https://github.com/WoltLab/d.ts.git#42843615845c55b0ee95b264d9a41e337c6269c2"
  }
}

or

{
  "devDependencies": {
    "@typescript-eslint/eslint-plugin": "^8.14.0",
    "@typescript-eslint/parser": "^8.14.0",
    "eslint": "^9.14.0",
    "@eslint/js": "^9.14.0",
    "eslint-config-prettier": "^9.1.0",
    "prettier": "^3.3.3",
    "typescript": "^5.6.3"
  },
  "dependencies": {
    "@woltlab/d.ts": "https://github.com/WoltLab/d.ts.git#42843615845c55b0ee95b264d9a41e337c6269c2"
  }
}

npm install prints:

"C:\Program Files\nodejs\npm.cmd" install
npm warn skipping integrity check for git dependency ssh://[email protected]/WoltLab/editor.git
npm warn skipping integrity check for git dependency ssh://[email protected]/WoltLab/d.ts.git
npm warn deprecated [email protected]: Use your platform's native atob() and btoa() methods instead
npm warn deprecated [email protected]: Use your platform's native DOMException instead
npm warn deprecated [email protected]: Use your platform's native performance.now() and performance.timeOrigin.
npm error A complete log of this run can be found in: 2024-11-12T20_58_47_970Z-debug-0.log

Process finished with exit code 1

2024-11-12T20_58_47_970Z-debug-0.log:
2024-11-12T20_58_47_970Z-debug-0.log

@Hanashi
Copy link

Hanashi commented Nov 12, 2024

It's the same problem as here: https://www.woltlab.com/community/thread/308884-wsc-6-1-package-json/

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