Skip to content

"ReferenceError: Can't find variable: process" after update to 0.14.2 #4098

@robingedda

Description

@robingedda

Hi,

I updated to version 0.14.2 from 0.13 and getting errors referring to variable "process" that does not yet exist.

First location it fails is here in the main.jsbundle:

var ReactPerf={
enableMeasure:false,
storedMeasure:_noMeasure,
measureMethods:function(object,objectName,methodNames){
if(process.env.NODE_ENV !== 'production'){

My package.json:

{
"private": true,
"scripts": {
"start": "node_modules/react-native/packager/packager.sh"
},
"dependencies": {
"art": "^0.10.0",
"flux-util": "0.1.1",
"immutable": "^3.7.4",
"is-promise": "^2.0.0",
"parse": "^1.6.9",
"parse-react": "^0.5.0",
"pure-render-decorator": "^0.1.0",
"react": "^0.14.2",
"react-dom": "^0.14.2",
"react-native": "^0.14.2",
"react-native-carousel": "^0.3.5",
"react-native-image-picker": "^0.9.0",
"react-native-linear-gradient": "^1.1.0-alpha",
"react-native-navbar": "^0.5.2",
"react-native-video": "^0.6.1",
"react-pure-render": "^1.0.2",
"react-timer-mixin": "^0.13.2"
}
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions