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

Getting ' no such file or directory, open 'C:\git\gitfolio\myUsername\package.json' when building #28

1RedOne opened this issue May 19, 2019 · 3 comments


None yet
2 participants
Copy link

commented May 19, 2019


I clone the repo down, ran npm i to install all packages but then when I try to build, it looks like the build script is looking for a nonexistent folder?

C:\git\gitfolio>npm build --dark --name 1RedOne
npm ERR! path C:\git\gitfolio\1RedOne\package.json
npm ERR! code ENOENT
npm ERR! errno -4058
npm ERR! syscall open
npm ERR! enoent ENOENT: no such file or directory, open 'C:\git\gitfolio\1RedOne\package.json'
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\Stephen\AppData\Roaming\npm-cache\_logs\2019-05-19T15_23_32_664Z-debug.log

I do have a package.json file in the root of the repository though.

type package.json
  "name": "gitfolio",
  "version": "0.1.1",
  "description": "portfolio website for showcasing your work",
  "main": "build.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  "author": "imfunny",
  "license": "ISC",
  "dependencies": {
    "commander": "^2.20.0",
    "github-emoji": "^1.1.0",
    "got": "^9.6.0",
    "jsdom": "^15.0.0"

This comment has been minimized.

Copy link

commented May 19, 2019

This happens in Node.js 10.15.3 on Windows 10's newest version.


This comment has been minimized.

Copy link

commented May 19, 2019

node not npm

node build --dark --name 1RedOne

This comment has been minimized.

Copy link

commented May 19, 2019

LMAO, I am so, so sorry. I'll close the door behind me on my way out.

@1RedOne 1RedOne closed this May 19, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.