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
Hi, i tried running yarn test but leads to this error. I have also reinstall node.js but to no avail
test@test:~/Desktop/rmrk-substrate$ cd tests && yarn test
yarn run v1.22.19
warning ../../package.json: No license field
$ mocha --timeout 9999999 -r ts-node/register './src/*.test.ts'
/usr/lib/node_modules/mocha/bin/mocha.js
at Module._resolveFilename (node:internal/modules/cjs/loader:1039:15)
at Module._load (node:internal/modules/cjs/loader:885:27)
at Module.require (node:internal/modules/cjs/loader:1105:19)
at require (node:internal/modules/cjs/helpers:103:18)
at exports.requireOrImport (/usr/lib/node_modules/mocha/lib/nodejs/esm-utils.js:53:16)
at async exports.handleRequires (/usr/lib/node_modules/mocha/lib/cli/run-helpers.js:94:28)
at async /usr/lib/node_modules/mocha/lib/cli/run.js:349:25 {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/usr/lib/node_modules/mocha/lib/nodejs/esm-utils.js',
'/usr/lib/node_modules/mocha/lib/mocha.js',
'/usr/lib/node_modules/mocha/lib/cli/one-and-dones.js',
'/usr/lib/node_modules/mocha/lib/cli/options.js',
'/usr/lib/node_modules/mocha/bin/mocha.js'
]
}
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
The text was updated successfully, but these errors were encountered:
Hi, i tried running yarn test but leads to this error. I have also reinstall node.js but to no avail
test@test:~/Desktop/rmrk-substrate$ cd tests && yarn test
yarn run v1.22.19
warning ../../package.json: No license field
$ mocha --timeout 9999999 -r ts-node/register './src/*.test.ts'
✖ ERROR: Error: Cannot find module 'ts-node/register'
Require stack:
at Module._resolveFilename (node:internal/modules/cjs/loader:1039:15)
at Module._load (node:internal/modules/cjs/loader:885:27)
at Module.require (node:internal/modules/cjs/loader:1105:19)
at require (node:internal/modules/cjs/helpers:103:18)
at exports.requireOrImport (/usr/lib/node_modules/mocha/lib/nodejs/esm-utils.js:53:16)
at async exports.handleRequires (/usr/lib/node_modules/mocha/lib/cli/run-helpers.js:94:28)
at async /usr/lib/node_modules/mocha/lib/cli/run.js:349:25 {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/usr/lib/node_modules/mocha/lib/nodejs/esm-utils.js',
'/usr/lib/node_modules/mocha/lib/mocha.js',
'/usr/lib/node_modules/mocha/lib/cli/one-and-dones.js',
'/usr/lib/node_modules/mocha/lib/cli/options.js',
'/usr/lib/node_modules/mocha/bin/mocha.js'
]
}
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
The text was updated successfully, but these errors were encountered: