question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Installing this package gives warnings when using yarn

See original GitHub issue

Similar to this issue: https://github.com/reduxjs/react-redux/issues/1815

When I install this package, I get warnings that say warning Workspaces can only be enabled in private projects.

This seems to be the only package in my dependency tree that defines the workspaces key in the package.json.

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:1
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
kherockcommented, Apr 6, 2022

This is annoying as only yarn 1.x will complain about packages published like this 😦

I think we can just remove workspaces on this repo (solution 3). We aren’t gaining anything beyond modestly simpler GH Action scripts for building the sample app and the website. Solution 1 only makes sense to me if we had multiple packages being published out of this repo.

0reactions
Badisicommented, Mar 31, 2022

Maybe use a tool like this one : clean-publish ?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Warnings when running yarn install [#3105437] | Drupal.org
$ yarn install yarn install v1.22.4 warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is ...
Read more >
How do I see all the warning raised by yarn during project ...
The following command works while using yarn as the package manager: yarn install --check-files.
Read more >
warning | Yarn - Package Manager
npm install warning // some script var warning = require('warning'); var ShouldBeTrue = false; warning( ShouldBeTrue, 'This thing should be true but you...
Read more >
Many warnings on every command in yarn on Windows 10.
Everytime I launch some yarn command, eg: yarn global list, yarn global add, yarn add, yarn upgrade (also interactive) I see this in...
Read more >
The Yarn Package Manager - Why Should We Use It ?
That's telling you that packages saved in global are newer than the ones in the project folder. That's a warning rather than error....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found