I have been working with code components for the last two months without any issues. Without changing my actions to create, build, and push a component, all of a sudden, I am not able to update or import new components as I used to be able to.
Steps followed to import or update a component:
- Connect to environment
- Build my component (update manifest control version if is an update)
- Import with
pac pcf push --publisher-prefix prefixhere
By following these steps, a solution named "PowerAppTools_prefixhere" was created once, including my code components.
Now no matter what I do, following the same steps, when I use the import command I noticed while Packing the zip file it has the name of "PowerAppToolsTemp_prefixhere" and I think that causes the behavior to not be able to see my new components I try to update or import inside the environment that has the "PowerAppTools_prefixhere" solution created in the past when I had no errors.
Are the steps that I follow wrong for importing/updating the solution?
Fun fact even if I don't see the code component in the component solution I'm still able to use it in any app in the environment.
When importing it finishes with message:
"blah...
blah..
...
..
Importing the temporary solution wrapper into the current org.
Solution Importing...
Solution Imported successfully.
Importing the temporary solution wrapper into the current org: done."
And after the success message I get an error:
Sorry, the app encountered a non recoverable error and will need to terminate. The exception details have been captured and will be forwarded to the development team, if telemetry has been enabled. Exception Id: ...........
The diagnostic logs can be found at: c:\Users.....
All the guides I used are these:
Concluding, I am not able to update any existing component, and if I try to import a new one is not appearing in the "PowerAppTools_prefixhere" solution (but I can use it in apps)