Closed Sylor-huang closed 2 years ago
This library is for Node.js/Deno not browsers. You should ask for help in "vite" forum on how to use it, not here
ok
Yeah this is a Vite error. You will need to exclude the dependency from being processed by Vite:
I use vite to create a project in local
But when I start project, I get the error:
Big integer literals are not available in the configured target environment ("chrome87", "edge88", "es2019", "firefox78", "safari13.1")
es2020
,but it will get another error:ReferenceError: Buffer is not defined
https://github.com/sveltejs/kit/issues/859#issuecomment-894556133
Could you please give me some suggestions for modification? Thanks so much