on the Curl Web Content Markup Language

on the Curl Web Content Markup and Programming Language from www.curl.com and www.curlap.com
Showing posts with label package. Show all posts
Showing posts with label package. Show all posts

Monday, July 8, 2013

npm express install fails with ERR and WARN


If an npm install fails with an error such as
npm ERR! install couldn't read dependencies
and IFF that error immediately follows warnings such as
WARN ... [YOUR_SERVER_NAME]@0,0,1 No repository field.
WARN ... [YOUR_SERVERR_NAME]@0,0,1 No readme data.
where YOUR_SERVER_NAME is the name in that package.json file

THEN

you may notice the perhaps not obvious typo of 0,0,1 for 0.0.1 with commas and not '.', i.e., full-stop, dot, period as the version delimiter.

mea culpa

Now to get back to my nunjucks templating for Curl web content ( Curl, as in www.curl.com and curl-aca in /opt/curl/surge/9/bin

Reminder : do not use a sudo for npm install.  Set the minimum privileges so that your, e.g., maintenance www group user, can run npm. without resorting to root privileges especially if the install is global.



Monday, July 16, 2012

Two Kanji Day


It is another 2 kanji day at the new 400+ frequent non-jōyō Japanese kanji page at aule-browser.com's kanji home page.

There is one "kanji of the day" in the Curl applet's search pane and the list of kanji is randomized each session so that at least the top character in the list may also strike you as yet another "kanji of the day".

Many of the kanji pages are now using randomized lists, although this will soon be an option for the user to select as a CSPD preference.

The webpage requires the Surge® RTE Curl browser plugin from www.curl.com

The Curl applet is fully packaged with a super-package for AULE and a sub-package for "KANJI" but required some attention to avoid having to use a {define-alias } macro in the applet itself.

The kanji are loaded from a serialized array placed in a bin file and the applet uses a pre-sized FastArray for the content to be displayed.