Lerna: Cannot read property 'slice' of undefined

Created on 23 Feb 2017  路  3Comments  路  Source: lerna/lerna

image

My lerna.json file,

{
  "lerna": "2.0.0-beta.37",
  "packages": [
    "packages/*"
  ],
  "version": "independent"
}

Context

  • _node version_: v7.3.0+
  • _lerna version_: v2.0.0-beta.37
  • _os_: macOS Sierra 10.12.1

Most helpful comment

I have the same issue, but in my case it's because of missing name field in package.json in certain package.

All 3 comments

Don't delete package.json.lerna_backup file!!!!! Or, this error will kick your ass! 馃槶

I have the same issue, but in my case it's because of missing name field in package.json in certain package.

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.

Was this page helpful?
0 / 5 - 0 ratings