Clean Yeoman install results in a Grunt error - gruntjs

I am running grunt server after a clean install of Yeoman, using the Webapp generator and I get the following error:
Warning: Errno::ENOENT on line 441 of /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/pathname.rb: No such file or directory - /Users/nfento/Sites/test/app/bower_components
Run with --trace to see the full backtrace Use --force to continue.
Any idea what would be causing this? I have been able to reproduce the error on two machines. I'm completely new to using grunt, but have used it as a server with livereload previously.

Maybe is a bit late but:
check if you have a app/bower_components folder
if not check if there is a bower_components folder in the root
if it exists move it in the /app folder
create a file .bowerrcand paste this in:
{"directory": "app/bower_components"}

Related

Symbolicate command not found when fully symbolicate the crash report in Xamarin iOS

I get this error when I submit App to AppStore:
I searched the net and found this article: https://jmillerdev.com/symbolicating-ios-crash-files-xamarin-ios/
I tried to follow the step-by-step instructions as follows:
I downloaded the crashlog.txt files and changed the extension to .crash, moved it to the folder CrashTop
I found the .app file by changing MyApp.ipa to MyApp.zip and extracting it. It's in the folder PayLoad. I copied the file MyApp.iOS to the folder CrashTop
In Xcode/Window/Organizer. Archives Show in Finder opens showing the package contents. I found the dSYMs folder and copied the .dSYM file to the folder CrashTop
Next i Open Terminal and run this command:
alias symbolicate="/Applications/Xcode.app/Contents/SharedFrameworks/DVTFoundation.framework/Versions/A/Resources/symbolicatecrash -v"
and
export DEVELOPER_DIR="/Applications/Xcode.app/Contents/Developer"
Run Symbolicate
Open Terminal again and cd to the directory folder CrashTop and run the command
symbolicate -o "symbolicatedCrash.txt" "crashlog-DCE8F822-47EB-42F9-A737-5D137FD827FE.crash" "MyApp.iOS.app"
But what I get back is: command not found: symbolicate
It's been 10 days. I've tried searching all over the internet. But it doesn't solve the problem. I also used Microsoft.AppCenter.Crashes to catch the error. However, it shows no errors. On xcode (13.3.1) simulator it works fine.
Please solution to solve this problem.
Ask for any help from everyone.
Update
Copy all files to CrashTop folder.
Run command:
export DEVELOPER_DIR="/Applications/Xcode.app/Contents/Developer"
and
./symbolicatecrash -v crashlog-DCE8F822-47EB-42F9-A737-5D137FD827FE.crash MyApp.iOS.app.dSYM
-> I get the error: zsh: no such file or directory: ./symbolicatecrash
Do not set alias .
You can copy symbolicatecrash file and paste it to the CrashTop folder .
and run the command
./symbolicatecrash -v MyApp-Crash-log.crash MyApp.dSYM

qmake: could not open config file

I'm trying to get Qt running again. I think I screwed a couple of things up by manually deleting the /usr/lib/x86_64-linux-gnu/qt5 folder.
I think I got most of it reinstalled correctly but not I got the following problem.
When I check the qmake version i.e.
qmake --version
I get the following message.
qmake: could not open config file '/usr/lib/x86_64-linux-gnu/qtchooser//default.conf': No such file or directory
I don't understand why there is a second slash in the path. The default.conf file exists in the path without the second slash.
Is there a way to modify the path?
Really appreciate any help.

missing .dependencies in user/ when bin/grav

I'm trying to install Grav on Heroku following the learn.getgrav.org docs.
I've got the web app deployed successfully, however it tells me to bin/grav install.
I do that and it gives me the following output:
ERROR Missing .dependencies file in user/ folder
I do not know what to do at this point as it's happened everytime I've installed Grav.
Hope this will be solved.
Sadly this problem is all too common when copying files :(
hidden (dotted) files are not always copied.
.dependencies
.htaccss
using ls -l -a in the folder where you extracted the files originally Dowloads/grav I could see the files that were not copied to fix it
cp .dependencies .htaccss /var/www/grav/
When I install GRAV on my server each time, I always copy the Zip file to the server, unzip it in place, then remove the zip file - using this method I have never had a problem with the installing of GRAV
HTH Rich

Drush generates .make file on server but it is not in the working directory?

I am a Drupal newbie and trying to clone my site which is hosted on an Aegir server (using BOA). I ran 'Drupal generate-makefile' command in the working directory (the directory in which site is located) and the file did get generated - but it is not in the working directory. I also tried forcing a path using 'Drupal make-generate path/to/store/makefile/makefilename' but the command ran and ended with an error 'call to an undefined function drush_make_error()'. Any ideas where the file may be getting generated? Also, any tips on how I can force a path for .make file would be really helpful!
Maybe it depends on your Drush version, but with Drush 5.x the makefile is sent to stout.
This is how I use make-generate if I want my makefile written in /root/:
drush make-generate -r /path/of/my/drupal/installation > /root/drupal-org.make

Error while executing grunt command

While trying to execute grunt command.
I have used yeoman, bower, generator-angular and grunt with nodejs in windows 7.
Everything worked fine. And I have added font-awesome with bower-install, and to update my html I executed grunt wiredep.
it throws the following error.
Also my bower components are outside app folder, But in index file it started with bower_compontents/jquery/dist/jquery.js instead ../bower_components/jquery/dist/jquery.js.
The problem is with the node modules.
I just deleted it and executed npm install again. All worked well :-)
Change bower_components path
in .bowerrc file, I have changed the directory path. :-)

Resources