Coder Social home page Coder Social logo

Comments (9)

kabonKoda avatar kabonKoda commented on May 20, 2024 1

Just fix this here too .... in your node modules go to mathjax-full/components/version.js

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.VERSION = void 0;
exports.VERSION = (typeof PACKAGE_VERSION === 'undefined' ?
(function () {
return require('../../package.json').version;
})() :
PACKAGE_VERSION);
//# sourceMappingURL=version.js.map

paste this there

from react-native-math-view.

ShaMan123 avatar ShaMan123 commented on May 20, 2024

I don't know.
Try using resolutions field in package.json for react-native.

from react-native-math-view.

arifsuheyl avatar arifsuheyl commented on May 20, 2024

Thanks. It worked!

from react-native-math-view.

ShaMan123 avatar ShaMan123 commented on May 20, 2024

@kabonKoda what does it fix? What is broken?

from react-native-math-view.

arifsuheyl avatar arifsuheyl commented on May 20, 2024

@kabonKoda what does it fix? What is broken?

there was a problem In node_modules/mathjax-full/components/version.js file.

var load = eval('require');
var dirname = eval('__dirname');
var path = load('path');
return load(path.resolve(dirname, '..', '..', 'package.json')).version;
In this code eval('require') gives an error about require and linking package.json manually worked.

from react-native-math-view.

pkra avatar pkra commented on May 20, 2024

If this is related to v3.2.1, then mathjax/MathJax-src#818 is probably worth a read.

from react-native-math-view.

ShaMan123 avatar ShaMan123 commented on May 20, 2024

@pkra thanks for the intel.
You guys can do as suggested in that link until this is resolved.
You can use some patching mechanism like yarn patch instead.
I'd appreciate checking in or PRing if someone has a valid solution

from react-native-math-view.

ShaMan123 avatar ShaMan123 commented on May 20, 2024

https://github.com/apache/openmeetings/blob/master/openmeetings-web/src/main/front/wb/src/wb-tool-stat-math.js#L5

from react-native-math-view.

ShaMan123 avatar ShaMan123 commented on May 20, 2024

I have pushed a commit, hopefully is fixes this issue until mathjax fixes it upstream.
My android studio is not letting me load the emulator.
I'd appreciate if you guys could clone the repo and test locally that everything works.
I'll release a version once the fix is confirmed.

from react-native-math-view.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.