Ni.some error in Assistant + “Project type has changed” publish error after latest update

Hey everyone,

Since the most recent UiPath update I’m running into two annoying issues that cropped up out of nowhere:

Every time I open Assistant and click on a process tile—even before it starts—I get a JavaScript TypeError in the console:

Ni.some is not a function

It never used to do this, and I haven’t changed my workflows.

When I try to push a new version of my SFDC Automations process, I get:

Publish failed. Project type has changed since the latest published version (was Process, now is BusinessProcess). Revert the project type or publish a new project.

I haven’t flipped any settings—this only started happening after the update.

I’m on Community Edition (25.x Cloud), Windows 11. Has anyone else seen either of these? Any ideas or workarounds would be hugely appreciated!

Thanks!

Hi @cohnhead

Please below steps in below thread, should help you.

Also below is the knowledge base from UiPath on same:

Regards
Sonali

@cohnhead

Welcome to the community

as a first check try to rename the projet.json to any other name and reopen and check this might break few dependencies but you can try downloading them to fix

cheers

Hi @cohnhead

Can you try this-

  • Navigate to: %userprofile%\.local\UiPath\Assistant\Cache
  • Delete contents of the Cache folder.
  • Restart Assistant.

Renaming did allow me to publish without the “Project type has changed” error. Thank you. But I am still getting the Ni.some error

1 Like

I am on Windows and there is only an Assistant folder in AppData/Roaming
I cleared the Cache folder there and the error is still happening.
I also did a complete uninstall and reinstall and the ni.some error is still happening.

Can you please let me know which application are you using when you see the ni.some error also , can you share the full error message or stack trace?
and Which version of Windows are you on?

also, after uninstalling the app , try this-
C:\Users<YourUsername>\AppData\Roaming
C:\Users<YourUsername>\AppData\Local
C:\Users<YourUsername>\AppData\LocalLow

@cohnhead

Can you try the below approach also mentioned in the link I shared above:

Approach #1 the easiest way is by opening the failed process in UiPath Studio → renaming the project and publishing it to your Orchestrator tenant

Also, could you please confirm if this error happens only when you click on this process tile in assistant or for every process in there?
Regards
Sonali

Renaming and rebuilding project.json clears various project settings like persistence, ignored files for publishing, and others. It should be done with caution.

@cohnhead

Glad to know one issue is resolved

now for the other one..can you show the complete error

also check the studio logs from the user profile folder where a log file would be created

that might help to understand the issue

to start with try to rename the packages folder in c:\users\username.nuget and check if it helps as it would let the studio download all necessary packages again

@postwick - agreed with you thats the reason I asked for backup and explained the same..thanks for joining

cheers

1 Like

The error keeps occurring in UiPath Assistant.

Here is an excerpt from the HAR log:

{
“method”: “GET”,
“url”: “https://cloud.uipath.com/<YOUR_TENANT>/orchestrator_/odata/Releases?$filter=Key eq ‘SFDC.Automations.V2’”,
“requestHeaders”: {
“Authorization”: “Bearer <REDACTED_TOKEN>”
},
“responseStatus”: 200,
“responseBody”: {
@odata.count”: 1,
“value”: [
{
“ProcessKey”: “SFDC.Automations.V2”,
“EntryPointPath”: null,
“InputArguments”: null,
“EnvironmentVariables”: null,
“Tags”: [
{ “Name”: “uipathforms”, “DisplayName”: “UiPathForms” }
]
}
And here is an excerpt from the console logs:
TypeError: Ni.some is not a function
at Pr (vendor..js:3:2280937)
at set value (vendor..js:3:2282198)
at Bh (vendor..js:3:863694)
at Object.c_ [as setInput] (vendor..js:3:864172)

I have renamed it and it did not resolve the error.
Also, this is currently occurring when I click on any project tile in the Assistant (just clicking, not actually running it)

@cohnhead

Can you please orchestrator settings screen from your assistant?

How are you trying to connect to assistant?

Here are the settings. I open it locally on my PC

1 Like