Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Failed to install #16

Description

@nolife08021

Failed to install with "npm install --save react-native-math-view"

npx: installed 1 in 2.895s
error TS5023: Unknown compiler option 'downlevelIteration'.
error TS5023: Unknown compiler option 'lib'.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! mathjax-full@3.0.0 compile: npx tsc
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the mathjax-full@3.0.0 compile script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?

npm ERR! A complete log of this run can be found in:
npm ERR! /Users/admin/.npm/_logs/2019-11-18T02_56_23_447Z-debug.log
fs.js:114
throw err;
^

Error: ENOENT: no such file or directory, copyfile '/Users/admin/myMathProject/node_modules/mathjax-full/ts/input/tex/mhchem/mhchem_parser.js' -> '/Users/admin/myMathProject/node_modules/mathjax-full/js/input/tex/mhchem/mhchem_parser.js'
at Object.copyFileSync (fs.js:1728:3)
at Object. (/Users/admin/myMathProject/node_modules/react-native-math-view/scripts/compileMathjax.js:22:4)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3)

Error: react-native-math-view@3.3.4 postinstall: node ./scripts/compileMathjax && tsc
Exit status 1
at EventEmitter. (/usr/local/lib/node_modules/npm/node_modules/npm-
lifecycle/index.js:301:16)
at EventEmitter.emit (events.js:198:13)
at ChildProcess. (/usr/local/lib/node_modules/npm/node_modules/npm-
lifecycle/lib/spawn.js:55:14)
at ChildProcess.emit (events.js:198:13)
at maybeClose (internal/child_process.js:982:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
pkgid react-native-math-view@3.3.4

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions