Skip to content
This repository was archived by the owner on Sep 10, 2026. It is now read-only.
This repository was archived by the owner on Sep 10, 2026. It is now read-only.

Cannot find module 'qs' #6

Description

@TwinkieLover

Env:

  • NPM 8.5.5
  • Node 16.4.2
  • TypeScript 4.5.5

Here is the import region from my ts file:

import http from "node:http";
import { SMSApi, SmsMessage, SmsMessageCollection } from "clicksend";
import { XSmsMessage } from "../entities";

Despite running rm -rf ./node_modules and npm clean cache -f in the event a package was installed incorrectly and still in NPM's cache, I am consistently experiencing this error:

Cannot find module 'qs' from '../../../node_modules/request/lib/querystring.js'

    Require stack:
      .../node_modules/request/lib/querystring.js
      .../node_modules/request/request.js
      .../node_modules/request/index.js
      .../node_modules/clicksend/api.js

Any idea what is happening here? Thanks.

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