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

Error on install: Attempt to change mapping for "otf" extension from "font/otf" to "font/opentype". #94

Open
indapublic opened this issue Nov 19, 2018 · 1 comment

Comments

@indapublic
Copy link

node -v
v8.12.0

yarn -v
1.12.3

I see error while installing.

yarn add react-native-photos-framework

error /path/to/project/node_modules/react-native-photos-framework: Command failed.
Exit code: 1
Command: node install.js
Arguments:
Directory: /path/to/project/node_modules/react-native-photos-framework
Output:
/path/to/project/node_modules/mime/Mime.js:48
throw new Error(
^

Error: Attempt to change mapping for "otf" extension from "font/otf" to "font/opentype". Pass force=true to allow this, otherwise remove "otf" from the list of extensions for "font/opentype".
at Mime.define (/path/to/project/node_modules/mime/Mime.js:48:15)
at Object. (/path/to/project/node_modules/react-native-photos-framework/local-cli/link/groupFilesByType.js:9:6)
at Module._compile (module.js:653:30)
at Object.Module._extensions..js (module.js:664:10)
at Module.load (module.js:566:32)
at tryModuleLoad (module.js:506:12)
at Function.Module._load (module.js:498:3)
at Module.require (module.js:597:17)

mbfisher added a commit to mbfisher/react-native-photos-framework that referenced this issue Aug 15, 2019
arneson pushed a commit to Pelagio/react-native-photos-framework that referenced this issue Sep 2, 2019
pinqy520 added a commit to ifaceparty/react-native-photos-framework that referenced this issue Sep 3, 2019
ruvater added a commit to ruvater/react-native-photos-framework that referenced this issue Oct 4, 2019
RalfNieuwenhuizen added a commit to relivecc/react-native-photos-framework that referenced this issue Dec 17, 2019
jochem725 added a commit to relivecc/react-native-photos-framework that referenced this issue Jan 9, 2020
@tvpranav
Copy link

tvpranav commented Jun 5, 2020

@jochem725 Still getting this issue while installing library in react-native 0.61.4. Could you please help me to get out of this issue?
Also having this library in my project ->
"react-native-video": "git://github.com/olofd/react-native-video.git#react-native-photos-framework"

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