TypeError: Cannot read property 'entries' of undefined
when trying to run this command yo @microsoft/sharepoint getting this below error... events.js:141 throw er; // Unhandled 'error' event ^
TypeError: Cannot read property 'entries' of undefined
at module.exports.yeoman.Base.extend.prompting._updateConfig (/usr/local/lib/node_modules/@microsoft/generator-sharepoint/generators/webpart/main.js:90:11)
at module.exports.yeoman.Base.extend.prompting.writing (/usr/local/lib/node_modules/@microsoft/generator-sharepoint/generators/webpart/main.js:70:10)
at Object.
@ag0059985 windows, linux or mac?
@mauricionr mac
Which node and npm version do you use?
node -v && npm -v
@StfBauer npm -v => 3.10.6 and node -v => v4.2.4
Have you applied one of those fixes to NPM? https://docs.npmjs.com/getting-started/fixing-npm-permissions It seems like you don't have permission to read without sudo command in that path.
Personal recommendation is Method 2.
@StfBauer this issue has been fixed now.. just uninstalled npm, gulp and yo..and installed it again..worked fine
thank you so much for all the help 👍
Issues that have been closed & had no follow-up activity for at least 7 days are automatically locked. Please refer to our wiki for more details, including how to remediate this action if you feel this was done prematurely or in error: Issue List: Our approach to locked issues