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

Embark build is creating strange characters that bug when deployed on IPFS #2436

Closed
3esmit opened this issue Oct 6, 2020 · 1 comment · Fixed by #2437
Closed

Embark build is creating strange characters that bug when deployed on IPFS #2436

3esmit opened this issue Oct 6, 2020 · 1 comment · Fixed by #2437

Comments

@3esmit
Copy link
Contributor

3esmit commented Oct 6, 2020

Bug Report

image

Summary

When uploading to ipfs, the dapp dont works. Digging into the error, I found it is generating some strange characters. In inspection on the dist folder, seems like embark is using a strange space character.

Current behavior

Cant upload to ipfs an embark build

How to reproduce

embark demo + embark upĺoad

Please provide additional information about your system

OS: Linux
Embark Version: npx embark version: 6.0.0
Node Version: 10.17.0
NPM Version: 6.14.5

Sometimes issues are related to Embark's installation. Can you provide information on how Embark was installed?

As a project dependency.

@3esmit
Copy link
Contributor Author

3esmit commented Oct 7, 2020

Encoding error:
Special character (a0c2) used in
// "./node_modules/web3-utils/node_modules/eth-lib/lib/hash.js":
/
/ "./node_modules/swarm-js/lib/swarm.js":

Is being wrongly encoded by ipfs. IPFS is loading file on ISO-8859-1 (Windows), instead of UTF-8.

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

Successfully merging a pull request may close this issue.

1 participant