You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to use lerna importto import module repos in lerna packages. It gives me error. below is lerna.debug output
lerna(info) Lerna v2.0.0-beta.24
lerna(debug) Attempting running ImportCommand.initialize
lerna(error) Errored while running ImportCommand.initialize
Error: No repository found at "https://github.com/fusionstrings/tridev.git"
at ImportCommand.initialize (/home/ubuntu/.nvm/versions/node/v4.4.5/lib/node_modules/lerna/lib/commands/ImportCommand.js:79:27)
at ImportCommand._attempt (/home/ubuntu/.nvm/versions/node/v4.4.5/lib/node_modules/lerna/lib/Command.js:157:21)
at ImportCommand.runCommand (/home/ubuntu/.nvm/versions/node/v4.4.5/lib/node_modules/lerna/lib/Command.js:141:12)
at ImportCommand.run (/home/ubuntu/.nvm/versions/node/v4.4.5/lib/node_modules/lerna/lib/Command.js:65:12)
at Object.<anonymous> (/home/ubuntu/.nvm/versions/node/v4.4.5/lib/node_modules/lerna/bin/lerna.js:58:11)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Function.Module.runMain (module.js:441:10)
lerna import takes a path to a local git repo not a url like https://github.com/fusionstrings/tridev.git although it could potentially be a feature
Reacted by James, Rhy Moore, Shafqat, Kevin Ghadyani and Dmitriy Pushkov
Could this be reconsidered and added as a useful feature? I quite often find myself cloning the repo just to import it into the monorepo project and then delete.
Reacted by asharma-r7, Jure Triglav, Shafqat, Nathaniel Blackburn and Maxim
This thread has been automatically locked because there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Activity
hzoo commentedon Jul 8, 2016
lerna importtakes a path to a local git repo not a url likehttps://github.com/fusionstrings/tridev.gitalthough it could potentially be a featurefusionstrings commentedon Jul 12, 2016
that explains, thanks 👍
Update FAQ for import (#420)
emirotin commentedon Jan 9, 2017
Could this be reconsidered and added as a useful feature? I quite often find myself cloning the repo just to import it into the monorepo project and then delete.
lock commentedon Dec 28, 2018
This thread has been automatically locked because there has not been any recent activity after it was closed. Please open a new issue for related bugs.