Edit: I’ve been suggested this query is off-topic so reposted on stackoverflow right here: https://stackoverflow.com/questions/69094604/npm-fails-during-npm-install-with-npm-err-maximum-call-stack-size-exceeded
I’m having points operating npm on a clear git clone of sensei utilizing vagrant (vvv model) as described right here https://github.com/Automattic/sensei/wiki/Setting-Up-Your-Development-Setting#configure-a-local-wordpress-instance
I get the next errors:
vagrant@vvv:/srv/www/wordpress-one/public_html/wp-content/plugins/sensei$ npm set up
npm ERR! Most name stack dimension exceeded
npm ERR! A whole log of this run could be present in:
npm ERR! /dwelling/vagrant/.npm/_logs/2021-09-07T03_45_45_825Z-debug.log
It’s a new contemporary new set up that’s creating the errors so unsure why … I’ve additionally tried the next based mostly on some posts I’ve learn elsewhere and it errors the identical:
- doing
rm -fr node_modules/
within the sensei listing and /usr/lib/node_modules - doing
npm cache clear --force
- doing
npm rebuild
- eradicating the package-lock.json file and operating
Any assist – what would possibly I be doing fallacious?