This package doesn't seem to be present in your lockfile; try to make an install to update your resolutions
See original GitHub issueDescribe the bug I was getting this error when I tried to run a yarn command and this started to happen after I shifted the yarn berry
his package doesn't seem to be present in your lockfile; try to make an install to update your resolutions
My package.json file
{
"name": "",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"watch": "tsc -w",
"dev": "nodemon dist/index.js",
"start": "node dist/index.js",
"start2": "ts-node src/index.ts",
"dev2": "nodemon --exec ts-node src/index.ts",
"create:migration": "mikro-orm migration:create"
},
"author": "",
"license": "ISC",
"devDependencies": {
"@types/express": "^4.17.11",
"@types/node": "^14.14.20",
"nodemon": "^2.0.7",
"ts-node": "^9.1.1",
"typescript": "^4.1.3"
},
"dependencies": {
"@mikro-orm/cli": "^4.3.4",
"@mikro-orm/core": "^4.3.4",
"@mikro-orm/migrations": "^4.3.4",
"@mikro-orm/postgresql": "^4.3.4",
"apollo-server-express": "^2.19.1",
"argon2": "^0.27.1",
"express": "^4.17.1",
"graphql": "^15.4.0",
"pg": "^8.5.1",
"type-graphql": "^1.1.1"
},
"mikro-orm": {
"useTsNode": true,
"configPaths": [
"./src/mikro-orm.config.ts",
"./dist/Mikro-orm.config.js"
]
}
}
also added yarn.lock
https://gist.github.com/Suryadevelops/2a59de8fe395bee643cbf7e8f28f2c73
Screenshots
- OS: Windows
- Node version [v14.15.4]
- Yarn version [2.4.0]
Additional context
Can anyone say me how I can remove berry?
apologize if this was asked already
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Command yarn import error: This package doesn't seem to be ...
Yarn - Command yarn import error: This package doesn't seem to be present in your lockfile; try to make an install to update...
Read more >[Bug]This package doesn't seem to be present in your lockfile ...
This package doesn't seem to be present in your lockfile; try to make an install to update your resolutions I got this error...
Read more >Build fails with Internal Error: website@workspace:.: This ...
This package doesn't seem to be present in your lockfile; run “yarn install” to update the lockfile”. It is set for continuous deployment....
Read more >Showing error in yarn start command says This package ...
[Solved]-Showing error in yarn start command says This package doesn't seem to be present in your lockfile; try to make an install to...
Read more >Migration | Yarn - Package Manager
A step-by-step and in-depth migration guide from Yarn 1 (Classic) to Yarn 2 ... Run yarn install to migrate the lockfile; Take a...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
What part of the error message
try to make an install to update your resolutions
wasn’t clear enough to indicate that was a possible solution? (I’m asking so that we can improve it.)Revert the changes made by the
set version
command https://yarnpkg.com/getting-started/migration#step-by-stepDid you run
yarn install
?You need to provide a reproduction