jduncanator / node-diskusage

Node.js bindings around platform specific disk usage interfaces.
MIT License
152 stars 50 forks source link

Module parse failed: Unexpected character '�' (1:2) #52

Open 279zlj opened 4 years ago

279zlj commented 4 years ago

npm install diskusage run electron:server Module parse failed: Unexpected character '�' (1:2) You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
(Source code omitted for this binary file) how to do?

nathantouze commented 1 year ago

Up. Had exactly the same issue. There also is this line above the error: ERROR in ./node_modules/diskusage/build/Release/diskusage.node 1:2