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!
Solved! Go to Solution.
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"
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"
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.