Skip to content

bsv is not in dependencies of the package #8

Description

@kunitsyn

Steps to reproduce:

  • npm init (create a new project);
  • npm add @moneybutton/paymail-client;
  • create a JS file and write something like const { Tx } = require("@moneybutton/paymail-client");
  • launch the JS file;
  • fail:

internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module 'bsv'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:690:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (B:\mar\paymailclient\node_modules\@moneybutton\brfc\dist\brfc.cjs.js:7:27)
    at Module._compile (internal/modules/cjs/loader.js:776:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! paymailclient@1.0.0 start: `node index.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the paymailclient@1.0.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\user\AppData\Roaming\npm-cache\_logs\2021-02-26T19_06_42_568Z-debug.log

The version of "@moneybutton/paymail-client" that I installed is "0.38.4".

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions