SPFx Webpart – Gulp error | Primordials is not defined

If you get the error primordials is not defined while calling a gulp command in command line the following might be the solution.

SPFx_gulp_error
Gulp error

Go to your package.json file and in the node resolutions add an element graceful-fs with the LTS version in my case it was ^4.2.4. If you have Yarn installed you can now call yarn install and the dependencies are updated. When you now run the gulp command again the error could be gone.

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert