findify-js icon indicating copy to clipboard operation
findify-js copied to clipboard

Breaking change in @findify/[email protected]

Open igarcez opened this issue 3 years ago • 0 comments

It fails to compile with nuxt

 ERROR  in ./node_modules/@findify/sdk/lib/api.js                                                                                   friendly-errors 15:43:41

Module parse failed: Unexpected token (44:36)                                                                                       friendly-errors 15:43:41
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
|     })
|         .catch((err) => {
>         const status = err.response?.status;
|         if (status >= 400 && status < 500)
|             return reject(false);
                                                                                                                                    friendly-errors 15:43:41
 @ ./node_modules/@findify/sdk/lib/client/Client.js 3:0-30 23:15-23
 @ ./node_modules/@findify/sdk/lib/client/index.js
 @ ./node_modules/@findify/sdk/lib/index.js
 @ ./plugins/findify.js
 @ ./.nuxt/index.js
 @ ./.nuxt/client.js
 @ multi ./node_modules/eventsource-polyfill/dist/browserify-eventsource.js (webpack)-hot-middleware/client.js?reload=true&timeout=30000&ansiColors=&overlayStyles=&path=%2F__webpack_hmr%2Fclient&name=client ./.nuxt/client.js

igarcez avatar Aug 16 '21 13:08 igarcez