VIDEO – Attempt to build Angular CLI with PNP JS

Recently attempted to create a command line interface (CLI) project with Angular 6 and SP-PNP-JS library for data access.  Followed tutorial by @arustacean at but with using the latest version of each library.

GitHub source code available at

However, received strange errors on the web pack TypeScript build process.   Attached video shows the troubleshooting process.  Cheers!  shades_smile



ERROR – Initializers are not allowed in ambient contexts.



Return to Top ▲Return to Top ▲