infinitered/ignite-andross

Uncaught TypeError: api.on is not a function

waleedarshad opened this issue · 4 comments

Hi while running npm run storybook. I got this error.
What should I do now?

Hi @waleedarshad, can you paste in the whole error plus the results of ignite doctor please?

Hi @jamonholmgren I am able to resolve it after updating all my storyboard version
`- "@storybook/addon-actions": "5.0.11",

  • "@storybook/addon-links": "5.0.11",
  • "@storybook/addon-storyshots": "^4.1.11",
  • "@storybook/addons": "^4.1.11",
  • "@storybook/channels": "^4.1.11",
  • "@storybook/react-native": "^4.1.11",

=============To=================

  • "@storybook/addon-actions": "v5.2.0-rc.2",
  • "@storybook/addon-knobs": "v5.2.0-rc.2",
  • "@storybook/addon-links": "v5.2.0-rc.2",
  • "@storybook/addon-ondevice-knobs": "v5.2.0-rc.2",
  • "@storybook/addon-ondevice-notes": "v5.2.0-rc.2",
  • "@storybook/addons": "v5.2.0-rc.2",
  • "@storybook/react-native": "v5.2.0-rc.2",
  • "@storybook/react-native-server": "v5.2.0-rc.2",`

platform darwin

arch x64
cpu 8 cores Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz
directory /Users/macbookpro/Documents/pfm_app

JavaScript
node 12.9.1 /usr/local/bin/node
npm 6.10.3 /usr/local/bin/npm
yarn 1.17.3 /usr/local/bin/yarn

React Native
react-native-cli 2.0.1
app rn version 0.59.9

Ignite
ignite-cli 3.1.6 /usr/local/bin/ignite
createdWith -
boilerplate ignite-andross
examples classic
navigation react-navigation
askToOverwrite true
generators {"component":"ignite-andross","container":"ignite-andross","listview":"ignite-andross","list":"ignite-andross","redux":"ignite-andross","saga":"ignite-andross","screen":"ignite-andross"}

Android
java 1.8.0_222 /usr/bin/java
android home - /Users/macbookpro/Library/Android/sdk

iOS
xcode

@waleedarshad Would you want to submit a PR to this repo that updates all those packages in the boilerplate package.json?