Skip to content

I had a big bug on ubuntu 20.04 :) #23

@playlistduong

Description

@playlistduong

Bug Report

When i run bash mrepo new [xxxx]

Input Code

lerna notice cli v3.22.1
lerna info bootstrap root only
lerna ERR! yarn install --mutex network:42424 --non-interactive exited 2 in 'package_test'
lerna ERR! yarn install --mutex network:42424 --non-interactive exited 2 in 'package_test'
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! package_test@0.0.0 boot: `npx lerna bootstrap`
npm ERR! Exit status 2
npm ERR! 
npm ERR! Failed at the package_test@0.0.0 boot script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/gmo-z/.npm/_logs/2021-04-12T04_40_29_174Z-debug.log
error Error: Command failed: cd /home/gmo-z/Desktop/aws_key/package_test && npm i lerna@3.22.1 && npm run boot && npx rimraf ./package-lock.json
    at checkExecSyncError (child_process.js:635:11)
    at Object.execSync (child_process.js:671:15)
    at GeneratorContext.completed (/usr/lib/node_modules/@zmotivat0r/mrepo/monorepo-generator/saofile.js:186:37)
    at SAO.runGenerator (/home/gmo-z/.npm/_npx/14048/lib/node_modules/sao/lib/index.js:137:30)
    at async SAO.run (/home/gmo-z/.npm/_npx/14048/lib/node_modules/sao/lib/index.js:101:5)
child_process.js:674
    throw err;
    ^

Error: Command failed: PACKAGE_GENERATOR_PASSED_OPTIONS="eyJuYW1lIjoicGFja2FnZV90ZXN0IiwidXNlRGVmYXVsdHMiOmZhbHNlLCJkcnlSdW4iOmZhbHNlLCJza2lwU2NyaXB0cyI6ZmFsc2UsInNraXBHaXQiOmZhbHNlLCJza2lwR2l0Q29tbWl0IjpmYWxzZSwic2tpcEluc3RhbGwiOmZhbHNlfQ==" npx sao /usr/lib/node_modules/@zmotivat0r/mrepo/monorepo-generator
    at checkExecSyncError (child_process.js:635:11)
    at Object.execSync (child_process.js:671:15)
    at runNew (/usr/lib/node_modules/@zmotivat0r/mrepo/monorepo-generator/monorepo-generator.command.js:40:29)
    at Command.<anonymous> (/usr/lib/node_modules/@zmotivat0r/mrepo/monorepo-generator/monorepo-generator.command.js:28:40)
    at Command.listener [as _actionHandler] (/usr/lib/node_modules/@zmotivat0r/mrepo/node_modules/commander/index.js:922:31)
    at Command._parseCommand (/usr/lib/node_modules/@zmotivat0r/mrepo/node_modules/commander/index.js:1503:14)
    at Command._dispatchSubcommand (/usr/lib/node_modules/@zmotivat0r/mrepo/node_modules/commander/index.js:1443:18)
    at Command._parseCommand (/usr/lib/node_modules/@zmotivat0r/mrepo/node_modules/commander/index.js:1460:12)
    at Command.parse (/usr/lib/node_modules/@zmotivat0r/mrepo/node_modules/commander/index.js:1292:10)
    at Object.<anonymous> (/usr/lib/node_modules/@zmotivat0r/mrepo/bin/mrepo.js:24:9) {
  status: 1,
  signal: null,
  output: [ null, null, null ],
  pid: 14047,
  stdout: null,
  stderr: null
}

Environment

  • Node version: v12.22.0
  • Platform: ubuntu 20.04

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions