Skip to main content

Questions tagged [npm]

The tag has no usage guidance.

8 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4 votes
0 answers
162 views

Use npm to reuse react components between web parts

I've been building web parts for a while now and I've found myself copy-pasting some of my spfx react components more often than I'd like. The ideal solution for me here would be to publish the ...
Alexandre Savard's user avatar
2 votes
0 answers
197 views

Excessive Vulnerability Count in Yeoman SharePoint Generator

When I run yo @microsoft/sharepoint and pick standard options for a SharePoint Online WebPart with No JavaScript framework, NPM shows 1956 vulnerabilities with 140 of them being high priority. I ...
Shawn Eary's user avatar
2 votes
0 answers
42 views

Working with npm packages in SharePoint hosted app

I am starting to work on a SP 2013 hosted app. I am planning to use typescript and have setup my project with Typescript configurations enabled. I have created a SP module called "dist" and all ...
Unnie's user avatar
  • 8,819
0 votes
0 answers
20 views

Webpart don´t update

First of all, English is not my first language, so bear with me. I have already developed some solutions with web parts and until now I had no problems deploying a new version. To achieve this I ...
Hamlet's user avatar
  • 1
0 votes
0 answers
115 views

issues Installing pnp/generator

I'm getting this error when I'm trying to install PnP/generator. Do anyone know how I can get passed this issue. I have the SharePoint generator installed already.
MALLIE WILLIAMS's user avatar
0 votes
1 answer
270 views

PnP SharePoint Framework npm install issues

My organization is starting to really get into SharePoint development and I'm currently working on several projects related to SharePoint. I've really been getting into the SharePoint Framework ...
johnsoep's user avatar
0 votes
1 answer
30 views

Problem with library node SPFx

I have trouble downloading npm install @pnp/spfx-controls-react, has anyone happened to it? It shows me the following error, I have removed and installed node again, but the problem persists
elsa's user avatar
  • 101
0 votes
1 answer
634 views

How to setup the environment for the sample sp-dev-fx-webparts - client-side web part samples

I have installed git and cloned the below https://github.com/SharePoint/sp-dev-fx-webparts/tree/master/samples Installed node and NPM for windows.Ran npm install for just one specific folder (react-...
naijacoder's user avatar
  • 4,282