8

I started with SPFx development recently. I packaged a client side web-part as a file helloworld-webpart.sppkg following Microsoft's tutorial. Then I uploaded it to my Apps Catalog site. Though it was uploaded to the Apps Catalog successfully, but it's not available for installation on any of the sites. I tried the gear 'Add an App', tried searching for 'helloworld', but couldn't find it.

Any suggestion/help on this would be much appreciated.

3

I figured it out. The problem was with my webpart code. I were getting this error before packaging the webpart:

-> Cannot find module 'helloWorldStrings'

I removed this error first, then again packaged the solution and uploaded it to the Apps Catalog site. This time it is working fine as expected.

  • 1
    Hi, Plz accept your own answer as answer. So the question will not be part of unanswered questions list. – P S Oct 9 '17 at 10:12
  • Oops answer accepted! – mohd tahir Oct 9 '17 at 10:31
  • 1
    I did not get this error anywhere. In what file did you fix the module name? – Ofer Gal Oct 10 '17 at 14:30
  • In HelloWorldWebPart.ts file, I had this error. – mohd tahir Oct 11 '17 at 7:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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