I'm encountering an issue when trying to start lerna. The error message I receive is 'lerna success run No packages found with the lifecycle script 'typecheck'. How can I resolve this? Here's a snippet from my package.json file:
{
"name": "test-web",
"private": true,
"scripts": {
"typecheck": "lerna run typecheck",
"prepare": "lerna run prepare"
},
"devDependencies": {
"husky": "^2.4.1",
"lerna": "^3.22.1",
"tslint": "^5.17.0"
},
"husky": {
"hooks": {
"pre-push": "yarn lint && yarn typecheck"
}
},
"workspaces": [
"frontend/**"
],
"dependencies": {
"@emotion/core": "^10.0.0",
"@emotion/styled": "10.0.12",
"@octokit/core": "^3.2.1",
"glob": "*",
"jest-emotion": "10.0.11",
"prop-types": "^15.5.4",
"react": "16.8.6",
"react-router-dom": "5.0.0",
"react-test-renderer": "16.8.6",
"redux": "^4.0.5",
"redux-persist": "5.10.0",
"typescript": "^4.0.5"
}
}
And here's a snippet from my lerna.json file:
{
"npmClient": "yarn",
"version": "0.0.1",
"packages": [
"frontend/**"
],
"useWorkspaces": true
}