I'm trying to migrate mobx5 to mobx6 in lerna project. I'm installing new dependencies into packages inside lerna(mobx 6.3.6) via "lerna bootstrap --hoist", and it works, dependencies are installing without troubles. But when i'm trying to "build" the monorepo via command "lerna run build:watch --parallel" there are some errors like: Error: "Transform dependency lib/mobx.d.ts does not exist." What does it mean?
p.s. this is package.json file of package that has to be upgraded to mobx6.(I don't know, maybe some dependencies, must be upgraded too?) Please help! Thnx
"build": "npm run clean && cross-env NODE_ENV=production rollup --config",
"build:watch": "cross-env NODE_ENV=development rollup --config --watch",
"clean": "rimraf build && rimraf .cache",
"clean:modules": "rimraf node_modules && rimraf package-lock.json"
},
"devDependencies": {
"@rollup/plugin-image": "^2.0.4",
"@rollup/plugin-node-resolve": "^9.0.0",
"@types/node": "^12.12.11",
"@types/react": "^16.9.11",
"@types/react-dom": "^16.9.4",
"@zerollup/ts-transform-paths": "^1.7.6",
"cross-env": "^7.0.3",
"rimraf": "^3.0.2",
"rollup": "^1.27.3",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-glslify": "^1.2.0",
"rollup-plugin-node-builtins": "^2.1.2",
"rollup-plugin-replace": "^2.2.0",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.29.0",
"tslib": "^1.10.0",
"typescript": "^3.7.2"
},
"dependencies": {
"mobx": "^5.15.0",
"mobx-utils": "5.5.2",
"pixi.js": "5.2.4",
"query-string": "^6.10.1",
"reflect-metadata": "^0.1.13",
"tinycolor2": "^1.4.2",
"typedi": "^0.8.0"
}