olofd / react-native-insta-photo-studio Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
After installing a few dependencies that seemed to be missing:
2003 npm install --save glob
2010 npm install --save xmldoc
2012 npm install --save npmlog
2014 npm install --save chalk
2016 npm install --save xcode
That last one seems to be OSX specific :(
Looks like there is a dependency on react-native-photos-framework
but it's looking for it in the project root as opposed to a separate module provided by npm. Not sure if this was intentional or not but the end result is that the package does not currently work when dropped into a project.
Also missing is what appears to be an extended event-emitter
(one that declares a onAlbumAssetServiceChanged
method?) also expected to be in the root.
src/services/camera-roll-service.js
is an example that looks for both dependencies.
moment-duration-format
and react-native-video
There might be more missing dependencies but this is as far as I got. I'd try to clone this git repo into a sample project and try to run it, you'll probably come across the rest.
Also as I started debugging these issues I noticed the absolute breathtaking amount of work that has gone into this project. Kudos and congratulations are in order on just getting to this point. I can't wait to play around with it and add PR's.
Hi, whenever we select the album from dropdown menu, it fetches that album assets again and again. Is there a better way to this without fetching every time, maybe a cache mechanism ? Instagram app, the flow is so smooth, how can we achieve such that performance ?
npm install
[email protected] postinstall /Users/loiclopez/react-native-insta-photo-studio/node_modules/react-native-photos-framework
node install.js
module.js:557
throw err;
^
Error: Cannot find module 'glob'
at Function.Module._resolveFilename (module.js:555:15)
at Function.Module._load (module.js:482:25)
at Module.require (module.js:604:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/Users/loiclopez/react-native-insta-photo-studio/node_modules/react-native-photos-framework/local-cli/core/config/android/index.js:3:14)
at Module._compile (module.js:660:30)
at Object.Module._extensions..js (module.js:671:10)
at Module.load (module.js:573:32)
at tryModuleLoad (module.js:513:12)
at Function.Module._load (module.js:505:3)
npm WARN [email protected] requires a peer of react@* but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of gl-react@~2.2.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of gl-react@~2.2.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of gl-react@~2.2.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of gl-react@~2.2.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of gl-react@~2.2.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of react-native@* but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of gl-react@~2.2.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of react-native@>=v0.14.2 but none is installed. You must install peer dependencies yourself.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] postinstall: `node install.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/loiclopez/.npm/_logs/2018-01-20T14_57_34_517Z-debug.log
The YouTube video is possibly private.
The link goes to https://www.youtube.com/**edit**?video_id=w2MZMxMO0js
.
https://www.youtube.com/watch?v=w2MZMxMO0js
doesn't show anything either.
How To Used It, Ur Library Is Not Install in my existing project...
npm i react-native-insta-photo-studio --save
npm WARN deprecated [email protected]: WARNING: This project has been renamed to @react-native-community/blur. Install using @react-native-community/blur instead.
[email protected] postinstall E:\My React Project\NessaStyleGithub\client\node_modules\react-native-insta-photo-studio> node install.js
internal/modules/cjs/loader.js:968
throw err;
^
Error: Cannot find module 'npmlog'
Require stack:
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] postinstall: node install.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\uxdlab\AppData\Roaming\npm-cache_logs\2020-12-14T09_00_03_567Z-debug.log
PS E:\My React Project\NessaStyleGithub\client>
I left this note in a reddit comment but figured this was the proper channel for this.
You probably just need to bump the version and publish again.
The YouTube video is possibly private.
The link goes to https://www.youtube.com/**edit**?video_id=w2MZMxMO0js
.
https://www.youtube.com/watch?v=w2MZMxMO0js
doesn't show anything either.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.