Select to view content in your preferred language

Upgrading Apps Fails

972
2
Jump to solution
07-14-2020 09:12 AM
KieranClark
Regular Contributor

I'm trying to upgrade apps that were created in 2.12 to the latest version of WAB, 2.16. I am inputting the following commands as per Upgrade apps—ArcGIS Web AppBuilder (Developer Edition) | ArcGIS for Developers to upgrade all my apps.

C:\ArcGIS Web AppBuilder Dev Edition\Web AppBuilder 2_16\WebAppBuilderForArcGIS\server>node_x64 upgrade C:\ArcGIS Web AppBuilder Dev Edition\WebAppBuilderForArcGIS

Which spits out this result:

[2020-07-14T12:08:25.982] [INFO] upgrade - Builder folder: C:\ArcGIS
[2020-07-14T12:08:25.987] [INFO] upgrade - App id: Web
[2020-07-14T12:08:25.995] [ERROR] app - { message: 'Invalid Path.' }

Just need a little guidance as to what is going on here. I am happy to provide additional information as needed!

0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus

Kieran,

   Because your path has spaces in it (which is never a good practice) you have to surround your whole path in double quotes.

C:\ArcGIS Web AppBuilder Dev Edition\Web AppBuilder 2_16\WebAppBuilderForArcGIS\server>node_x64 upgrade "C:\ArcGIS Web AppBuilder Dev Edition\WebAppBuilderForArcGIS"

View solution in original post

2 Replies
RobertScheitlin__GISP
MVP Emeritus

Kieran,

   Because your path has spaces in it (which is never a good practice) you have to surround your whole path in double quotes.

C:\ArcGIS Web AppBuilder Dev Edition\Web AppBuilder 2_16\WebAppBuilderForArcGIS\server>node_x64 upgrade "C:\ArcGIS Web AppBuilder Dev Edition\WebAppBuilderForArcGIS"
KieranClark
Regular Contributor

Wow...it looks like that is all it was. Ok, thank you for the answer and I will certainly keep your comment about removing spaces in mind moving forward.

0 Kudos