React-native-vector-icons: Error once import react-native-vector-icons with version 0.52.2

Created on 31 Jan 2018  Â·  6Comments  Â·  Source: oblador/react-native-vector-icons

import Icon from 'react-native-vector-icons/FontAwesome';

Error :
The development server returned response error code: 500

URL: http://10.0.3.2:8081/index.delta?platform=android&dev=true&minify=false&deltaBundleId=0

Body:
{"type":"InternalError","errors":[],"message":"Metro Bundler has encountered an internal error, please check your terminal error output for more details"}
processBundleResult
BundleDownloader.java:242
access$100
BundleDownloader.java:41
onResponse
BundleDownloader.java:208
execute
RealCall.java:135
run
NamedRunnable.java:32
runWorker
ThreadPoolExecutor.java:1113
run
ThreadPoolExecutor.java:588
run
Thread.java:818

duplicate wontfix

Most helpful comment

在项目根目录下执行命令
rm ./node_modules/react-native/local-cli/core/__fixtures__/files/package.json

All 6 comments

I have the same problem

i think this error only with the latest version 0.52
i installed 0.51 and it works with me

try run command >> killall node

在项目根目录下执行命令
rm ./node_modules/react-native/local-cli/core/__fixtures__/files/package.json

Was this page helpful?
0 / 5 - 0 ratings

Related issues

reactor123 picture reactor123  Â·  3Comments

tharrington picture tharrington  Â·  4Comments

semnyqu picture semnyqu  Â·  3Comments

AbhayVarshney picture AbhayVarshney  Â·  3Comments

emretekince picture emretekince  Â·  4Comments