Web app builder crashes on load

2922
2
06-10-2015 11:30 AM
NicolasPeckman
New Contributor

Sorry in advance if this is the wrong place to put this, but I'm experiencing problems with the web app builder and I'm not sure where else to post. I've been following the instructions: node js is already on my computer, I downloaded the files, and I have not touched anything. However, attempting to run server.js in node gives this error:

                    throw err;

                          ^

Error: Tried loading "jimu/shared/basePortalUrlUtils" at ../client/stemapp/jimu.js/shared/basePortalUrlUtils.js then tried node's require("jimu/shared/basePortalUrlUtils") and it failed with error: Error: Cannot find module 'jimu/shared/basePortalUrlUtils'

I went to the directory in question and the file is there. Thanks for any help.

0 Kudos
2 Replies
VladimirOvramenko
New Contributor

You try run WebAppBuilder not from server root directory

1. Go to server directory

cd /some_folder/WebAppBuilderForArcGIS/server

2. Run server

node server.js

HectorCervantes1
New Contributor

Oops, I fell for it myself!  Thanks.

0 Kudos