undefined error when creating account
Hi how can provoque this issue : undefined, when I create account after installation.?
HI @Yao228
Can you give a little more information about your issue, so that it would be easy to assist you ...
HI @sureshbabu1995 This is my laravel .env configuration. I dont know if its correct but when I want to signup I get undefined error.
APP_NAME="EASY SOCIALBOARD" APP_ENV=local APP_KEY=base64:VcvhmmqMm7fcBd/5D/JjUHqp1oy6TZBvmDUu4b4XsSA= APP_DEBUG=true
All these should end with /
APP_URL=https://easysocialboard.com WEBSITE_TITLE="EASY SOCIALBOARD" API_URL=http://3.143.218.195:3000 API_URL_FEEDS=http://3.143.218.195:3001 API_URL_PUBLISH=http://3.143.218.195:3002 API_URL_UPDATE=http://3.143.218.195:3003 API_VERSION=v1
LOG_CHANNEL=stack LOG_LEVEL=debug
BROADCAST_DRIVER=log CACHE_DRIVER=file QUEUE_CONNECTION=sync SESSION_DRIVER=file SESSION_LIFETIME=120
YOUTUBE_TRENDS_KEYWORD=bitcoin TWITTER_TRENDS_KEYWORD=bitcoin RSS_TRENDS_KEYWORD=https://timesofindia.indiatimes.com/rssfeeds/54829575.cms
Hi, @Yao228
Please use env like this
APP_URL=https://easysocialboard.com/ WEBSITE_TITLE="EASY SOCIALBOARD" API_URL=http://3.143.218.195:3000/ API_URL_FEEDS=http://3.143.218.195:3001/ API_URL_PUBLISH=http://3.143.218.195:3002/ API_URL_UPDATE=http://3.143.218.195:3003/ API_VERSION=v1
Added / at the end
and if you still have any queries, please drop a mail we'll discuss there to solve it quickly with any continuous conversation source.
My mail ID: [email protected]
I am having the same issues as Yao228, the .env file has the trailing / at the end. Socioboard-5.0 on self-hosted ubuntu server. did anyone come up with a solution for this?
@TheBitcoinBay make sure everything can resolve correctly. Undefined error means the api could not be reached from your browser and/or the application.
@vaughngx4 , I have checked and it looks like I am not able to get the micro-services or npm run swagger running. swagger err -> Swagger-autogen: Failed nodemon err:
node:internal/errors:465 ErrorCaptureStackTrace(err); ^
Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/var/www/socioboard/socioboard-api/User/core/unauthorized/unauthorized.routes.js' imported from /var/www/socioboard/socioboard-api/User/resources/routes/public.routes.js
at new NodeError (node:internal/errors:372:5)
at finalizeResolution (node:internal/modules/esm/resolve:413:11)
at moduleResolve (node:internal/modules/esm/resolve:972:10)
at defaultResolve (node:internal/modules/esm/resolve:1181:11)
at ESMLoader.resolve (node:internal/modules/esm/loader:580:30)
at ESMLoader.getModuleJob (node:internal/modules/esm/loader:294:18)
at ModuleWrap.
and it hangs from there.
@TheBitcoinBay it seems you are either missing some source code or some permissions are messed up in /var/www.
The error above states it cannot find the file /var/www/socioboard/socioboard-api/User/core/unauthorized/unauthorized.routes.js
If it is a permissions error I'd suggest creating a socioboard user and group and chown -R the /var/www/socioboard directory.
@vaughngx4 thx... i will try that