Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot find module 'qs' #6

Open
TwinkieLover opened this issue Jun 7, 2023 · 0 comments
Open

Cannot find module 'qs' #6

TwinkieLover opened this issue Jun 7, 2023 · 0 comments

Comments

@TwinkieLover
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant