0

I am trying to setup a site to receive bitcoin transactions where the users address is generated off there user id.

I am using someone elses source code (already tried contacting creator, wouldn't help me) and am unable to get any help anywhere as its a couple years old and has no interest.

Basically whenever I type npm start I get an error that references a line of my package.json file that I don't understand how it's wrong.

I can't get this site to let me paste my code, so have an image. Error Code

and my package.json: package.json

Just an update: The source of my package that I am trying to run is from here:

9900k
  • 1
  • 5
  • 1
    Possible duplicate of [What does the ELIFECYCLE Node.js error mean?](https://stackoverflow.com/questions/30744964/what-does-the-elifecycle-node-js-error-mean) – Mukyuu Jan 25 '19 at 07:42
  • Well, I know what it means, but I can't figure out why its happening/what the error in my script is, any help would be apreciated – 9900k Jan 25 '19 at 07:45
  • have you tried `npm install`? might be caused of new component being added – Mukyuu Jan 25 '19 at 07:46
  • I did try that, if you want to check my code, the error appears here: ` start script 'env $(cat .env | xargs) forever start daemon.js ` – 9900k Jan 25 '19 at 07:48
  • Maybe because of the previous error [`ENOENT`](https://stackoverflow.com/questions/9047094/node-js-error-enoent)? cat: .env No such file or directory env: 'forever': No such file or directory – Mukyuu Jan 25 '19 at 07:50
  • I am very new to all of this, would you happen to have suggestions for an edit? I am trying to reference a config.env file in the same directory as the package – 9900k Jan 25 '19 at 07:55
  • Probably add info about where you get the package/component? Example: "I get it from [here](https://www.npmjs.com/package/node-notifier)" Also, you could try to ask in their GitHub issue if there is one since they would be more familiar about it. – Mukyuu Jan 25 '19 at 07:58
  • Ok, will update my question with more info. Also already tried posting on the GitHub issue, its a fairly niche type of project. – 9900k Jan 25 '19 at 08:01

1 Answers1

0

Answer found

wasn't defining the path of my .env file.

env $(cat ./config.env | xargs)
9900k
  • 1
  • 5