bamlab / react-native-make

A collection of everyday React Native CLI tools
MIT License
761 stars 87 forks source link

Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency #58

Closed dzmitry-kavalenka closed 3 years ago

dzmitry-kavalenka commented 3 years ago

Hello,

Platform: macOS

react-native -v
react-native-cli: 2.0.1
react-native: 0.63.4
node -v
v14.15.1

I get this error when I run the following command :

  react-native set-icon --platform ios --path ./assets/icons/icon-ios.png
(node:34911) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)

Before that, I'm only doneyarn add -D @bam.tech/react-native-make

What did I miss?

CaptainJeff commented 3 years ago

I have the same error

@dzmitrykavalenka-own did you ever figure this out?

ErtugrulBEKTIK commented 3 years ago

I added npx keyword at the beginning of command and it worked.

npx react-native set-icon --platform ios --path ./assets/icons/icon-ios.png