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

TypeError: Ascii is not a constructor #10

Open
danb-ix opened this issue Mar 17, 2022 · 0 comments
Open

TypeError: Ascii is not a constructor #10

danb-ix opened this issue Mar 17, 2022 · 0 comments

Comments

@danb-ix
Copy link

danb-ix commented Mar 17, 2022

Using the code in the readme.md file, it writes the error.

`
var pic = new Ascii('https://i.imgur.com/rNd3mIH.png');
^

TypeError: Ascii is not a constructor
at Object. (C:\Users\Daniel.DESKTOP-HNMIRLQ\Desktop\random projects\image to ascii\index.js:2:11)
?[90m at Module._compile (node:internal/modules/cjs/loader:1101:14)?[39m
?[90m at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)?[39m
?[90m at Module.load (node:internal/modules/cjs/loader:981:32)?[39m
?[90m at Function.Module._load (node:internal/modules/cjs/loader:822:12)?[39m
?[90m at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:79:12)?[39m
?[90m at node:internal/main/run_main_module:17:47?[39m
`

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