(node:847) Warning: Accessing non-existent property + Please try a different name.
(node:847) Warning: Accessing non-existent property 'cat' of module exports inside circular dependency
(Use node --trace-warnings ... to show where the warning was created)
(node:847) Warning: Accessing non-existent property 'cd' of module exports inside circular dependency
(node:847) Warning: Accessing non-existent property 'chmod' of module exports inside circular dependency
(node:847) Warning: Accessing non-existent property 'cp' of module exports inside circular dependency
(node:847) Warning: Accessing non-existent property 'dirs' of module exports inside circular dependency
(node:847) Warning: Accessing non-existent property 'pushd' of module exports inside circular dependency
(node:847) Warning: Accessing non-existent property 'popd' of module exports inside circular dependency
(node:847) Warning: Accessing non-existent property 'echo' of module exports inside circular dependency
(node:847) Warning: Accessing non-existent property 'tempdir' of module exports inside circular dependency
(node:847) Warning: Accessing non-existent property 'pwd' of module exports inside circular dependency
(node:847) Warning: Accessing non-existent property 'exec' of module exports inside circular dependency
(node:847) Warning: Accessing non-existent property 'ls' of module exports inside circular dependency
(node:847) Warning: Accessing non-existent property 'find' of module exports inside circular dependency
(node:847) Warning: Accessing non-existent property 'grep' of module exports inside circular dependency
(node:847) Warning: Accessing non-existent property 'head' of module exports inside circular dependency
(node:847) Warning: Accessing non-existent property 'ln' of module exports inside circular dependency
(node:847) Warning: Accessing non-existent property 'mkdir' of module exports inside circular dependency
(node:847) Warning: Accessing non-existent property 'rm' of module exports inside circular dependency
(node:847) Warning: Accessing non-existent property 'mv' of module exports inside circular dependency
(node:847) Warning: Accessing non-existent property 'sed' of module exports inside circular dependency
(node:847) Warning: Accessing non-existent property 'set' of module exports inside circular dependency
(node:847) Warning: Accessing non-existent property 'sort' of module exports inside circular dependency
(node:847) Warning: Accessing non-existent property 'tail' of module exports inside circular dependency
(node:847) Warning: Accessing non-existent property 'test' of module exports inside circular dependency
(node:847) Warning: Accessing non-existent property 'to' of module exports inside circular dependency
(node:847) Warning: Accessing non-existent property 'toEnd' of module exports inside circular dependency
(node:847) Warning: Accessing non-existent property 'touch' of module exports inside circular dependency
(node:847) Warning: Accessing non-existent property 'uniq' of module exports inside circular dependency
(node:847) Warning: Accessing non-existent property 'which' of module exports inside circular dependency
Please try a different name.
@jacow any luck on this.
same problem
Is there any update? Can't find any alternative of this tool
I had an assumption that this was caused by the node js version, but switching to version 10.22.3 the problem remained.
У меня было предположение, что это вызвано версией nodejs, но переключившись на версию 10.22.3 проблема осталась.
internal/modules/cjs/loader.js:1023
throw err;
^
Error: Cannot find module '/Users/user/Documents/project/projectName/...'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:1020:15)
at Function.Module._load (internal/modules/cjs/loader.js:890:27)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)
at internal/main/run_main_module.js:17:47 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
Should be fixed in the new release 2.5.0. Please let me know if the fix works for you.
Unfortunately, this fix did not help in my situation. Guys who have encountered the same problem, please share the results.
@Yrsafam you describe how you run the library? Also share your env info, NodeJS version, OS, etc.
@vomchik usage: followed the library documentation NodeJS(use NVM): 14.13.1 10.22.1 "react-native": "0.62.2" "react-native-rename": "2.5.0" OS: Windows 10 version 20H2
@Yrsafam thanks. looks like it related to os version. will try to figure out...
is there any update? experiencing same issue.
had the same issue. its happeing when having expo as env.
add this node_modules/react-native-rename/lib/index.js:98:42
- var currentAppName = appConfig.name;
+ appConfig = appConfig.expo;
+ var currentAppName = appConfig.name;
Closing, check v3 now.
Using node 19.3.X same issue
@iampato What version of react-native-rename are you on?
@iampato try the latest version v3.2.12