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

Error: Encoding not recognized: 'cp720' (searched as: 'cp720') #36

Open
M90K7 opened this issue Jun 3, 2019 · 0 comments
Open

Error: Encoding not recognized: 'cp720' (searched as: 'cp720') #36

M90K7 opened this issue Jun 3, 2019 · 0 comments

Comments

@M90K7
Copy link

M90K7 commented Jun 3, 2019

When call below func on the Windows 10 :

network.get_interfaces_list(function(err, list) {
    console.log(err || list);
})

---Error----------------------

\network\node_modules\iconv-lite\lib\index.js:106
                throw new Error("Encoding not recognized: '" + encoding + "' (searched as: '"+enc+"')");
                ^

Error: Encoding not recognized: 'cp720' (searched as: 'cp720')
    at Object.getCodec (F:\Example-Project\network\node_modules\iconv-lite\lib\index.js:106:23)
    at Object.getDecoder (F:\Example-Project\network\node_modules\iconv-lite\lib\index.js:127:23)
    at Object.decode (F:\Example-Project\network\node_modules\iconv-lite\lib\index.js:40:25)
    at F:\Example-Project\network\node_modules\wmic\index.js:228:20
    at Array.map (<anonymous>)
    at stringifyBufferArray (F:\Example-Project\network\node_modules\wmic\index.js:227:18)
    at F:\Example-Project\network\node_modules\wmic\index.js:214:25
    at err (F:\Example-Project\network\node_modules\wmic\node_modules\async\dist\async.js:2939:19)
    at wrapper (F:\Example-Project\network\node_modules\wmic\node_modules\async\dist\async.js:270:20)
    at iteratorCallback (F:\Example-Project\network\node_modules\wmic\node_modules\async\dist\async.js:497:17)

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