The solution should build correctly but it doesn't, even with a vanilla project.
- Create a vanilla SPFx 1.5.0 project ApplicationCustomizer extension (did not try with other kinds).
- Build/bundle/package your project in production mode (--ship)
Thanks for your contribution! Sharing is caring.
@waldekmastykarz Thank you for follow-up, here is a new topic which is more generic than the previous one
Despite the error message at the end, if you execute gulp bundle --ship, is the .sppkg generated or not?
yes it does with gulp package-solution --ship but I notice that there are missing steps in the build that generates incomplete package
I noticed that you're running SPFx in Docker. Could you check if you get the same result if you ran it on your host, just to eliminate Docker as the possible culprit?
Yes actually I tested without docker at first
Some further information: I took the helloworld webpart and added some connection to the SharePoint lists as per the tutorial. It still gives the error when running gulp bundle --ship however if you then run gulp package-solution --ship it generates no error and works fine if you publish it to the app catalog.
I close this issue since the error message is not blocking
Issues that have been closed & had no follow-up activity for at least 7 days are automatically locked. Please refer to our wiki for more details, including how to remediate this action if you feel this was done prematurely or in error: Issue List: Our approach to locked issues
Most helpful comment
yes it does with
gulp package-solution --shipbut I notice that there are missing steps in the build that generates incomplete package