GithubHelp home page GithubHelp logo

webim-react-native's Issues

传图片的时候失败

message.js:
var _complete = function (data) {
console.log(data);//
2017-03-02 10 20 44

MessageRedux.js:
onFileUploadError: function (error) {
console.log(error)
dispatch(Creators.updateMessageStatus(pMessage, 'fail'))
},//
2017-03-02 10 22 29

windows环境下执行npm run newclear报错

是在git的cmd下执行的命令,报rm不是内部命令的错
在git的bash下执行,一开始报watchman不是内部命令的错,然后在bash下执行了npm install watchman,接着执行npm run newclear,报[email protected] install :'make install'的错。
下面是截图:
00r 2 xb80 6 tuprpd8f r
Uploading error.png…
Uploading npmi.png…
Uploading P(7M8W{Q~OW$%DZ6QRRV$85.png…

WTF

what the fuck in this doc.

demo程序无法npm install

知道情况吗?
make: *** [install] Error 1
npm WARN [email protected] requires a peer of react@~15.4.0-rc.4 but none was installed.
npm WARN [email protected] requires a peer of react-native@>=0.40.0 but none was installed.

npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! [email protected] install: make install
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm install 报错

localhost:webim-react-native-master ZS$ npm install

[email protected] install /Users/ZS/Downloads/webim-react-native-master/node_modules/linter
make install

cd ./deps/closure-linter && python ./setup.py install
running install
Checking .pth file support in /Library/Python/2.7/site-packages/
error: can't create or remove files in install directory

The following error occurred while trying to add or remove files in the
installation directory:

[Errno 13] Permission denied: '/Library/Python/2.7/site-packages/test-easy-install-3913.pth'

The installation directory you specified (via --install-dir, --prefix, or
the distutils default setting) was:

/Library/Python/2.7/site-packages/

Perhaps your account does not have write access to this directory? If the
installation directory is a system-owned directory, you may need to sign in
as the administrator or "root" account. If you do not have administrative
access to this machine, you may wish to choose a different installation
directory, preferably one that is listed in your PYTHONPATH environment
variable.

For information on other options, you may wish to consult the
documentation at:

https://pythonhosted.org/setuptools/easy_install.html

Please make the appropriate changes for your system and try again.

make: *** [install] Error 1
npm WARN [email protected] requires a peer of react@~15.4.0-rc.4 but none was installed.
npm ERR! Darwin 15.5.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install"
npm ERR! node v6.2.2

执行npm install有问题

npm ERR! path C:\Users\Administrator\Desktop\webim-react-native-master\node_modu
les.staging\react-native-maps-3d13639f\android\build\generated\mockable-android
-23.jar
npm ERR! code EPERM
npm ERR! errno -4048
npm ERR! syscall unlink
npm ERR! Error: EPERM: operation not permitted, unlink 'C:\Users\Administrator\D
esktop\webim-react-native-master\node_modules.staging\react-native-maps-3d13639
f\android\build\generated\mockable-android-23.jar'
npm ERR! { Error: EPERM: operation not permitted, unlink 'C:\Users\Administrato
r\Desktop\webim-react-native-master\node_modules.staging\react-native-maps-3d13
639f\android\build\generated\mockable-android-23.jar'
npm ERR! cause:
npm ERR! { Error: EPERM: operation not permitted, unlink 'C:\Users\Administra
tor\Desktop\webim-react-native-master\node_modules.staging\react-native-maps-3d
13639f\android\build\generated\mockable-android-23.jar'
npm ERR! errno: -4048,
npm ERR! code: 'EPERM',
npm ERR! syscall: 'unlink',
npm ERR! path: 'C:\Users\Administrator\Desktop\webim-react-native-maste
r\node_modules\.staging\react-native-maps-3d13639f\android\build\generated
\mockable-android-23.jar' },
npm ERR! stack: 'Error: EPERM: operation not permitted, unlink 'C:\Users\Ad
ministrator\Desktop\webim-react-native-master\node_modules\.staging\react-n
ative-maps-3d13639f\android\build\generated\mockable-android-23.jar'',
npm ERR! errno: -4048,
npm ERR! code: 'EPERM',
npm ERR! syscall: 'unlink',
npm ERR! path: 'C:\Users\Administrator\Desktop\webim-react-native-master\
node_modules\.staging\react-native-maps-3d13639f\android\build\generated\m
ockable-android-23.jar',
npm ERR! parent: 'app' }
npm ERR!
npm ERR! The operation was rejected by your operating system.
npm ERR! It's possible that the file was already in use (by a text editor or ant
ivirus),
npm ERR! or that you lack permissions to access it.
npm ERR!
npm ERR! If you believe this might be a permissions issue, please double-check t
he
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator (though this is not recommended
).

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Administrator\AppData\Roaming\npm-cache_logs\2018-09-30T0
3_14_12_772Z-debug.log

ios启动错误,是为什么呢

/Applications/MAMP/htdocs/int/webim-react-native/node_modules/react-native-maps/ios/AirMaps/Callout/SMCalloutView.h:43:36: Cannot find protocol declaration for 'CAAnimationDelegate'; did you mean 'UIApplicationDelegate'?

按照步骤接入后引用strophe-1.2.8.js报错

error: bundling failed: Error: require() must have a single string literal argument: G:\workspace\react-native\RepaireApp\Util\webIM\Sdk\dist\strophe-1.2.8.js:3229
环境:
react:16.0.0
react-native:0.51.0
xmldom:0.1.27

这个ReadMe写的真是!

Two years ago!
基本可以不看了!
环信这么大厂,
连React Native都不覆盖!
真是啊!
我开始自己写了!

Image Not Render with Url

When other people sent me a image, I can get the url of the image with format like this:

https://a1.easemob.com/OrgName/AppName/chatfiles/58428910-b005-11e7-b5b3-9324bb6f1d17

But when render the image with code:

<Image source={{uri: body.uri || body.url}}
style={[Styles.rowImage, {width, height}]}/>

it just not work.

Environment:
React Native version: 0.48.4

I wonder whether other people encounter the same problem or am I doing something wrong. Thank you very much.

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.