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

ReferenceError: TextDecoder is not defined #4

Closed
johnnyshankman opened this issue Jun 1, 2021 · 2 comments
Closed

ReferenceError: TextDecoder is not defined #4

johnnyshankman opened this issue Jun 1, 2021 · 2 comments

Comments

@johnnyshankman
Copy link

Fresh install, MacOS Mojave with npm install @textury/arkb

/.../arweave-deploy-testing/node_modules/multibase/src/util.js:3
const textDecoder = new TextDecoder()

package.json:

{
  "name": "arweave-deploy-testing",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1",
    "deploy": "arkb deploy deploy/index.html --wallet assume/this/is/correct.json",

  },
  "author": "",
  "license": "ISC",
  "dependencies": {
    "@textury/arkb": "^1.1.4"
  }
}
@johnnyshankman
Copy link
Author

johnnyshankman commented Jun 1, 2021

Able to deploy no problem using arweave-deploy

arweave deploy deploy/index.html --key-file assume/this/is/correct.json

Not a long term solution because my file is over 10mb.

@johnnyshankman
Copy link
Author

Solved: This repo requires node V14 or higher. I was on V12.

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