May 25 2023 07:17 AM
Hi,
I am getting below error after running command: "gulp package-solution --ship"
Anyone please provide solution as I am SPFX newbie!
Thanks in advance
Jun 06 2023 03:33 AM - edited Sep 07 2023 03:20 AM
@AbhishekDas08
This is normal. The "error" occurs because of the line that appear right after the "Finished" line. Since the command line wrote the "Warning" to the console, you'll see the output to stderr error. It is not really an error, so you can ignore it.
The same thing will happen on the ```gulp bundle --ship``` command if there are any warnings. As long as the messages after "Finished" are warnings, just ignore them.
Welcome to SPFx!
If my answer helps solve or resolve your issue, please consider clicking Mark as Best Response & Like. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it a Like.
Sep 07 2023 02:03 AM
Maybe it is not really an error but id does not create the package file. :)
Any settings that will override this?
Sep 07 2023 03:20 AM
Sep 07 2023 11:06 PM