Posts

Showing posts from September, 2019

cannot find module scss file in SPFx web-part

This error occurs while we are building a new webpart There are two possible solution as belwo that worked for me Made a small change in the .scss file and save it. If the above not work then simple run the project by "gulp serve". the error will no longer exists after this.

Unable to find the npm root, something went wrong. Unable to upgrade the yoman generator

Err or  Unable to find the npm root, something went wrong. Try to execute npm -g root --silent on your command-line Possible Soltions Get the root folder using command npm root -g  "C:\Users\UserName\AppData\Roaming\npm\node_modules" Go to the npm folder at root path "C:\Users\UserName\AppData\Roaming\npm\node_modules\npm" Opent the npmrc file in notepad and remove the prefix save the file and try to update yoman