rror: ENOENT: no such file or directory, scandir ‘**/node_modules/node-sass/vendor’ npm install

Try to delete node_modules folder, close all editors that are opening the project(Visual Studio, Visual Studio Code, Atom, etc).

Then run npm install again

This issue is because those lock the package.json files.

Find /bin folder for SSRS integrated with SharePoint

SharePoint strikes again.

Follow the article http://blogs.catapultsystems.com/aroney/archive/2013/02/11/custom-dlls-with-sql-server-reporting-services-in-sharepoint-integrated-mode/

Normally, you can find the SSRS at C:\Program Files\Microsoft SQL Server\ MSRS10_50.SQLSERVER\Reporting Services\

If you want to find the folder for SSRS integrated with SharePoint, it’s not where it’s usually located but under the /15 hive, C:\Program Files\Common Files\Microsoft Shared\Web Service Extensions\15\Webservices\reporting\bin

Changing masterpage for a application page in SharePoint 2013

Follow the answer: http://sharepoint.stackexchange.com/questions/156521/error-the-referenced-file-catalogs-mycustompage-master-is-not-allowed-on-th

It seems the masterpage needs to be included in the project.

The masterpages under /_catalogs/masterpage are publishing masterpages, they are stored in the Content DB. It seems for application pages the server only searches for masterpages under the _layouts folder.

Delegate Control not showing on Master Page in SharePoint 2013

This issue occurred because the value for ControlSrc in Elements.xml is not correct. The path to the user control must point to the file in the folder structures for SharePoint 2013(15 Hive)

Refer to the .cs file for the webpart which has the path to the user control file generated by Visual Studio. Generally the path must start with “~/_ControlTemplates/15/…”

Add code behind to SharePoint 2013 master page

One way is to add delegate control to master page. Follow the article: http://www.sharepointpals.com/post/Step-by-step-procedures-to-create-a-delegate-control-in-SharePoint-2010

However for some reason, it’s required to set ControlSrc to “~/_ControlTemplates/15/…” or else the control won’t be used.