cryptonote-universal-pool icon indicating copy to clipboard operation
cryptonote-universal-pool copied to clipboard

Syntax Error: Unexpected String

Open 420coupe opened this issue 8 years ago • 5 comments

I am running into the following issue when running the command below.

Currently running Ubuntu 14.04 LTS

I've tried a fresh install and fresh instance of ubuntu 14.04 with fresh install of all requirements, and still run into the same issue.

Any assistance would greatly be appreciated.

sudo node init.js SyntaxError: Unexpected string

/home/ubuntu/pool/lib/logger.js:16 var logDir = config.logging.files.directory; ^ ReferenceError: config is not defined at Object. (/home/ubuntu/pool/lib/logger.js:16:14) at Module._compile (module.js:456:26) at Object.Module._extensions..js (module.js:474:10) at Module.load (module.js:356:32) at Function.Module._load (module.js:312:12) at Module.require (module.js:364:17) at require (module.js:380:17) at Object. (/home/ubuntu/pool/init.js:10:1) at Module._compile (module.js:456:26) at Object.Module._extensions..js (module.js:474:10)

420coupe avatar Jan 11 '18 20:01 420coupe

node version ???

$ node -v

spectre-knight avatar Jan 20 '18 15:01 spectre-knight

I have the same error my node version is v0.10.25 Thanks for the support

shinystat avatar Jan 22 '18 13:01 shinystat

It's because there is a string that shouldn't be... I think you should use another config.json

maurosbicego avatar Feb 20 '18 08:02 maurosbicego

How to fix please ?

cryptonote-solacecoin-pool/lib/logger.js:16 var logDir = config.logging.files.directory;

swanseahost avatar Apr 19 '18 12:04 swanseahost

same problem how to fix

milaas avatar May 26 '18 10:05 milaas