SPFX node module installation with node 0.10.0

Patil, Amar Vishnu (Cognizant) 1 Reputation point
2022-08-24T09:14:12.643+00:00

Hello,

I have some old solution which has been created using node 0.10.0. now I am trying to add node modules using npm install. It gives following error:
CERT UNIDENTIFIED

OR if I use latest version like 14.20.0 then I am getting typescript error.

How can I proceed? Please help.

Thanks,
Amar

Microsoft 365 and Office | SharePoint Server | Development
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Callum Crowley 171 Reputation points
    2022-08-24T09:44:49.897+00:00

    Please ensure your SPFx solution complies with the SPFx development environment compatibility table. Node.js 0.10.0 is not listed as a compatible version. Additionally, please ensure the version of TypeScript you are using is compatible.


  2. Tong Zhang_MSFT 9,256 Reputation points
    2022-08-25T05:54:49.68+00:00

    Hi @Anonymous ,

    According to my research and testing, SPFx development environment is not compatible with Node.js v0.10.0 .If you install Node.js v14, you should install the SharePoint Framework v1.12.1 / v1.13.0 / v1.13.1 / v1.14.0 / v1.15.0 / v1.15.2 . Please check if your SPFx version and Node.js version are compatible.
    234608-01.png

    More information for reference:
    SPFx development environment compatibility
    Set up your SharePoint Framework development environment


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.



Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.