You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
const snippet = new HTTPSnippet({
^
TypeError: HTTPSnippet is not a constructor
at Object.<anonymous> (/Users/cpandit/WebstormProjects/untitled1/index.js:6:17)
at Module._compile (node:internal/modules/cjs/loader:1103:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1157:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
at node:internal/main/run_main_module:17:47
➜ untitled1
Activity
deadnight7 commentedon Nov 4, 2022
Update the README docs needs to be updated
I tried doing a named export, which should have been default export in httpsnippet library, like this
cocowalla commentedon Oct 14, 2024
Did you ever get this working? It worked for me prior to v3, but now I get the same:
Results in: