Reg. unable to import sp-pnp-js
I am getting error when importing: import * as spns from "sp-pnp-js";
The error is Error: (SystemJS) Unexpected token < ... SyntaxError: Unexpected token < at eval () at Object.eval ...
In js file i can see this happens when var spns = require("sp-pnp-js");
I have already installed sp-pnp-js
Aucun commentaire:
Enregistrer un commentaire