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

"You may need an additional loader to handle the result of these loaders. " #28

Open
CrossedCarpet opened this issue Feb 22, 2023 · 1 comment

Comments

@CrossedCarpet
Copy link

Solved by changing package.json:

  "browserslist": {
    "production": [
      ">0.2%",
      "not dead",
      "not op_mini all"
    ],
    "development": [
      "last 1 chrome version",
      "last 1 firefox version",
      "last 1 safari version"
    ]
  }

To:

  "browserslist": {
    "production": [
      ">0.2%",
      "not dead",
      "not op_mini all"
    ],
        "development": [
      ">0.2%",
      "not dead",
      "not op_mini all"
    ]
  }

Maybe it's worth updating the repo with it.

@limikael
Copy link

although... I had to change both production and development to:

  "browserslist": {
    "production": [
      "chrome >= 67",
      "edge >= 79",
      "firefox >= 68",
      "opera >= 54",
      "safari >= 14"    ],
    "development": [
      "chrome >= 67",
      "edge >= 79",
      "firefox >= 68",
      "opera >= 54",
      "safari >= 14"
    ]
  }

Otherwise I got an error Cannot convert a BigInt value to a number. I found the fix here: starknet-io/starknet.js#37

Worked for me, but can't explain the actual root cause though...

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

2 participants