bamlab / react-native-make

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

can't install react-native-make #31

Open ideammsoft opened 4 years ago

ideammsoft commented 4 years ago

Hello!!

npm install --save-dev @bam.tech/react-native-make

then

Installation fails and an error appears.

The splat operator '@' cannot be used to reference a variable in an expression. '@bam' can only be used as a command argument. Use '$ bam' to reference a variable in an expression.

how can i do?

ideammsoft commented 4 years ago

just now Solved

npm install --save-dev "@bam.tech/react-native-make"

jinaddavid commented 4 years ago

still having the same issue. how can i solve it .

jinaddavid commented 4 years ago
Screenshot 2020-04-23 at 2 42 00 PM
wagstalos commented 4 years ago

image

Esirei commented 4 years ago

just now Solved

npm install --save-dev "@bam.tech/react-native-make"

Works for yarn too! yarn add -D "@bam.tech/react-native-make"

jinaddavid commented 4 years ago

@Esirei how did you do it. Still having the error

Esirei commented 4 years ago

@jinaddavid wrap @bam.tech/react-native-make with quotation marks. instead of yarn add -D @bam.tech/react-native-make you use yarn add -D "@bam.tech/react-native-make"

jinaddavid commented 4 years ago

Thank you @Esirei i tried that already still no success.

React Native Environment Info: System: OS: macOS 10.14.6 CPU: (8) x64 Intel(R) Core(TM) i7-3615QM CPU @ 2.30GHz Memory: 22.21 MB / 8.00 GB Shell: 3.2.57 - /bin/bash Binaries: Node: 10.16.0 - /usr/local/bin/node Yarn: 1.19.0 - /usr/local/bin/yarn npm: 6.13.7 - /usr/local/bin/npm SDKs: iOS SDK: Platforms: iOS 13.2, DriverKit 19.0, macOS 10.15, tvOS 13.2, watchOS 6.1 IDEs: Android Studio: 3.4 AI-183.5429.30.34.5452501 Xcode: 11.3.1/11C504 - /usr/bin/xcodebuild npmPackages: react: 16.8.3 => 16.8.3 react-native: 0.59.3 => 0.59.3 npmGlobalPackages: react-native-asset: 1.1.4 react-native-cli: 2.0.1

Esirei commented 4 years ago

Uhh... I'm not sure what the problem could be here. The major differences is that I use windows 10, and yarn 1.22.4

Thank you @Esirei i tried that already still no success.

React Native Environment Info: System: OS: macOS 10.14.6 CPU: (8) x64 Intel(R) Core(TM) i7-3615QM CPU @ 2.30GHz Memory: 22.21 MB / 8.00 GB Shell: 3.2.57 - /bin/bash Binaries: Node: 10.16.0 - /usr/local/bin/node Yarn: 1.19.0 - /usr/local/bin/yarn npm: 6.13.7 - /usr/local/bin/npm SDKs: iOS SDK: Platforms: iOS 13.2, DriverKit 19.0, macOS 10.15, tvOS 13.2, watchOS 6.1 IDEs: Android Studio: 3.4 AI-183.5429.30.34.5452501 Xcode: 11.3.1/11C504 - /usr/bin/xcodebuild npmPackages: react: 16.8.3 => 16.8.3 react-native: 0.59.3 => 0.59.3 npmGlobalPackages: react-native-asset: 1.1.4 react-native-cli: 2.0.1

rahamin1 commented 3 years ago

I have got this error on Windows 10 with RN59.9 With RN63.3 it is working...