Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot destructure property 'ipv4Address' of 'data' as it is null #1

Open
l4yl4 opened this issue Aug 16, 2021 · 0 comments
Open

Cannot destructure property 'ipv4Address' of 'data' as it is null #1

l4yl4 opened this issue Aug 16, 2021 · 0 comments

Comments

@l4yl4
Copy link

l4yl4 commented Aug 16, 2021

What has happend:
npm start leads to the following error:

> spam-revenge@1.0.0 start
> node src/scripts/subscribe.script.js

===INITIATE THE SERVICES===
===VALIDATE GENERAL SETTINGS===
===INITIATE LOCAL DATA===
TypeError: Cannot destructure property 'ipv4Address' of 'data' as it is null.
    at new LocalDataModel (/home/user/Downloads/spam-revenge/src/core/models/files/LocalData.model.js:4:17)
    at LocalService.setLocalData (/home/user/Downloads/spam-revenge/src/services/files/local.service.js:12:31)
    at SubscribeLogic.validateSubscription (/home/user/Downloads/spam-revenge/src/logics/subscribe.logic.js:59:28)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async SubscribeLogic.run (/home/user/Downloads/spam-revenge/src/logics/subscribe.logic.js:20:9)
    at async /home/user/Downloads/spam-revenge/src/scripts/subscribe.script.js:6:5

Steps to reproduce:

  • Clone repository
  • install dependencies npm i
  • Add a valid mail address to src/settings/settings.js.
  • Run application with npm start

Additional information:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant