[BUG] yarn reassure not working
Darsbir opened this issue · 3 comments
Darsbir commented
Describe the bug
Using this (https://github.com/callstack/reassure-examples/tree/main/examples/native) example project, but getting the below error when trying to run yarn reassure
reassure is present insider ndoe_modules
To Reproduce
Steps to reproduce the behavior:
- clone the above repo
- yarn install
- go insider native in examples
- run
yarn reassure
Expected behavior
yarn reassure
should work
Error
`
yarn run v1.22.18
$ Desktop/reassure/reassure-examples/examples/native/node_modules/.bin/reassure
internal/modules/cjs/loader.js:905
throw err;
^
Error: Cannot find module 'node:fs'
Require stack:
- Desktop/reassure/reassure-examples/examples/native/node_modules/@callstack/reassure-cli/lib/commonjs/commands/init.js
- Desktop/reassure/reassure-examples/examples/native/node_modules/@callstack/reassure-cli/lib/commonjs/bin.js
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:902:15)
at Function.Module._load (internal/modules/cjs/loader.js:746:27)
at Module.require (internal/modules/cjs/loader.js:974:19)
at require (internal/modules/cjs/helpers.js:92:18)
at Object. (Desktop/reassure/reassure-examples/examples/native/node_modules/@callstack/reassure-cli/lib/commonjs/commands/init.js:8:15)
at Module._compile (internal/modules/cjs/loader.js:1085:14)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
at Module.load (internal/modules/cjs/loader.js:950:32)
at Function.Module._load (internal/modules/cjs/loader.js:790:14)
at Module.require (internal/modules/cjs/loader.js:974:19) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'Desktop/reassure/reassure-examples/examples/native/node_modules/@callstack/reassure-cli/lib/commonjs/commands/init.js',
'Desktop/reassure/reassure-examples/examples/native/node_modules/@callstack/reassure-cli/lib/commonjs/bin.js'
]
}
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
`
mdjastrzebski commented
@Darsbir which version of node are you using?
mdjastrzebski commented
Closing as not able to reproduce