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
Hi,
When attempting to use lerna in my project (bedel), I found lerna bootstrap did not link my packages.
The name field in my package.json is set to bedel, with the installed dependency I am trying to link called bedel-logger.
I have a packages directory, but not commited as it is empty.
Do I have to put the package in my repo for development, instead of a separate repo?
Here what I thought the process was:
I'm getting similiar results converting to a lerna monorepo on Windows 10. The commands were working from OSX last night but I get the error -4058 on Windows.
lerna-debug.log in top level
lerna(info) Lerna v2.0.0-beta.20
lerna(debug) Attempting running BootstrapCommand.initialize
lerna(debug) Successfully ran BootstrapCommand.initialize
lerna(debug) Attempting running BootstrapCommand.execute
lerna(info) Linking all dependencies
lerna(error) Errored while running BootstrapCommand.execute
-4058
This issue is a mess, for help with the -4058 error go to #226. If you have a problem with something else, search for an issue and if it doesn't exist create a new one.
Activity
jamiebuilds commentedon Jun 15, 2016
Why don't you have a packages directory?
Lerna does not link across separate repos, if thats what you are trying to do then you are misusing it.
ksambhi commentedon Jun 15, 2016
I have a packages directory, but not commited as it is empty.
Do I have to put the package in my repo for development, instead of a separate repo?
Here what I thought the process was:
npmjamiebuilds commentedon Jun 15, 2016
Lerna is a tool for managing single repositories with many packages.
ksambhi commentedon Jun 15, 2016
Got error -4058
jamiebuilds commentedon Jun 15, 2016
Idk what that means
cchamberlain commentedon Jun 15, 2016
@thejameskyle
I'm getting similiar results converting to a lerna monorepo on Windows 10. The commands were working from OSX last night but I get the error -4058 on Windows.
lerna-debug.log in top level
es-proxy package.json deps

koaproxy-core package.json header

versions

hzoo commentedon Jun 15, 2016
Was it because of
sync-exec? What happens on beta.19?cchamberlain commentedon Jun 15, 2016
Yes.
Thank you!
hzoo commentedon Jun 15, 2016
https://github.com/lerna/lerna/pull/220/files - need to look at this again I guess? It's checking if
child.execSyncis defined, otherwise not so I don't see why that would change any behavior. Maybe a publishing issue. If you aren't on 0.10 it should act exactly the same.cchamberlain commentedon Jun 15, 2016
Oh wow
0.10, how legacy.cchamberlain commentedon Jun 15, 2016
Maybe a
const hasExecSync = !/v0\.1?[01]\.[0-9]+/.test(process.version)test instead?ifiokjr commentedon Jul 1, 2016
I'm still seeing this issue within a new lerna based repo on Windows 7.
lerna bootstrapfails for me.jamiebuilds commentedon Jul 1, 2016
This issue is a mess, for help with the
-4058error go to #226. If you have a problem with something else, search for an issue and if it doesn't exist create a new one.