reassure icon indicating copy to clipboard operation
reassure copied to clipboard

[BUG] yarn reassure not working

Open Darsbir opened this issue 1 year ago • 2 comments

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:

  1. clone the above repo
  2. yarn install
  3. go insider native in examples
  4. 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.

`

Darsbir avatar Jul 08 '23 15:07 Darsbir

@Darsbir which version of node are you using?

mdjastrzebski avatar Jul 20 '23 11:07 mdjastrzebski

@Darsbir which version of node are you using?

node v14.17.1

Darsbir avatar Jul 20 '23 12:07 Darsbir

Closing as not able to reproduce

mdjastrzebski avatar Mar 08 '24 12:03 mdjastrzebski