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

Internal Error: fortune-sheet@workspace:.: This package doesn't seem to be present in your lockfile; run "yarn install" to update the lockfile #511

Open
seleckis opened this issue Feb 19, 2024 · 6 comments

Comments

@seleckis
Copy link

Hi, fresh install does not allow to run yarn dev.

To Reproduce
Steps to reproduce the behavior:

  1. Fork repository
  2. git clone repository
  3. yarn install
  4. yarn dev
  5. See error:
yarn run v1.22.19
$ npx yarn storybook
Internal Error: fortune-sheet@workspace:.: This package doesn't seem to be present in your lockfile; run "yarn install" to update the lockfile

Expected behavior
Working dev mode

Additional context
I have tried to remove all lock files and reinstall, tried to add private: true to all package.json files. No luck

@sanchit3008
Copy link
Collaborator

This seems odd, what is your node version?

@seleckis
Copy link
Author

v18.12.1

@sanchit3008
Copy link
Collaborator

sanchit3008 commented Mar 20, 2024

Thanks, I will check with this setting and let you know. I have been using it on 16.15.1 with yarn 1.22.19 for months now without problems. You can probably try it once with these settings too.

@sanchit3008
Copy link
Collaborator

Sorry I am unable to reproduce this with yarn 1.22.19 / node 18.12 too. Just to be sure, you are running these commands in the root level of the repo right? This error would occur in case of a mismatch between the lockfile and the package.json.

@seleckis
Copy link
Author

This is fresh install to a separate folder which is not a part of another project. I'm running these commands in the root of this repository. Just tried again:

rm -rf node_modules yarn.lock
yarn
yarn dev

same result:

yarn run v1.22.19
$ npx yarn storybook
Internal Error: fortune-sheet@workspace:.: This package doesn't seem to be present in your lockfile; run "yarn install" to update the lockfile

@sanchit3008
Copy link
Collaborator

i am quite clueless about this at this stage to be honest, since i am unable to replicate this or be able to understand why this is happening and nobody else has been reporting this either. lets keep this issue open for now. apologies.

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

No branches or pull requests

2 participants