Comments (9)
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.
I don't know.
Try using resolutions field in package.json for react-native.
from react-native-math-view.
Thanks. It worked!
from react-native-math-view.
@kabonKoda what does it fix? What is broken?
from react-native-math-view.
@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.
If this is related to v3.2.1, then mathjax/MathJax-src#818 is probably worth a read.
from react-native-math-view.
@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.
from react-native-math-view.
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)
- How to change font family and font style HOT 1
- Custom Fonts HOT 4
- \hline is not showing with vertical addition(IOS) HOT 9
- How to draw \begin{cases} ? HOT 2
- Require cycle from node_modules HOT 4
- font size config not working for MathText HOT 6
- Support for MathML input HOT 6
- Some LaTeX symbols not rendering HOT 6
- How to suppress errors that cause app crash? HOT 1
- Set a different color (for dark backgrounds) HOT 1
- Curly braces are broken to 3 pieces HOT 1
- Invariant Violation: requireNativeComponent: "RNMathView" was not found in the UIManager HOT 1
- Everything working and then suddenly got RNMathView" was not found in the UIManager. HOT 8
- Unrecognized font family 'serif' at ios HOT 1
- Warning with new RN version 0.69+ HOT 2
- tests
- The lib does not correctly render some latex types that are normally rendered by MathJax HOT 7
- MathView container styling between Android and iOS is inconsistent HOT 3
- getting RNMathVIew not found in UI Manager. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-math-view.