wollardj / simple-plist

A simple API for interacting with binary and plain text plist data.
MIT License
56 stars 22 forks source link

ReferenceError: define is not defined #57

Closed nicolasdev1 closed 3 years ago

Ajmal0197 commented 3 years ago

Getting this error in react-native run-ios command:

error define is not defined.
ReferenceError: define is not defined
    at Object.<anonymous> (/Users/ajmal/Desktop/RN_Projects/Dealer_App/node_modules/simple-plist/dist/index.js:4:1)
    at Module._compile (internal/modules/cjs/loader.js:1085:14)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
    at Module.load (internal/modules/cjs/loader.js:950:32)
    at Function.Module._load (internal/modules/cjs/loader.js:790:12)
    at Module.require (internal/modules/cjs/loader.js:974:19)
    at require (internal/modules/cjs/helpers.js:93:18)
    at Object.<anonymous> (/Users/ajmal/Desktop/RN_Projects/Dealer_App/node_modules/xcode/lib/pbxProject.js:28:13)
    at Module._compile (internal/modules/cjs/loader.js:1085:14)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
info Run CLI with --verbose flag for more details.

Plz help....

wollardj commented 3 years ago

@Ajmal0197 @nicolasdev1 my apologies. That was from a bad npm package that was published last night. The invalid builds have been marked as deprecated and replaced with v1.3.0. I'll leave this issue open for a bit in case anyone else runs into the problem, but it should be back in working order at this point.

nicolasdev1 commented 3 years ago

No problem, @wollardj. These things happen, thanks for the quick support!

wollardj commented 3 years ago

No other reports in over a week - closing.