Author: Kavit
How to ignore [filename].d.ts file grunt-eslint?
grunt-eslint supports all options of eslint. one of the eslint option is ignorePattern, which you can use to ignore the d.ts files in your typescript project.
How to include all files with npm publish?
You can specify which files and directory to include using files property in the package.json. https://docs.npmjs.com/files/package.json#files npm publish includes files and directory specified in there.
xcode-select: error: tool ‘xcodebuild’ requires Xcode, but active developer directory ‘/Library/Developer/CommandLineTools’ is a command line tools instance
Solution: Type below command in your terminal sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer
Get Stack Trace in Node JS or Web browsers or in Javascript in general
There are two ways to get the stack trace. console.log(new Error().stack); console.trace();
Returning a value from a node child process
One can execute Linux, git shell commands from node script using node’s child process API like exec, execSync. But when you want to save the return value outside of the function scope, one must...
Unable to connect to windows store app. Access is denied.
Have you received below error while deploying the Windows 10 apps? The activation request failed with error: ‘Access is Denied’. Solution: Log off (aka Sing out) and Log in (Sign in) again into your...
Recent Comments