Skip to content
This repository has been archived by the owner on Feb 16, 2023. It is now read-only.

npm install fails on Windows #511

Open
janpio opened this issue Aug 5, 2020 · 0 comments
Open

npm install fails on Windows #511

janpio opened this issue Aug 5, 2020 · 0 comments

Comments

@janpio
Copy link
Contributor

janpio commented Aug 5, 2020

C:\Users\Jan\Documents\throwaway\prisma-labelsync>npm install
npm ERR! path C:\Users\Jan\Documents\throwaway\prisma-labelsync\node_modules\label-sync\dist\bin.js
npm ERR! code ENOENT
npm ERR! errno -4058
npm ERR! syscall chmod
npm ERR! enoent ENOENT: no such file or directory, chmod 'C:\Users\Jan\Documents\throwaway\prisma-labelsync\node_modules\label-sync\dist\bin.js'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\Jan\AppData\Roaming\npm-cache\_logs\2020-08-05T18_07_25_098Z-debug.log

This is the package.json:

{
  "name": "prisma-labelsync",
  "private": true,
  "main": "index.js",
  "scripts": {
    "make": "ts-node src/main.ts"
  },
  "dependencies": {
    "husky": "4.2.5",
    "label-sync": "3.5.0"
  },
  "devDependencies": {
    "prettier": "*",
    "ts-node": "*",
    "typescript": "*"
  },
  "husky": {
    "hooks": {
      "pre-commit": "yarn -s make && git add labelsync.yml"
    }
  },
  "license": "MIT"
}

Running yarn works.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant