SFPx Node-Saas Error

 If you get this kind of error

Node Sass does not yet support your current environment: Windows 64-bit with Unsupported runtime (83)


or any other kind of gulp build errors, and if its after you upgraded to Node 14.X, and upgraded your YO generator, then its because all the dependencies changed, and you need to migrage.


so here is a simple solution:


1. Create a side clean SPFx project (Webpart or Extension (Extension is only with 2019+))

2. Save somewhere (just in case) the following files package.json, tsconfig.json, package-lock.json

3. Copy from your new project to your old project only 2 files  package.json, tsconfig.json

* change the name and version of your project in the package.json file

4. Run gulp clean

5. Run npm install

6. Run gulp build ect.


Do you need an SPFx Developers? Contact us now!

Comments

  1. Looking forward to reading more. Great article post. Thanks Again. Fantastic.

    ReplyDelete

Post a Comment

Popular posts from this blog

OverTheWire[.com] Natas Walkthrough - JUST HINT, NO SPOILERS

Asp.Net Ending Response options, Response.End() vs CompleteRequest()

SOLVED The item could not be indexed successfully because the item failed in the indexing subsystem