i just paid 49$ membership, now i want to create my daaps but there is no option for creating servers? what i have to do to create servers like before( v1)?
We started to deprecate the usage of managed servers, now you can self host a parse server if you want a server that works similar to how a Moralis Server was working:
is there any way to use the old server?
there isnโt now, only if you had a server from before you could still use it
ok, thank youโฆ
so if i dont use server, is there any other option to develop my dapps?
You can self-host a Moralis server or use your own server/backend. We have plenty of tutorials to get started.
self hosted server giving me this error when i run yarn dev
error:bigint: Failed to load bindings, pure JS will be used (try npm run rebuild?)
You can ignore this particular error, it will use a fallback (pure JS will be used
).
but server is not running: as shown in the tutorials it should said moralis server is running, isnโt ?
Can you show your self-hosted server terminal? Make sure you run yarn build
first. If successful, you should be able to load http://localhost:1337/server in your browser and it will show unauthorized error.
error:
$ ts-node src/index.ts
bigint: Failed to load bindings, pure JS will be used (try npm run rebuild?)
warn: DeprecationWarning: The Parse Server option 'directAccess' default will change to 'true' in a future version. Additionally, the environment variable 'PARSE_SERVER_ENABLE_EXPERIMENTAL_DIRECT_ACCESS' will be deprecated and renamed to 'PARSE_SERVER_DIRECT_ACCESS' in a future version; it is currently possible to use either one.
warn: DeprecationWarning: The Parse Server option 'enforcePrivateUsers' default will change to 'true' in a future version.
warn: DeprecationWarning: The Parse Server option 'allowClientClassCreation' default will change to 'false' in a future version.
info: Parse LiveQuery Server started running
C:\Users\88018\Desktop\mora\node_modules\parse-server\lib\ParseServer.js:261
throw err;
^
Error: connect ECONNREFUSED 127.0.0.1:6379
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1247:16)
Emitted 'error' event on RedisClient instance at:
at RedisClient.on_error (C:\Users\88018\Desktop\mora\node_modules\redis\index.js:342:14)
at Socket.<anonymous> (C:\Users\88018\Desktop\mora\node_modules\redis\index.js:223:14)
at Socket.emit (node:events:513:28)
at Socket.emit (node:domain:489:12)
at emitErrorNT (node:internal/streams/destroy:157:8)
at emitErrorCloseNT (node:internal/streams/destroy:122:3)
at processTicksAndRejections (node:internal/process/task_queues:83:21) {
errno: -4078,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '127.0.0.1',
port: 6379
}
error Command failed with exit code 7
Looks like an issue with your Redis connection - also check your Redis connection string in your .env
file.
You can check out the Redis setup instructions here.