-
Notifications
You must be signed in to change notification settings - Fork 65
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
Attempted to assign to readonly property - Error #23
Comments
am also facing this issue. could anyone help to fix this issue? |
@praba1989 Please refer solution from following: If you will face this problem again after that solution, Please let me know. |
Hi @hjain1 After adding this line am facing error like "attempted to assign to readonly property" Let me check with this new project Thanks |
@praba1989 Please Don't install dialogFlow Library from yarn. Install it with npm. It should resolve your issue. DialogFlow doesn't support yarn. |
Hi @hjain1 I used npm |
I used "react-native": "0.44.0" it's works for me.. Thanks |
Hi ,
We are facing attached issue after adding this library to our exitsting project. please guide us if anyone can.
I am attaching code also.
'use strict';
import React, { Component } from 'react';
import { View, Text, Platform, StyleSheet, TouchableOpacity, Animated, ScrollView, Image, TextInput, Keyboard } from 'react-native';
**import Dialogflow from "react-native-dialogflow";
var userMsgtime, botResponseTime;
export default class App extends Component {
constructor() {
super();
}
const styles = StyleSheet.create(
{
textInput: {
flex: 1,
fontSize: 16,
textAlign: 'left',
backgroundColor: 'white',
borderRadius: 20,
margin: 5,
paddingLeft: 10,
paddingRight: 10,
paddingTop: 5,
paddingBottom: 5,
flexWrap: 'wrap',
},
container:
{
flex: 1,
// backgroundColor: '#FADBD8',
Thanks in advance.
The text was updated successfully, but these errors were encountered: