fortune-sheet
fortune-sheet copied to clipboard
Internal Error: fortune-sheet@workspace:.: This package doesn't seem to be present in your lockfile; run "yarn install" to update the lockfile
Hi, fresh install does not allow to run yarn dev
.
To Reproduce Steps to reproduce the behavior:
- Fork repository
- git clone repository
-
yarn install
-
yarn dev
- 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
This seems odd, what is your node version?
v18.12.1
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.
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.
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
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.