ClickSend / clicksend-nodejs

ClickSend Node.js SDK (Typescript)
12 stars 15 forks source link

Cannot find module 'qs' #6

Open TwinkieLover opened 1 year ago

TwinkieLover commented 1 year ago

Env:

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.