Skip to content
This repository has been archived by the owner on Mar 2, 2021. It is now read-only.

TypeError: addons.find is not a function #43

Closed
ryangittings opened this issue Jan 28, 2021 · 3 comments · Fixed by netlify/cli#1489
Closed

TypeError: addons.find is not a function #43

ryangittings opened this issue Jan 28, 2021 · 3 comments · Fixed by netlify/cli#1489

Comments

@ryangittings
Copy link

I'm using Netlify CLI and trying to get large media working. I'm following the instructions, but when running netlify lm:setup, I get the following:

TypeError: addons.find is not a function
    at provisionService (/.local/share/netlify-cli/node_modules/netlify-lm-plugin/lib/commands/lm/setup.js:88:33)
    at processTicksAndRejections (node:internal/process/task_queues:93:5)
    at async Task.task (/.local/share/netlify-cli/node_modules/netlify-lm-plugin/lib/commands/lm/setup.js:30:21) {
  context: [Object: null prototype] {}
}

I'm using an M1 MacBook Air, netlify-cli/3.4.5 darwin-arm64 node-v15.5.0.

@jeremyzilar
Copy link

Yeah, also on an M1 MacBook, and getting:

Opening https://app.netlify.com/authorize?response_type=ticket&ticket=28ddc2cfbbc6e096f48c0e5376db56da
    TypeError: Cannot read property 'slug' of undefined

@erezrokah
Copy link
Contributor

Hi @ryangittings and @jeremyzilar we're tracking this issue here netlify/cli#514 and working on a solution in netlify/cli#1489.

There is a workaround described in netlify/cli#514 (comment)

@erezrokah
Copy link
Contributor

Hi all 👋 and sorry for the delay in fixing this.
CLI version 3.8.0 address this issue.
Please comment if you're still experiencing issues after running:

netlify lm:setup

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants