1

We updated local SP server with latest features packages(2016)

I have created SPFx webpart with yeoman(yo @microsoft/sharepoint) and able to deploy SPO, and hello-world webpart look fine.

But when I try to deploy same to local server, it not works there main reason of it looks "valid package" column of webpart is No (it was Yes in SPO)

enter image description here There is a ps in official guide of sharepoint they say:

Note: The SharePoint Framework is currently in preview and is subject to change. SharePoint Framework client-side web parts are not currently supported for use in production environments

Is it reason ? SPFx RC works only in SPO not local server ? it doesnt make sense but couldnt resolve this issue

3
  • It is still only available online Feb 13, 2017 at 12:21
  • 2
    To add to Robert's comment, Microsoft has said that SPFX support will be included in some future Feature Pack for SharePoint 2016. Feb 13, 2017 at 12:37
  • 1
    Keep as much as possible outside the SPFx MVC stack; eg. learn to use the toolchain, TypeScript, React etc. without using SPFx. SPFx is (and should be) nothing more but a means to get your application delivered to a SharePoint page. That way you are ready for when SPFx goes GA (or ready for any non-SharePoint position in WWW LaLa land) Feb 13, 2017 at 13:55

1 Answer 1

0

make sure you use npm v3 or v4, not higher, downgrade NPM npm install -g npm@3 also, npm install -g @microsoft/[email protected]

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.