mercredi 4 janvier 2017

Issue when importing Sp-PNP-JS

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