镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Crypto required but not loaded #13920

Description

@fusiodarts
  • Version: v7.10.0
  • Platform: Ubuntu 16.04

Hi,

I require crypto as 'var crypto = require("crypto")', but it doesn't find the crypto functions.
I have installed the crypto module, version 0.0.3, the latest.

So, I don't know where is the problem.
I am using a NodeJS project to implement a payment gateway, using crypto but it doesn't work.
The test in this module (in node_modules folder) works fine, but in an external controller instantiating the library not.

Activity

  1. evanlucas commented on Jun 26, 2017

    @evanlucas
    Contributor

    the crypto module is a builtin, so it should not require installing. Being that this doesn't appear to be a bug in core, I'm going to go ahead and close this issue. If you are still having trouble with this, can you please open an issue at https://github.com/nodejs/help/issues?

    Thanks!

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

    invalidIssues and PRs that are invalid.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions