kickstartcrew/redux-offline-queue

Error: While trying to resolve module `redux-offline-queue`

Closed this issue · 1 comments

installed redux-offline-queue v1.0.5 using yarn
In the node_modules directory after install looks like this:
screen shot 2018-12-17 at 3 14 36 am

used this Repo as guide

Got the following error at build:

error: bundling failed: Error: While trying to resolve module `redux-offline-queue` from file `/Users/jasan/Documents/coding/reactNativeStarter/App/Redux/index.js`, the package `/Users/jasan/Documents/coding/reactNativeStarter/node_modules/redux-offline-queue/package.json` was successfully found. However, this package itself specifies a `main` module field that could not be resolved (`/Users/jasan/Documents/coding/reactNativeStarter/node_modules/redux-offline-queue/lib/index.js`. Indeed, none of these files exist:

  * `/Users/jasan/Documents/coding/reactNativeStarter/node_modules/redux-offline-queue/lib/index.js(.native||.ios.js|.native.js|.js|.ios.json|.native.json|.json|.ios.ts|.native.ts|.ts|.ios.tsx|.native.tsx|.tsx)`
  * `/Users/jasan/Documents/coding/reactNativeStarter/node_modules/redux-offline-queue/lib/index.js/index(.native||.ios.js|.native.js|.js|.ios.json|.native.json|.json|.ios.ts|.native.ts|.ts|.ios.tsx|.native.tsx|.tsx)

Update:
I think you forgot to build before npm publish for v1.0.5. v1.0.4 works

@jasan-s Whoops! I switched machines and indeed missed it. Thanks for reporting this! v1.0.6 should be live shortly.