bootstrap: TypeError: Cannot set properties of undefined (setting '.') #2443
Labels
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
When following the instructions for bootstrapping a config (which I'm doing to debug this appearance that release-please is ignoring the
release-please-config.json
), I'm experiencing aTypeError: Cannot set properties of undefined (setting '.')
error rather than creating the initial config files.The instructions for an OSX user who never, ever uses javascript, nor typescript, nor has nodejs nor npm installed, nor nvm, looks to be (ie first-time installing some things) :
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.0/install.sh | bash
nvm install 22
nvm I release-please -g
release-please bootstrap --token=$(cat file-with-gthub-token-written) --repo-url=<user>/<repo> --release-type=bazel
(I'm trying to use the "bazel" release-type to see if it has defaults that are followed rather than this ignored config file, but not all documentation mentions the "bazel" release-type)
Environment details
release-please
version: 16.15.0Steps to reproduce
(note: behaviour is the same with --repo-url of style "http://github.com/user/repo" or "user/repo")
I'm not a Node user, nor NPM, so for all I know there's a user/piloting error. There's a few steps forced as dependencies of other steps, and it's things I never do (like install npm) so the error might be in there. Also, the install doesn't seem to lock down versions, so I might have a different yesterday's version of some dependency.
The text was updated successfully, but these errors were encountered: