TypeError Plugin: netlify-cli: memoizeOne is not a function

Several of us are getting the error below on both local and CI tools.

netlify dev
TypeError Plugin: netlify-cli: memoizeOne is not a function
module: @oclif/config@1.17.0
task: runHook init
plugin: netlify-cli
root: /home/vagrant/.nvm/versions/node/v10.21.0/lib/node_modules/netlify-cli
See more details with DEBUG=*
    TypeError: memoizeOne is not a function

Hi, @unclejustin. This is fixed now in version 3.21.6 (just released).

npm i -g netlify-cli

Would you please use the upgrade command above and let us know if you still see any issues?

1 Like

Hi There,

I have tried installing the CLI just today and reinstalled using the command you listed above but I’m still receiving the same error as well.

I’m on windows and also tried running as admin but no luck (although it doesn’t seem like a permissions issue to begin with).

Blockquote memoizeOne is not a function

Hello, I just experienced this on netlify-cli@3.21.8. I downgraded to 3.21.6 and it was gone.

Hey sorry if this is a dumb question but how do you install the specific version of the cli? Is it just npm i -g neltify-cli 3.21.8 ?

@rquiroz32 Not a dumb question! It’s only necessary when things go bad! :slight_smile:

You need to use the @ to specify, so use npm install -g netlify-cli@3.21.8