Building nikita-noark5-core/web on Debian stretch

Ole Aamot oka at oka.no
Sat May 20 14:44:34 CEST 2017


On Fri, May 19, 2017 at 2:11 PM, Petter Reinholdtsen <pere at hungry.com>
wrote:

> [Ole Aamot]
> > Any ideas?
>
> Look like some kind of APT package conflict.  What do you get when
> trying 'apt install node-body-parser' on its own?
>
> I notice I do not have node-body-parser installed in my stretch chroot.
> Perhaps it is redundant?
>
> The seem to be installable when I test.  What kind of apt sources do you
> have enabled?  Mine look like this:
>
>   deb http://ftp.uninett.no/debian unstable main contrib
>   deb-src http://ftp.uninett.no/debian unstable main contrib
>   deb http://ftp.uninett.no/debian experimental main contrib
>
> Do not remember any more why I have experimental.
>

I changed from stretch to the unstable repository on Debian and
was able to run the nikita-noark5-core and deploy the node.js web
application on Debian unstable.

I modified src/nikita-noark5-core/web/package.json where I changed "node"
to "nodejs".

oka at linux:~/src/nikita-noark5-core/web$ git diff
diff --git a/web/package.json b/web/package.json
index 6a5fb34..4ddd318 100644
--- a/web/package.json
+++ b/web/package.json
@@ -13,7 +13,7 @@
   "devDependencies": {},
   "scripts": {
     "test": "echo \"Error: no test specified\" && exit 1",
-    "start": "node server.js"
+    "start": "nodejs server.js"
   },
   "author": "Alexander Alemayhu",
   "license": "TBD"

Then I ran the web client with the following instructions:

oka at linux:~/src/nikita-noark5-core/web$ make run
DEBUG=web:* npm start

> nikita-web at 0.0.1 start /home/oka/src/nikita-noark5-core/web
> nodejs server.js

However I am not yet able to login with l:admin / p:password on
http://localhost:3000/experimental/login.html in Firefox or Chrome.
I get a Browser GUI box that says "null" when I enter the username and
password and click on "LOGG INN".

Best,
Ole Aamot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.nuug.no/pipermail/nikita-noark/attachments/20170520/6799d126/attachment.htm 


More information about the nikita-noark mailing list