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.

1 Answer 1

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.

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

Your Answer

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

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