Error: static() root path required
at Function.static (/usr/local/lib /node_modules/ripple-emulator/node_modules/express/node_modules/connect/lib/middleware/static.js:49:20)
at Object.handle (/usr/local/lib/node_modules/ripple-emulator/lib /server/emulate/static.js:6:27)
at next (/usr/local/lib/node_modules/ripple-emulator/node_modules/express/node_modules/connect/lib/proto.js:199:15 )
at handle (/usr/local/lib/node_modules/ripple-emulator/lib/server/emulate/hosted.js:156:17)
at Object.handle (/usr/local/lib /node_modules/ripple-emulator/lib/server/emulate/hosted.js:183:13)
at next (/usr/local/lib/node_modules/ripple-emulator/node_modules/express/node_modules/connect/lib /proto.js:199:15)
at Object.handle (/usr/local/lib/node_modules/ripple-emulator/lib/server/emulate/cordovaProject.js:54:13)
at next (/usr/local /lib/node_modules/ripple-emulator/node_modules/express/node_modules/connect/lib/proto.js:199:15)
at next (/usr/local/lib/node_modules/ripple-emulator/node_modules/express /node_modules/connect/lib/proto.js:174:78)
at pass (/usr/local/lib/node_modules/ripple-emulator/node_modules/express/lib/router/index.js:107:24 )
Chrome said: Unable to load resources: The server responded with a status of 500 (internal server error) (Failed to load the config.xml file), although there is a config.xml file in my www folder.
When I start the ripple simulation –path platforms / ios / assets / www, this problem cannot be solved, and then it displays: Cannot GET / error (complaining about the config.xml file again).
Does anyone know the solution?
I encountered a problem when I started my ripple simulator for the Phonegap project. When I was in the regular development folder (instead of When launching the Ripple-Emulate command in the platform subfolder), the ripple emulator starts, but it displays an error message:
Error: static() root path required< br />at Function.static (/usr/local/lib/node_modules/ripple-emulator/node_modules/express/node_modules/connect/lib/middleware/static.js:49:20)
at Object.handle ( /usr/local/lib/node_modules/ripple-emulator/lib/server/emulate/static.js:6:27)
at next (/usr/local/lib/node_modules/ripple-emulator/node_modules/express /node_modules/connect/lib/proto.js:199:15)
at handle (/usr/local/lib/node_modules/ripple-emulator/lib/server/emulate/hosted.js:156:17)< br />at Object.handle (/usr/local/lib/node_modules/ripple-emulator/lib/server/emulate/hosted.js:183:13)
at next (/usr/local/lib/node_modules /ripple-emulator/node_modules/express/node_modules/connect/lib/proto.js:199:15)
at Object.han dle (/usr/local/lib/node_modules/ripple-emulator/lib/server/emulate/cordovaProject.js:54:13)
at next (/usr/local/lib/node_modules/ripple-emulator/node_modules /express/node_modules/connect/lib/proto.js:199:15)
at next (/usr/local/lib/node_modules/ripple-emulator/node_modules/express/node_modules/connect/lib/proto.js :174:78)
at pass (/usr/local/lib/node_modules/ripple-emulator/node_modules/express/lib/router/index.js:107:24)
Chrome means : Unable to load resources: The server responded with a status of 500 (internal server error) (Failed to load the config.xml file), although there is a config.xml file in my www folder.
When I start the ripple simulation – When path platforms / ios / assets / www, this problem cannot be solved, and then it displays: Cannot GET / error (complaining again about the config.xml file).
Does anyone know the solution?
You seem to be creating an app for an IOS device. But Ripple defaults to an Android device, so if you change it to an IOS device and try, it will happen Error.