You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Warnings occur when importing and compiling Request Network SDK
- wait compiling /page (client and server)...
- warn ./node_modules/keyv/src/index.js
Critical dependency: the request of a dependency is an expression
Import trace for requested module:
./node_modules/keyv/src/index.js
./node_modules/@requestnetwork/data-access/dist/ignored-location.js
./node_modules/@requestnetwork/data-access/dist/data-access.js
./node_modules/@requestnetwork/data-access/dist/index.js
./node_modules/@requestnetwork/request-client.js/dist/http-metamask-data-access.js
./node_modules/@requestnetwork/request-client.js/dist/index.js
./app/page.tsx
./node_modules/eccrypto/index.js
Module not found: Can't resolve './build/Release/ecdh' in '/workspace/node_modules/eccrypto'
Import trace for requested module:
./node_modules/eccrypto/index.js
./node_modules/@requestnetwork/utils/dist/crypto/ec-utils.js
./node_modules/@requestnetwork/utils/dist/crypto.js
./node_modules/@requestnetwork/utils/dist/index.js
./node_modules/@requestnetwork/payment-detection/dist/index.js
./app/page.tsx
./node_modules/keyv/src/index.js
Critical dependency: the request of a dependency is an expression
Import trace for requested module:
./node_modules/keyv/src/index.js
./node_modules/@requestnetwork/data-access/dist/ignored-location.js
./node_modules/@requestnetwork/data-access/dist/data-access.js
./node_modules/@requestnetwork/data-access/dist/index.js
./node_modules/@requestnetwork/request-client.js/dist/http-metamask-data-access.js
./node_modules/@requestnetwork/request-client.js/dist/index.js
./app/page.tsx
./node_modules/node-fetch/lib/index.js
Module not found: Can't resolve 'encoding' in '/workspace/node_modules/node-fetch/lib'
Import trace for requested module:
./node_modules/node-fetch/lib/index.js
./node_modules/near-api-js/lib/utils/setup-node-fetch.js
./node_modules/near-api-js/lib/connect.js
./node_modules/near-api-js/lib/index.js
./node_modules/@requestnetwork/payment-processor/dist/payment/utils-near.js
./node_modules/@requestnetwork/payment-processor/dist/payment/index.js
./node_modules/@requestnetwork/payment-processor/dist/index.js
./app/page.tsx
- error SyntaxError: Illegal return statement
at __webpack_require__ (/workspace/.next/server/webpack-runtime.js:33:43)
at __webpack_require__ (/workspace/.next/server/webpack-runtime.js:33:43)
at __webpack_require__ (/workspace/.next/server/webpack-runtime.js:33:43)
at __webpack_require__ (/workspace/.next/server/webpack-runtime.js:33:43)
at __webpack_require__ (/workspace/.next/server/webpack-runtime.js:33:43)
at __webpack_require__ (/workspace/.next/server/webpack-runtime.js:33:43)
at __webpack_require__ (/workspace/.next/server/webpack-runtime.js:33:43)
at __webpack_require__ (/workspace/.next/server/webpack-runtime.js:33:43)
at eval (./config/currency.ts:5:91)
at (sc_client)/./config/currency.ts (/workspace/.next/server/app/page.js:19112:1)
at __webpack_require__ (/workspace/.next/server/webpack-runtime.js:33:43)
at eval (./app/page.tsx:17:74)
at (sc_client)/./app/page.tsx (/workspace/.next/server/app/page.js:19090:1)
at __webpack_require__ (/workspace/.next/server/webpack-runtime.js:33:43)
- error SyntaxError: Illegal return statement
at __webpack_require__ (/workspace/.next/server/webpack-runtime.js:33:43)
at __webpack_require__ (/workspace/.next/server/webpack-runtime.js:33:43)
at __webpack_require__ (/workspace/.next/server/webpack-runtime.js:33:43)
at __webpack_require__ (/workspace/.next/server/webpack-runtime.js:33:43)
at __webpack_require__ (/workspace/.next/server/webpack-runtime.js:33:43)
at __webpack_require__ (/workspace/.next/server/webpack-runtime.js:33:43)
at __webpack_require__ (/workspace/.next/server/webpack-runtime.js:33:43)
at __webpack_require__ (/workspace/.next/server/webpack-runtime.js:33:43)
at eval (./config/currency.ts:5:91)
at (sc_client)/./config/currency.ts (/workspace/.next/server/app/page.js:19112:1)
at __webpack_require__ (/workspace/.next/server/webpack-runtime.js:33:43)
at eval (./app/page.tsx:17:74)
at (sc_client)/./app/page.tsx (/workspace/.next/server/app/page.js:19090:1)
at __webpack_require__ (/workspace/.next/server/webpack-runtime.js:33:43)
- error SyntaxError: Illegal return statement
at __webpack_require__ (/workspace/.next/server/webpack-runtime.js:33:43)
at __webpack_require__ (/workspace/.next/server/webpack-runtime.js:33:43)
at __webpack_require__ (/workspace/.next/server/webpack-runtime.js:33:43)
at __webpack_require__ (/workspace/.next/server/webpack-runtime.js:33:43)
at __webpack_require__ (/workspace/.next/server/webpack-runtime.js:33:43)
at __webpack_require__ (/workspace/.next/server/webpack-runtime.js:33:43)
at __webpack_require__ (/workspace/.next/server/webpack-runtime.js:33:43)
at __webpack_require__ (/workspace/.next/server/webpack-runtime.js:33:43)
at eval (./config/currency.ts:5:91)
at (sc_client)/./config/currency.ts (/workspace/.next/server/app/page.js:19112:1)
at __webpack_require__ (/workspace/.next/server/webpack-runtime.js:33:43)
at eval (./app/page.tsx:17:74)
at (sc_client)/./app/page.tsx (/workspace/.next/server/app/page.js:19090:1)
at __webpack_require__ (/workspace/.next/server/webpack-runtime.js:33:43)
- error SyntaxError: Illegal return statement
at __webpack_require__ (/workspace/.next/server/webpack-runtime.js:33:43)
at __webpack_require__ (/workspace/.next/server/webpack-runtime.js:33:43)
at __webpack_require__ (/workspace/.next/server/webpack-runtime.js:33:43)
at __webpack_require__ (/workspace/.next/server/webpack-runtime.js:33:43)
at __webpack_require__ (/workspace/.next/server/webpack-runtime.js:33:43)
at __webpack_require__ (/workspace/.next/server/webpack-runtime.js:33:43)
at __webpack_require__ (/workspace/.next/server/webpack-runtime.js:33:43)
at __webpack_require__ (/workspace/.next/server/webpack-runtime.js:33:43)
at eval (./config/currency.ts:5:91)
at (sc_client)/./config/currency.ts (/workspace/.next/server/app/page.js:19112:1)
at __webpack_require__ (/workspace/.next/server/webpack-runtime.js:33:43)
at eval (./app/page.tsx:17:74)
at (sc_client)/./app/page.tsx (/workspace/.next/server/app/page.js:19090:1)
at __webpack_require__ (/workspace/.next/server/webpack-runtime.js:33:43)
Problem
Warnings occur when importing and compiling Request Network SDK
Solution
Migrated from Asana: https://app.asana.com/0/1203912381456855/1205450558525711/f
The text was updated successfully, but these errors were encountered: