Thanks for your course! it was great to find your channel! But I regret to sad I faced some versions incomatibility while installing pnp/spfx according this video. P.S. simple installation started from yo works.
Thanks for your comment, glad you are enjoying the content. I would recommend you see the episodes on NVM as these helped many get the environment correct. I would recommend installing NVM, then nvm install 14.17.6 and then node use 14. Then install global gulp, yo etc and you will get a good working 1.12.1 environment.
Great show and love to continue following but, it's three years since you posted it. YO needs at least version 18. something to run but @pnp/SPFX still wants version 12. someting of nodejs. I would love to hear your ideas on that. Thank you in advance.
@@RDT I checked everything if I made node version compatible with spfx PNP it won't run yo command if I change it to be compatible with yo it will show error on PNP it's like impossible right now for me cause I tried a lot of versions and same problem
Use NVM to set the right node version. Have you tried the more up to date tutorial here Let’s go! Learn SPFx Today! | Build a webpart using ReactJS in Real Time - ZERO TO HERO PART 1 of 5 th-cam.com/video/L6KdLjONndM/w-d-xo.html
Have you tried the more up to date tutorial here Let’s go! Learn SPFx Today! | Build a webpart using ReactJS in Real Time - ZERO TO HERO PART 1 of 5 th-cam.com/video/L6KdLjONndM/w-d-xo.html
i have a problem when i try to install pnp yeoman. when i want to install Yo in a folder to Sources. i have an error they said:"TypeError:Lookups.flatmap is not a function"
Check your node version. Node -v. Make sure it is a 14.x version and then reinstall yo globally (npm I -g yo). I think the error is node version related
Teacher, I have next problem: "The "data" argument must be of type string or an instance of Buffer, TypedArray or DataView. Received null". All the moment comand yo in the carpet helloworld. Thanks!
Since node and SharePoint framework keep release new versions, if the SPFX was developed with older version, do I have to go back to the older version to make updates? Upgrade to new versions might break?
On the live server it keeps previous versions so as they update the older ones stay compatible. However, as maintenance it is always worth trying to keep up with the latest version. I often update and create a blank project and then compare and copy lines from package.json to my reject that needs to be upgraded
Thanks for your comment. I agree, and I know it is something Microsoft are addressing, have you tried 1.12.1 using Node 14 yet? I have done a quick video on 1.12.1 here th-cam.com/video/eBL7LsDH6fg/w-d-xo.html. I will have a look later and see if things have improved, and also try to find information on Microsoft’s steps to resolve this for you. In the meantime there is a great post by the SPFx guru Andrew Connell here discussing the subject. www.andrewconnell.com/blog/don-t-be-alarmed-by-vulnerabilities-after-running-npm-install/ In his post Andrew comments “For SPFx developers, please ignore these reports on new projects. Remember, an SPFx project is never deployed to SharePoint. These projects are just used to create the artifacts that are deployed to SharePoint (JavaScript files embedded within a SharePoint package). No NPM packages or libraries are deployed (unless you add additional packages to your project and include them in the bundle) so you should not be concerned about them.” Watch this space 😁
When I choose @pnp/spfx, after installing it, I keep getting: '!!! Project needs to be upgraded !!! Error The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received null'. Please help and thanks in advance
@@dlw007007 you seem to have everything set up correct. Could it be misleading, are you getting the “project needs to be upgraded”, and a separate data error. What version of the pnp/sp libraries are installed in package.json. I think the latest is 2.11.0. I can’t see anybody else logging an issue with PnP, do you want to email me your project to robertsdevtalk@gmail.com and I can take a look
Yes, I guess it is the latest version supported by the SPFx framework. Good to know It works Dan, thanks for the comment, and don’t forget to join our developer journey at https;//robertsdevtalk.com
Hi Robert! I'm learning SPFx and this is the best channel to start with. Thanks a lot!
You are very welcome
Perfect start ..eagerly waiting for the next one.
Thanks Arnab, new episode early next week
Amazing info waiting for the next video soon
Thanks 👍 Much appreciated
thanks a lot roberts .
Thanks for your course! it was great to find your channel! But I regret to sad I faced some versions incomatibility while installing pnp/spfx according this video. P.S. simple installation started from yo works.
Thanks for your comment, glad you are enjoying the content. I would recommend you see the episodes on NVM as these helped many get the environment correct. I would recommend installing NVM, then nvm install 14.17.6 and then node use 14. Then install global gulp, yo etc and you will get a good working 1.12.1 environment.
Thanks a lot
You are very welcome and thanks for the support of the channel
Great show and love to continue following but, it's three years since you posted it. YO needs at least version 18. something to run but @pnp/SPFX still wants version 12. someting of nodejs. I would love to hear your ideas on that. Thank you in advance.
Noted! Working on a new series
Soo.. do I need to install this setup after the installation I did in the last video?
Getting error.. about upgrade... This version of tar is no longer supported, and will not receive security updates.. please upgrade..
Hello i faced a problem that i cant install pnp generator is not compatible and they didnt upgrade it
Check your node version
@@RDT I checked everything if I made node version compatible with spfx PNP it won't run yo command if I change it to be compatible with yo it will show error on PNP it's like impossible right now for me cause I tried a lot of versions and same problem
How do I upgrade my SPFX setup.. I think that's why I'm stuck here and can't move forward.?
Use NVM to set the right node version. Have you tried the more up to date tutorial here Let’s go! Learn SPFx Today! | Build a webpart using ReactJS in Real Time - ZERO TO HERO PART 1 of 5
th-cam.com/video/L6KdLjONndM/w-d-xo.html
So I'm having an issues installing the pnp/spfx generator.. I have the @microsoft/SharePoint generator installed..
Have you tried the more up to date tutorial here Let’s go! Learn SPFx Today! | Build a webpart using ReactJS in Real Time - ZERO TO HERO PART 1 of 5
th-cam.com/video/L6KdLjONndM/w-d-xo.html
i have a problem when i try to install pnp yeoman. when i want to install Yo in a folder to Sources. i have an error they said:"TypeError:Lookups.flatmap is not a function"
the problem is when i want to start a new project
Check your node version. Node -v. Make sure it is a 14.x version and then reinstall yo globally (npm I -g yo). I think the error is node version related
Teacher, I have next problem: "The "data" argument must be of type string or an instance of Buffer, TypedArray or DataView. Received null". All the moment comand yo in the carpet helloworld.
Thanks!
Try changing the type for data to any?
I am getting "project doesn't need to be upgraded" how to get rid of that? my version is same as yours 1.16.1 please reply
Hi Muneeb, this may be to do with @pnp/sp and I think can be ignored. See github.com/pnp/cli-microsoft365/issues/1407 for more details.
Since node and SharePoint framework keep release new versions, if the SPFX was developed with older version, do I have to go back to the older version to make updates? Upgrade to new versions might break?
On the live server it keeps previous versions so as they update the older ones stay compatible. However, as maintenance it is always worth trying to keep up with the latest version. I often update and create a blank project and then compare and copy lines from package.json to my reject that needs to be upgraded
what's the point of developing something that has 55 high-risk vulnerabilities out of the box? Is there any way to stay on something more up to date?
Thanks for your comment. I agree, and I know it is something Microsoft are addressing, have you tried 1.12.1 using Node 14 yet? I have done a quick video on 1.12.1 here
th-cam.com/video/eBL7LsDH6fg/w-d-xo.html.
I will have a look later and see if things have improved, and also try to find information on Microsoft’s steps to resolve this for you. In the meantime there is a great post by the SPFx guru Andrew Connell here discussing the subject.
www.andrewconnell.com/blog/don-t-be-alarmed-by-vulnerabilities-after-running-npm-install/
In his post Andrew comments “For SPFx developers, please ignore these reports on new projects. Remember, an SPFx project is never deployed to SharePoint. These projects are just used to create the artifacts that are deployed to SharePoint (JavaScript files embedded within a SharePoint package). No NPM packages or libraries are deployed (unless you add additional packages to your project and include them in the bundle) so you should not be concerned about them.”
Watch this space 😁
When I choose @pnp/spfx, after installing it, I keep getting:
'!!! Project needs to be upgraded !!!
Error The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received null'.
Please help and thanks in advance
Hi David. What version of node are you on (node -v at the command prompt. Also if you look in package.json what version of SPFx libraries are you on?
@@RDT 14.8.1 for node and for the SPFx libraries, I think it's 1.13.0 (for the @microsoft/sp-core-library)
@@dlw007007 you seem to have everything set up correct. Could it be misleading, are you getting the “project needs to be upgraded”, and a separate data error. What version of the pnp/sp libraries are installed in package.json. I think the latest is 2.11.0. I can’t see anybody else logging an issue with PnP, do you want to email me your project to robertsdevtalk@gmail.com and I can take a look
"Im choosing the most up to date typescript"
-> continues by choosing v3.3 instead of v3.9... oh well, doesn't make a huge difference 😅
Yes, I guess it is the latest version supported by the SPFx framework. Good to know It works Dan, thanks for the comment, and don’t forget to join our developer journey at https;//robertsdevtalk.com
These methods are outdated, microsoft keeps changing for example the local workbench doesn't exist anymore.
Please see this updated series th-cam.com/play/PLGWG_rRY_j4N8pHW9m17m_QnWu79R_8Zr.html&si=0-AFeP6rQL90srgc