I was using WAB 1.2 and deployed an application located here: https://maps.carbon.utah.gov/CarbonCountyMobileMap/ with it. Then 1.3 came out. I downloaded it and started it. It gave me an error, so then I thought I had to register the application on ArcGIS online again. I did, but still get the error. Below is a screenshot of the error I've been getting:
I'm not sure why this is. Did anyone else have problems making the transition? Is there a specific set of instructions on how to transition from 1.2 to 1.3?
Solved! Go to Solution.
According to the instructions, I am to open the command prompt in the folder of the newest version then type the 'node upgrade' as well as refer back to the old version, but every time I do it tells me 'node' is not recognized as an internal or external command.
Just had this happen you do not have node.js installed on the machine that you are trying to run the WAB on. I just received a new machine and I had to install it.
Those instructions assume that you have followed the Getting Started > Install steps (Specifically the install of NodeJS which many people do not do as WAB Dev has a version that come with it).
You can use the internal provided Node version by specifying the 64 bit or 32 bit Node exe in your [install dir]/server/node_x86.exe or node_x64.exe
Have you tried the steps in the FAQ?
What should I do when I try to set the App ID and encounter an Invalid redirect_uri error?
I have seen this you need to make sure that your appid is correct in the signininfo.json file in the server directory of the web appbuilder. Update this and it should work correctly. Also you want to make sure that your computer name or IP has not changed on the development machine you are using.
My best guess is that there are 2 signininfo.json files with the same AppID and URLs and ArcGIS Online is confused on what its getting itself registered to.
Can you go into the folder of 1.2, Server -> Signininfo.json file and change the AppID in there to "xxxxxxx" and save it and reopen the 1.3 application again?