Image Image Image Image Image
Scroll to Top

To Top

programming

10

Apr
2014

Information Resources

Permalink

By admin404

Cordova CLI Doesn’t Like Spaces

April 10, 2014 - Information Resources

This is a quick trick for any Cordova coders operating on a Windows environment.

C:\app\>cordova -d platforms add android
cordova library for "android" already exists. No need to download. Continuing.
Checking if platform "android" passes minimum requirements...
Creating android project...
Running command:
    cmd args=["/c",
        "C:\\Users\\My Account With Spaces\\.cordova\\lib\\android\\cordova\\3.4.0\\bin\\create",
        "--cli",
        "C:\\app\\platforms\\android",
        "com.mycompany.testapp",
        "Test App"]
'C:\Users\My' is not recognized as an internal or external command,operable program or batch file.

( Grrr )

Windows should probably know better than to create directories (especially often accessed ones, such as a user’s profile folder), if it doesn’t know how to later address them in command line.

If you’re scratching your head over this one, you can get around it by modifying the path.
Open superspawn.js, located  here:

C:\Users\[My Account With Spaces]\AppData\Roaming\npm\node_modules\cordova\src

Update the line that calls the command to use a symbolic link. It’s roughly line 57:

This:

cmd = resolvePath(cmd);

Becomes This:

cmd = cmd.replace('C:\\Users\\My Account With Spaces\\.cordova','C:\\cordovalink');cmd = resolvePath(cmd);

Then, create a symbolic link at the new location C:\cordovalink, using this command:

C:\>mklink /D C:\cordovalink "C:\Users\My Account With Spaces\.cordova"
symbolic link created for C:\cordovalink <<===>> C:\Users\My Account With Spaces\.cordova

Hopefully this will save you some time.

Tags | android, application, cli, coding, cordova, development, ios, plugin, production, programming, tips, tricks

09

Jun
2012

Press Releases

Permalink

By admin404

Pantone Moods Widget on Pantone.com

June 9, 2012 - Press Releases

CARLSTADT, NJ — On Friday, June 8, Pantone launched a new version of their web site that features ERA404’s Pantone Moods widget in the footer of every page of the site. The widget’s “Realtime” tab shows a streaming feed of moods and color chips submitted by users through the Facebook application, Pantone Moods. Visitors may also see the previous day’s most submitted color chip, mood keyword and submission city by clicking on the “Most Popular” tab. The widget compliments the application’s trending and reporting tab which was designed and developed by ERA404 earlier in the year.

Visitors interested in seeing the widget in action can visit: pantone.com. To submit moods to the widget, log-in to Facebook and add the Pantone Moods application. For more comprehensive trends, including proximity, gender, location and time matches, current color and mood comparisons, and global mood trends, click the “Mood Trends” tab from within the Pantone Moods Facebook app.

Pantone Moods currently boasts a lifetime user base of  nearly 70,000 users and over a half million moods posted and has been featured in GDUSA, Communication Arts and other industry periodicals. The application was originally conceived and created by ERA404 in October 2008,  and was redesigned in August 2011 based on the unprecedented response from Pantone brand advocates and fans on Facebook. See this project in the ERA404 portfolio, here: http://www.era404.com/loves/pantone/

 

Tags | application, chip, color, conception, creative, design, development, emotion, facebook, jquery, mood, pantone, programming, x-rite