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
I have a ts project with webpack.
I have installed the package with npm: npm i @tarekraafat/autocomplete.js.
I have add the library in my file: import { autoComplete } from "@tarekraafat/autocomplete.js";
I try to create a autocomplete using demo example:
I receive this error: Uncaught TypeError: tarekraafat_autocomplete_js__WEBPACK_IMPORTED_MODULE_0_.autoComplete is not a constructor
System Information
Browser type and version: Chrome Version 93.0.4577.63
OS type and version: MacOs Big Sur version 11.5.2
WINDOWS: be sure to indicate which terminal you're using -- (i.e., cmd.exe, powershell, git- bash, cygwin, Ubuntu via windows subsystem for linux, etc...): teminale shz inside visaul studio
Node version (IF applicable) v14.17.0
Any error messages that may be in the console where you ran npm start
Any error messages in the JS console: Uncaught TypeError: tarekraafat_autocomplete_js__WEBPACK_IMPORTED_MODULE_0_.autoComplete is not a constructor
Describe the bug
When I call const autoCompleteJS = new autoComplete({options}) the error below return
To Reproduce
Steps to reproduce the behavior: <!-- Example below-!>
Open the app
Expected behavior
Create the autocomplete
Screenshots or GIF's (optional, but HIGHLY RECOMMENDED)
If applicable, add screenshots to help explain your problem.
Additional context (optional)
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
I have a ts project with webpack.
I have installed the package with npm:
npm i @tarekraafat/autocomplete.js.
I have add the library in my file:
import { autoComplete } from "@tarekraafat/autocomplete.js";
I try to create a autocomplete using demo example:
I receive this error: Uncaught TypeError: tarekraafat_autocomplete_js__WEBPACK_IMPORTED_MODULE_0_.autoComplete is not a constructor
System Information
Describe the bug
When I call const autoCompleteJS = new autoComplete({options}) the error below return
To Reproduce
Steps to reproduce the behavior: <!-- Example below-!>
Open the app
Expected behavior
Create the autocomplete
Screenshots or GIF's (optional, but HIGHLY RECOMMENDED)
If applicable, add screenshots to help explain your problem.
Additional context (optional)
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: