Trying to create new flutter project - terminal

Hi I am new to fluter just starting out. I am trying to create my first flutter app with these steps:
Create and run a simple Flutter app
To create your first Flutter app and test your setup, follow these steps:
Create a new Flutter app by running the following from the command line:
content_copy
flutter create my_app
A my_app directory is created, containing Flutter’s starter app. Enter this directory:
content_copy
cd my_app
To launch the app in the Simulator, ensure that the Simulator is running and enter:
content_copy
flutter run
when I start the first step I get this error message.
Unhandled exception:
Invalid argument(s): Cannot find executable for sysctl.
(goes down to 42 different ones.)
Any help is welcomed.

Related

about 'zsh react-native command not found' AFTER SETTING PATH

Some time ago, I had the command not found error when running expo, so I set path at ~/.bash_profile and so, after running source ~/.bash_profile, now I can call expo without problems.
Today, I tried running react-native link and the following error appeared:
zsh: react-native command not found
What else could I be doing wrong?
Maybe you don't have react native cli installed globally, which is good as it's not needed.
Check in the project directory if react-native is installed
so ./node_modules/react-native/ should exist and has something inside.
If so, you don't need to run react-native directly; try running through npx react-native or npm script.
If not, make sure you have react-native in package.json dependencies section, and run npm install to pull the react-native library folder.

Heroku Deployment Error *heroku open* command Clojure app

Hi i am trying to deploy my project i develop in Clojure to heroku. it created and build too but
when i write heroku open it gives error and logs saying missing build
You are using heroky "autodetect" and it's detecting your npm file and trying to start it as a npm project.
You need to specify to use clojure buildpack in somewhere inside heroku settings.
I recommend you to move into "docker mode" in heroku, that will give you more control about how to build/run your project.

Running NPX Create React App from a Bash Script

I am trying to create a bash script that runs npx create-react-app my-app.
My Current Script:
cd /Users/theuser/Development
/usr/local/bin/npx create-react-app my-app
I have tried simply calling npx command and also pointing directly to binary but when the script is executed (from an Alfred Workflow) I do not see a React App created.
If I run the /usr/local/bin/npx create-react-app my-app from terminal then I do see the React App Created.
I found that temporarily setting the PATH fixed the issue, attaching a debugger to my script execution showed that node could not be found...
PATH=/usr/local/bin npx create-react-app application

run yarn to build a laravel app from another laravel app in the same server

I m trying to run yarn on an app B when I click a button in the laravel app A.
This yarn will call webpack to copy some folder then build a store.
I tried to cd to app B then exec() the command yarn but it doesnt work. I can do it only manually in the app B folder.
My 2 apps are running in a virtual machine vagrant box

How to solve error Operation not permited, lstat react native on Windows

ERPM: operation no permitted,lstat`
You always have to clean the project before to run the app react-native run-android firstly we need to run this command for windows
cd android && gradlew clean

Resources