Cannot find module - creating a service

Hi guys,

I’m following your guides ( ) and I created a service like you guys explain here: but when I execute mynode > bitcored I receive this error:

    throw err;
Error: Cannot find module 'lemonand-stand'
    at Function.Module._resolveFilename (module.js:325:15)
    at Function.Module._load (module.js:276:25)
    at Module.require (module.js:353:17)
    at require (internal/module.js:12:17)
    at Function.setupServices (/mynode/node_modules/bitcore-node/lib/scaffold/start.js:56:26)
    at start (/Users/carlosfaria/mynode/node_modules/bitcore-node/lib/scaffold/start.js:203:31)
    at Object.main [as daemon] (/mynode/node_modules/bitcore-node/lib/cli/daemon.js:38:3)
    at Liftoff.<anonymous> (/.nvm/versions/node/v4.3.1/lib/node_modules/bitcore/node_modules/bitcore-node/lib/cli/bitcored.js:29:16)
    at Liftoff.<anonymous> (/.nvm/versions/node/v4.3.1/lib/node_modules/bitcore/node_modules/bitcore-node/node_modules/liftoff/index.js:196:12)
    at Liftoff.<anonymous> (/Users/carlosfaria/.nvm/versions/node/v4.3.1/lib/node_modules/bitcore/node_modules/bitcore-node/node_modules/liftoff/index.js:164:7)

Can anyone help? Thanks!

1 Like

Did you symlink (or install) the lemonade-stand service into the node_modules directory?

Yes, I create a symlink, and also simple copy the ‘lemonade-stand’ service to node_modules in mynode, but didn’t work.

I miss something ?

This is a really basic question… but I no longer know what to do. Thanks for your time!

for what it’s worth, lemonand-stand looks like it has a typo. One extra “n”.

1 Like

Thanks, but I correct the typo and search for another typos. And still not found the module.