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

yolo in package.json is ignored #587

Open
yairEO opened this issue Dec 18, 2020 · 3 comments
Open

yolo in package.json is ignored #587

yairEO opened this issue Dec 18, 2020 · 3 comments

Comments

@yairEO
Copy link

yairEO commented Dec 18, 2020

Description

np key is present in package.json with yolo set to true

"np": {
  "yarn": false,
  "contents": "dist",
  "yolo": true
},

But when running the command np, yolo is ignored.

image

it only works cli: np --yolo

Steps to reproduce

as defined in my package: https://github.com/yairEO/color-picker

Expected behavior

yolo should work and not install dependencies (which takes ~5 minutes on my small project!)

Environment

np - 7.0.0
Node.js - 15.4.0
npm - 7.0.15
Git - 2.27.0.windows.1
OS - Windows 10

@dopecodez
Copy link
Collaborator

I couldn't reproduce this bug on my windows 10 with np 7.0.0. Yolo worked correctly when I tried in the cli and also in the package.

Your package.json looks good. Any more information you have on how to reproduce this bug will be helpful.

@yairEO
Copy link
Author

yairEO commented Dec 22, 2020

Bummer, that's the worst...not able to reproduce a bug. Well, I don't know what more to tell you.. I don't have any np configuration file which overrides package.json, so at least that is out of the way.

This happens everywhere I use np on actually. (np installed globally)

Well, great package and thank you very much for creating it, regardless of my issue

@fregante fregante closed this as not planned Won't fix, can't repro, duplicate, stale Feb 3, 2023
@yairEO
Copy link
Author

yairEO commented Feb 3, 2023

This is still happening BTW. For years, (on my amazing super-better-than-shitty-mac Windows 10 machine)

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

No branches or pull requests

3 participants