Questions tagged [appjs]

AppJS is an open-source SDK to develop desktop applications using Node.js and the Chromium Embedded Framework.

AppJS allows developers to build desktop applications for Linux, Windows and Mac using Node.js melded with Chromium. Desktop tools and applications can thus be developed using the same libraries and knowledge used to build websites.

The Chromium Embedded Framework (CEF) provides support for JavaScript, HTML5, CSS, SVG and WebGL while Node.js brings http/https servers and client APIs, filesystem, cryptography, sandboxed code execution environments and tools for exposing native C++ bindings to JavaScript.

More information is available on the AppJS.org website and on the project's github page.

78 questions
0
votes
1 answer

I've got this error: Uncaught TypeError: e.lngLat is not a function or its return value is not iterable at handleAddClick (App.js:42:1)

const handleAddClick = (e) =>{ const [lat, long] = e.lngLat;<=errr setNewPlace({lat,long }); }; I want to create an event when I click in a new place to extract the latitude and longitude and to display the result in a…
0
votes
1 answer

Cannot deploy Node.js app with Heroku: "bash: app.js: command not found"

I have built a server side app using Node.js. When trying to deploy the app to Heroku, I'm receiving an "Application error" message on Heroku page via my Heroku project's dashboard. When looking at the logs, I'm seeing the following…
DGR
  • 422
  • 1
  • 4
  • 14
0
votes
1 answer

Failed to compile. 'Hi' is not defined no-undef in a new .js file (TaskList.js) (react js component)

TaskList.js import React from 'react'; export default () => { return {

Hi

}; } I wonder why couldn't I use the HTML code here in this TaskList.js file in order to make the word "Hi" appear in the front end…
0
votes
1 answer

Usinf App.js Framework and trying to use photoviewer but App.load is conflicting

Hello please review below code i am using App.js framework to create a mobile web app and i want to show photo viewer when user clicks on some button. but i am unable to do so, the thing is App.load event may be is conflicting because i am using it…
0
votes
0 answers

packaging AppJS all files into single executable file

I built an app with AppJS node modules . AppJS depend on many files . Is it possible to pack up all AppJS file into a single executable file? Like when user double click on myapp.exe and it launches as like a native app. Actually I want to hide my…
Utpal Sarkar
  • 412
  • 5
  • 23
0
votes
0 answers

AppJS does not show Unicode characters

I have a situation where I want to open a website by clicking a desktop icon. I found AppJS to be the answer. I created an app with just a full window covering iframe. The only problem I am facing is, Unicode characters are not shown properly (all I…
Prakhar Thakur
  • 1,209
  • 3
  • 13
  • 38
0
votes
0 answers

Where do I put global config data?

I am running 2 NodeJS servers. One serves the angular-ui-router front-end. The other serves the data. I run them both by giving the same command in two different directories: node server.js So I have the two server.js files, plus the app.js file…
Randy Strauss
  • 93
  • 1
  • 7
0
votes
1 answer

how to auto-adjust App.js textarea height to fill the remainder of screen?

Might anyone have any idea how to auto-adjust the height of textarea to fill the rest of the space vertically? The easy way is to hard code the style of textarea with height: 300px or something but that is hardly a workable solution in…
rockhammer
  • 957
  • 2
  • 13
  • 38
0
votes
1 answer

Is there an equivalent of app.config in appjs?

I'm searching an equivalent of app.config for appjs because I need to store some variables and I don't want that an user can see one of them. Any suggestion?
Tinwor
  • 7,765
  • 6
  • 35
  • 56
0
votes
3 answers

Can't pass parameters to $.getJSON()

I'm using jQuery and PHP to communicate with my MySQL database. jQuery calls a PHP script and passes along the parameters to look up, then PHP looks through my MySQL database, turns it into JSON and then echos the JSON back to my jQuery. In theory…
Jacob Pickens
  • 471
  • 1
  • 7
  • 15
0
votes
1 answer

Using NodeJS with AppJS to Package Zip with JSZip

My original file wouldn't download using the local method so I decided to use Node.js, as it's already packed in AppJS, and still the zip file won't execute in AppJS. $(".export").on("click", function() { var fs = require("fs"); var JSZip =…
Michael Schwartz
  • 8,153
  • 14
  • 81
  • 144
0
votes
1 answer

node.js on mac in 32 bit mode?

For the app.js I need to have my node.js in 32 bit mode. node me$ file `which node` /usr/local/bin/node: Mach-O universal binary with 2 architectures /usr/local/bin/node (for architecture i386): Mach-O executable i386 /usr/local/bin/node (for…
Anton Harald
  • 5,772
  • 4
  • 27
  • 61
0
votes
0 answers

Appjs run function after node.js function has ran

I am trying to make a simple read file function in my Appjs program. All that is happening is that the Appjs is calling a function inside my app.js file and running it in node.js. This function then returns a value to my Appjs program by…
Spencer May
  • 4,266
  • 9
  • 28
  • 48
0
votes
1 answer

How to configure AppJS to work with node-http-proxy server

I'm trying to get node-http-proxy working with AppJS. Unfortanly it crashes on launch of the app. What I did: Download & extracted AppJS from http://appjs.com/; Installed node-http-proxy with npm install http-proxy; Edited the app.js…
Mark
  • 41
  • 6
0
votes
1 answer

AppJs keyboard shortcuts (copy, paste, clipboard, quit, select all…)

I just build an AppJs app using Node.js and Angular.js but I can't manage to make the keyboard shortcuts to work. I have a menubar working, but the "&" trick doesn't work on my Mac: var menubar = appjs.createMenu([{ label:'&File', …
Eduardo Russo
  • 4,121
  • 2
  • 22
  • 38