gre / gl-react-blur

Universal gl-react multi-pass gaussian Blur effect with configurable intensity
38 stars 7 forks source link

undefined is not a object (evaluating PropTypes.array) #6

Closed guitar9 closed 6 years ago

guitar9 commented 6 years ago

hi i get the error when i want to import like this: import blur from "gl-react-blur" "undefinded is not a object (evaluating PropTypes.array) Package JSON:

{
  "name": "image2",
  "version": "0.0.1",
  "private": true,
  "scripts": {
    "start": "node node_modules/react-native/local-cli/cli.js start",
    "test": "jest"
  },
  "dependencies": {
    "gl-react": "^2.3.1",
    "gl-react-native": "^2.48.0",
    "gl-react-blur": "^1.3.0",
    "react": "16.2.0",
    "react-native": "0.52.0"
  },
  "devDependencies": {
    "babel-jest": "22.0.6",
    "babel-preset-react-native": "4.0.0",
    "jest": "22.0.6",
    "react-test-renderer": "16.2.0"
  },
  "jest": {
    "preset": "react-native"
  }
}

When i am typing npm install i get the following Messages:

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.1.1 (node_modules/sane/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN gl-react-blur@1.3.0 requires a peer of gl-react@~2.2.0 but none was installed.
npm WARN gl-react-image@0.1.0 requires a peer of gl-react@~2.2.0 but none was installed.
npm WARN gl-react-negative@1.1.0 requires a peer of gl-react@~2.2.0 but none was installed.
anthonywebb commented 6 years ago

Seeing the same thing, did you find a solution?

guitar9 commented 6 years ago

No i think it is a general problem with third party packages.

gre commented 6 years ago

if using gl-react v2, 1.4.0 was release fixing this if using gl-react v3, 2.0.0 is released