Hi Team,
I am getting below error while building mobile app. Kindly help me to fix this issue.
lerna info version 2.5.1
lerna info versioning independent
lerna info scope ‹ @axelor/’
lerna ERR! EPACKAGES Errored while collecting packages and package graph
lerna ERR! Error: No packages found that match scope ‹ ›@axelor/ ›’
lerna ERR! at Function.filterPackages (D:\axelor\node_modules\lerna\lib\PackageUtilities.js:217:17)
lerna ERR! at RunCommand.runPreparations (D:\axelor\node_modules\lerna\lib\Command.js:326:60)
lerna ERR! at D:\axelor\node_modules\lerna\lib\Command.js:225:18
lerna ERR! at new Promise ()
lerna ERR! at RunCommand.run (D:\axelor\node_modules\lerna\lib\Command.js:212:14)
lerna ERR! at Object.handler (D:\axelor\node_modules\lerna\lib\commands\RunCommand.js:45:88)
lerna ERR! at Object.self.runCommand (D:\axelor\node_modules\yargs\lib\command.js:233:22)
lerna ERR! at Object.Yargs.self._parseArgs (D:\axelor\node_modules\yargs\yargs.js:990:30)
lerna ERR! at Object.Yargs.self.parse (D:\axelor\node_modules\yargs\yargs.js:532:23)
(node:18588) UnhandledPromiseRejectionWarning: Error: No packages found that match scope ‹ ›@axelor/*’’
at Function.filterPackages (D:\axelor\node_modules\lerna\lib\PackageUtilities.js:217:17)
at RunCommand.runPreparations (D:\axelor\node_modules\lerna\lib\Command.js:326:60)
at D:\axelor\node_modules\lerna\lib\Command.js:225:18
at new Promise ()
at RunCommand.run (D:\axelor\node_modules\lerna\lib\Command.js:212:14)
at Object.handler (D:\axelor\node_modules\lerna\lib\commands\RunCommand.js:45:88)
at Object.self.runCommand (D:\axelor\node_modules\yargs\lib\command.js:233:22)
at Object.Yargs.self._parseArgs (D:\axelor\node_modules\yargs\yargs.js:990:30)
at Object.Yargs.self.parse (D:\axelor\node_modules\yargs\yargs.js:532:23)
at Object. (D:\axelor\node_modules\lerna\bin\lerna.js:4:25)
(Use node --trace-warnings ...
to show where the warning was created)
(node:18588) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict
(see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
(node:18588) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @ build: lerna run prepublish --scope '@axelor/*' && lerna bootstrap
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @ build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.