Skip to content
This repository was archived by the owner on Nov 24, 2021. It is now read-only.

NPM unable to find a file at installation #275

@concAPPtLab

Description

@concAPPtLab

I am trying to install KeystoneJS on Windows 10 64-Bit. Installed NodeJS and MongoDB (MongoDB Server runs). Wanted to install KeystoneJS in the separate folder C:\KeystoneJS. Executed npm init, npm install -g yo -S and npm install -g generator-keystone -S from that directory. The installation of Generator-Keystone fails though. This is the whole output:

C:\KeystoneJS>npm install -g generator-keystone -S
npm WARN deprecated [email protected]: the module is now available as 'css-select'
npm WARN deprecated [email protected]: the module is now available as 'css-what'
npm WARN deprecated [email protected]: no longer maintained
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm ERR! path C:\Users\<My-Username>\AppData\Roaming\npm\node_modules\generator-keystone\node_modules\readline2\node_modules\strip-ansi\cli.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\<My-Username>\AppData\Roaming\npm\node_modules\generator-keystone\node_modules\readline2\node_modules\strip-ansi\cli.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\<My-Username>\AppData\Roaming\npm-cache\_logs\2018-07-09T11_55_10_518Z-debug.log

C:\KeystoneJS>

Can anyone help me out?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions