Skip to content

Instantly share code, notes, and snippets.

View benclarkk's full-sized avatar

ben clark benclarkk

View GitHub Profile
Error: "Unknown module: mediawiki.api.options"
sortDependencies https://wiki.benclark06.xyz/wiki/load.php?lang=en&modules=startup&only=scripts&skin=vector:8
sortDependencies https://wiki.benclark06.xyz/wiki/load.php?lang=en&modules=startup&only=scripts&skin=vector:9
resolveStubbornly https://wiki.benclark06.xyz/wiki/load.php?lang=en&modules=startup&only=scripts&skin=vector:9
load https://wiki.benclark06.xyz/wiki/load.php?lang=en&modules=startup&only=scripts&skin=vector:21
<anonymous> https://wiki.benclark06.xyz/wiki/index.php?title=Main_Page&veaction=edit:7
push https://wiki.benclark06.xyz/wiki/load.php?lang=en&modules=startup&only=scripts&skin=vector:44
<anonymous> https://wiki.benclark06.xyz/wiki/load.php?lang=en&modules=startup&only=scripts&skin=vector:44
<anonymous> https://wiki.benclark06.xyz/wiki/load.php?lang=en&modules=startup&only=scripts&skin=vector:44
internal/url.js:243
throw new ERR_INVALID_URL(input);
^
TypeError [ERR_INVALID_URL]: Invalid URL: undefined
at onParseError (internal/url.js:243:9)
at new URL (internal/url.js:319:5)
at initAsClient (/home/glados/.internal/node_modules/ws/lib/websocket.js:477:17)
at new WebSocket (/home/glados/.internal/node_modules/ws/lib/websocket.js:72:7)
at Object.exports.default (/home/glados/.internal/dist/config/websocket.config.js:8:16)
# The environment the app is running in, either production, staging or development
NODE_ENV=development
# The JWT key used to encrypt/decrypt tokens used for user authentication
JWT_KEY=it's a secret
# The base REST endpoint that is used to talk to @cryb/portals
PORTALS_API_URL="http://localhost:1337"
# This should the same secure key in @cryb/portals/.env under 'API_KEY'
PORTALS_API_KEY=secret
# The environment the app is running in, either production, staging or development
NODE_ENV=development
# The URL used to interact with the WebSocket server running on @cryb/api
API_WS_URL="ws://ip:4000"
# The URL used to interact with the WebSocket server running on @cryb/aperture
APERTURE_WS_URL="ws://localhost:9001"
# The URL used to interact with the REST API running on @cryb/api
API_BASE_URL="http://ip:4000"
GNU nano 2.9.3 .env
# The environment the app is running in, either production, staging or development
NODE_ENV=development
# The JWT key used to encrypt/decrypt tokens used for user authentication
JWT_KEY=[[secret]]
# The base REST endpoint that is used to talk to @cryb/portals
PORTALS_API_URL="http://localhost:1337"
# This should the same secure key in @cryb/portals/.env under 'API_KEY'
$ node dist
/root/api/dist/config/redis.config.js:7
const parseSentinels = (sentinels) => sentinels.split(',').map(uri => ({
^
TypeError: Cannot read property 'split' of undefined
at parseSentinels (/root/api/dist/config/redis.config.js:7:49)
at getOptions (/root/api/dist/config/redis.config.js:18:25)
at Object.<anonymous> (/root/api/dist/config/redis.config.js:21:41)
at Module._compile (internal/modules/cjs/loader.js:945:30)
# The environment the app is running in, either production, staging or development
NODE_ENV=devlopment
# The JWT key used to encrypt/decrypt tokens used for user authentication
JWT_KEY=
# The base REST endpoint that is used to talk to @cryb/portals
PORTALS_API_URL=http://localhost:1337
# This should the same secure key in @cryb/portals/.env under 'API_KEY'
PORTALS_API_KEY=[[REDACTED]]
module.js:549
throw err;
^
Error: Cannot find module '/root/api/dist'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Function.Module.runMain (module.js:693:10)
at startup (bootstrap_node.js:188:16)
at bootstrap_node.js:609:3
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import sys
import gi
gi.require_version('Gtk', '3.0')
width: 720 height: 1280
OpenGL ES 2.0 (OpenGL ES 3.0 V@84.0 AU@05.00.00.046.002 (CL@))
Segmentation fault
sh-3.2# EGL_PLATFORM=hwcomposer strace test_hwcomposer
execve("/usr/bin/test_hwcomposer", ["test_hwcomposer"], 0xbedb3e70 /* 8 vars */) = 0
brk(NULL) = 0xfc0000
uname({sysname="Linux", nodename="Sailfish", ...}) = 0
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/srv/mer/toolings/SailfishOS-3.0.0/opt/cross/armv7hl-meego-linux-gnueabi/lib/tls/v7l/neon/vfp/libEGL.so.1", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/srv/mer/toolings/SailfishOS-3.0.0/opt/cross/armv7hl-meego-linux-gnueabi/lib/tls/v7l/neon/vfp", 0xbec04290) = -1 ENOENT (No such file or directory)