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

str.charCodeAt is not a function #4

Open
James-HHH opened this issue Dec 1, 2020 · 1 comment
Open

str.charCodeAt is not a function #4

James-HHH opened this issue Dec 1, 2020 · 1 comment

Comments

@James-HHH
Copy link

James-HHH commented Dec 1, 2020

It says that at node_modules/xor-crypt/xor-crypt.js:42

output += String.fromCharCode(key ^ str.charCodeAt(i))
                                        ^

TypeError: str.charCodeAt is not a function
    at xorCrypt (<project folder>\node_modules\�[4mxor-crypt�[24m\xor-crypt.js:42:47)
    at <project folder>\index.js:8:27
�[90m    at FSReqCallback.readFileAfterClose [as oncomplete] (internal/fs/read_file_context.js:63:3)�[39m

<project folder> is a replacement name, not the actual directory

@RobLoach
Copy link
Owner

RobLoach commented Dec 1, 2020

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

2 participants