kickstartcrew / redux-offline-queue

Simple offline queue for redux. Queue actions while offline to dispatch the requests upon connectivity.
Other
136 stars 17 forks source link

Uncaught Error: Cannot find module 'uuid/v4' #67

Closed neosheps closed 3 years ago

neosheps commented 3 years ago

Hello! Please, fix the following errors:

ERROR in ./node_modules/redux-offline-queue/lib/offlineActions.js 17:9-27
Module not found: Error: Package path ./v4 is not exported from package /home/user/Desktop/app/node_modules/redux-offline-queue/node_modules/uuid (see exports field in /home/user/Desktop/app/node_modules/redux-offline-queue/node_modules/uuid/package.json)
ERROR in ./node_modules/redux-offline-queue/lib/offlineMiddleware.js 13:9-27
Module not found: Error: Package path ./v4 is not exported from package /home/user/Desktop/app/node_modules/redux-offline-queue/node_modules/uuid (see exports field in /home/user/Desktop/app/node_modules/redux-offline-queue/node_modules/uuid/package.json)

If i change this line var _v = require('uuid/v4'); with this var { v4: _v } = require('uuid'); in both files, everything work fine.

RobPando commented 3 years ago

Will make the necessary updates to get this back up. Thank you for bringing it to my attention.

RobPando commented 3 years ago

@neosheps Closed with https://github.com/kickstartcrew/redux-offline-queue/pull/68