Giter Site home page Giter Site logo

grblweb's People

Contributors

andrewhodel avatar rhyseddy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

grblweb's Issues

Problem with NPM install

When I run the install command I get:

npm ERR! Error: failed to fetch from registry: node-static
npm ERR! at /usr/share/npm/lib/utils/npm-registry-client/get.js:139:12
npm ERR! at cb (/usr/share/npm/lib/utils/npm-registry-client/request.js:31:9)
npm ERR! at Request._callback (/usr/share/npm/lib/utils/npm-registry-client/request.js:136:18)
npm ERR! at Request.callback (/usr/lib/nodejs/request/main.js:119:22)
npm ERR! at Request. (/usr/lib/nodejs/request/main.js:212:58)
npm ERR! at Request.emit (events.js:88:20)
npm ERR! at ClientRequest. (/usr/lib/nodejs/request/main.js:412:12)
npm ERR! at ClientRequest.g (events.js:156:14)
npm ERR! at ClientRequest.emit (events.js:67:17)
npm ERR! at HTTPParser.parserOnIncomingClient as onIncoming
npm ERR! You may report this log at:
npm ERR! http://bugs.debian.org/npm
npm ERR! or use
npm ERR! reportbug --attach /home/pi/npm-debug.log npm
npm ERR!
npm ERR! System Linux 3.10.25+
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "node-static"
npm ERR! cwd /home/pi
npm ERR! node -v v0.6.19
npm ERR! npm -v 1.1.4
npm ERR! message failed to fetch from registry: node-static
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/pi/npm-debug.log
npm not ok

I am using a Raspberry Pi, latest Raspbian etc. (want to install on this one as it is already setup for my uses, hence why not using the pre-made image ;))

Raspbery Freeze

hi can someone help me, my raspberry getting freeze after 5 minute running using grbl web :(
harware
Raspberry pi 3 B+
raspian strech
grbl 1.1e

thanks
Rizki

Raspberry PI 4 -- FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory

Hello,

I am trying to use GrblWeb on a Raspberry Pi 4b 4GB, and I am having issues. The following is the console output on the terminal. The key issue is the JavaScript heap out of memory failure that crashes the app. Once this happens, I have to re-home in order to proceed, and it happens after just a few minutes. I have tried with Ubuntu 18.04, 19.10, 20.04. Raspberry PI OS 64 bit and Raspberry Pi OS 32 bit, all with the same issue. Current node.js version is v10.21.0, but I have also tried it with v12 and v14 with the same issue. For troubleshooting, I disabled the '?' polling because i thought that the hits on the sockets.emit may be the memory leak, but that also did not resolve the issue. I do have the camera, and had set up the mjpg stream (which was working), but was still having this issue below even with the camera set up and operating properly.

...
pi@raspberrypi:~/grblweb $ sudo node server.js
Got error: connect ECONNREFUSED 127.0.0.1:8080 not enabling webcam
connected at 115200 /dev/ttyAMA0
connected at 115200 /dev/ttyS0
connected at 115200 /dev/ttyUSB0
fileServer error: { status: 404,
headers: { server: 'node-static/0.7.9' },
message: 'Not Found' }
user wants to use port 0
switching from undefined
fileServer error: { status: 404,
headers: { server: 'node-static/0.7.9' },
message: 'Not Found' }
fileServer error: { status: 404,
headers: { server: 'node-static/0.7.9' },
message: 'Not Found' }
user wants to use port 0
switching from undefined
fileServer error: { status: 404,
headers: { server: 'node-static/0.7.9' },
message: 'Not Found' }
fileServer error: { status: 404,
headers: { server: 'node-static/0.7.9' },
message: 'Not Found' }
fileServer error: { status: 404,
headers: { server: 'node-static/0.7.9' },
message: 'Not Found' }
fileServer error: { status: 404,
headers: { server: 'node-static/0.7.9' },
message: 'Not Found' }
fileServer error: { status: 404,
headers: { server: 'node-static/0.7.9' },
message: 'Not Found' }

<--- Last few GCs --->

[1386:0x717c18] 333339 ms: Scavenge 695.8 (724.6) -> 694.3 (724.6) MB, 8.1 / 0.0 ms (average mu = 0.186, current mu = 0.170) allocation failure
[1386:0x717c18] 333436 ms: Scavenge 696.0 (724.6) -> 694.5 (724.6) MB, 8.1 / 0.0 ms (average mu = 0.186, current mu = 0.170) allocation failure
[1386:0x717c18] 333533 ms: Scavenge 696.2 (724.6) -> 694.7 (728.6) MB, 8.1 / 0.0 ms (average mu = 0.186, current mu = 0.170) allocation failure

<--- JS stacktrace --->

FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
Aborted
pi@raspberrypi:~/grblweb $
...

grbl v1.1 support

Any chance that grblWeb will support the new grbl v1.1 protocol soon?

Please add hardware requirements to the README.md

There are multiple raspberry pi versions in the market, and some compatible hardwares like orange pi. Could you add some minimum and recommended hardware requirement to run grblweb?

e.g, Raspberry 1/2/3/4, RPI Zero, RPI Zero W, Orange PI, etc.
They have different versions with different memory, does it work with 512MB or at least 1G?

min and max dimensions for cut showing incorrectly

This will show:

--------------New Gcode Loaded--------------
Min Dimensions X: 0 Y: 0 Z: -14
Max Dimensions X: 20.79129557 Y: 20.79129557 Z: -4

Total Dimensions X: 20.79129557 Y: 20.79129557 Z: 10

The actual max dimension of the gcode is positive not negative.

; TOOL OPTIONS
; units: mm
; diameter: 1.5875
; passDepth: 4
; step: 1
; rapid: 2000
; plunge: 100
; cut: 600
; zClearance: 5
; returnHome: true

; SETTING UNITS TO mm
G21

; SETTING ABSOLUTE POSITIONING
G90

; PATH FOR "undefined" circle WITH inside CUT
; total Z cut depth of 14 with passDepth of 4 yields 4 total passes

; MOVING TO this.tool.zClearance
G0 F2000 Z5
; MOVING TO FIRST POINT IN toolPath
G0 F2000 X20.79129557 Y20

; PASS #1 AT -4 DEPTH
G1 F100 Z-4
G1 F600
G1 X20.79129557 Y20
G1 X20.78155341 Y20.1237859
G1 X20.7525668 Y20.24452379
G1 X20.70504951 Y20.35924067
G1 X20.64017156 Y20.46511187
G1 X20.55953047 Y20.55953047
G1 X20.46511187 Y20.64017156
G1 X20.35924067 Y20.70504951
G1 X20.24452379 Y20.7525668
G1 X20.1237859 Y20.78155341
G1 X20 Y20.79129557
G1 X19.8762141 Y20.78155341
G1 X19.75547621 Y20.7525668
G1 X19.64075933 Y20.70504951
G1 X19.53488813 Y20.64017156
G1 X19.44046953 Y20.55953047
G1 X19.35982844 Y20.46511187
G1 X19.29495049 Y20.35924067
G1 X19.2474332 Y20.24452379
G1 X19.21844659 Y20.1237859
G1 X19.20870443 Y20
G1 X19.21844659 Y19.8762141
G1 X19.2474332 Y19.75547621
G1 X19.29495049 Y19.64075933
G1 X19.35982844 Y19.53488813
G1 X19.44046953 Y19.44046953
G1 X19.53488813 Y19.35982844
G1 X19.64075933 Y19.29495049
G1 X19.75547621 Y19.2474332
G1 X19.8762141 Y19.21844659
G1 X20 Y19.20870443
G1 X20.1237859 Y19.21844659
G1 X20.24452379 Y19.2474332
G1 X20.35924067 Y19.29495049
G1 X20.46511187 Y19.35982844
G1 X20.55953047 Y19.44046953
G1 X20.64017156 Y19.53488813
G1 X20.70504951 Y19.64075933
G1 X20.7525668 Y19.75547621
G1 X20.78155341 Y19.8762141
G1 X20.79129557 Y20

; PASS #2 AT -8 DEPTH
G1 F100 Z-8
G1 F600
G1 X20.79129557 Y20
G1 X20.78155341 Y20.1237859
G1 X20.7525668 Y20.24452379
G1 X20.70504951 Y20.35924067
G1 X20.64017156 Y20.46511187
G1 X20.55953047 Y20.55953047
G1 X20.46511187 Y20.64017156
G1 X20.35924067 Y20.70504951
G1 X20.24452379 Y20.7525668
G1 X20.1237859 Y20.78155341
G1 X20 Y20.79129557
G1 X19.8762141 Y20.78155341
G1 X19.75547621 Y20.7525668
G1 X19.64075933 Y20.70504951
G1 X19.53488813 Y20.64017156
G1 X19.44046953 Y20.55953047
G1 X19.35982844 Y20.46511187
G1 X19.29495049 Y20.35924067
G1 X19.2474332 Y20.24452379
G1 X19.21844659 Y20.1237859
G1 X19.20870443 Y20
G1 X19.21844659 Y19.8762141
G1 X19.2474332 Y19.75547621
G1 X19.29495049 Y19.64075933
G1 X19.35982844 Y19.53488813
G1 X19.44046953 Y19.44046953
G1 X19.53488813 Y19.35982844
G1 X19.64075933 Y19.29495049
G1 X19.75547621 Y19.2474332
G1 X19.8762141 Y19.21844659
G1 X20 Y19.20870443
G1 X20.1237859 Y19.21844659
G1 X20.24452379 Y19.2474332
G1 X20.35924067 Y19.29495049
G1 X20.46511187 Y19.35982844
G1 X20.55953047 Y19.44046953
G1 X20.64017156 Y19.53488813
G1 X20.70504951 Y19.64075933
G1 X20.7525668 Y19.75547621
G1 X20.78155341 Y19.8762141
G1 X20.79129557 Y20

; PASS #3 AT -12 DEPTH
G1 F100 Z-12
G1 F600
G1 X20.79129557 Y20
G1 X20.78155341 Y20.1237859
G1 X20.7525668 Y20.24452379
G1 X20.70504951 Y20.35924067
G1 X20.64017156 Y20.46511187
G1 X20.55953047 Y20.55953047
G1 X20.46511187 Y20.64017156
G1 X20.35924067 Y20.70504951
G1 X20.24452379 Y20.7525668
G1 X20.1237859 Y20.78155341
G1 X20 Y20.79129557
G1 X19.8762141 Y20.78155341
G1 X19.75547621 Y20.7525668
G1 X19.64075933 Y20.70504951
G1 X19.53488813 Y20.64017156
G1 X19.44046953 Y20.55953047
G1 X19.35982844 Y20.46511187
G1 X19.29495049 Y20.35924067
G1 X19.2474332 Y20.24452379
G1 X19.21844659 Y20.1237859
G1 X19.20870443 Y20
G1 X19.21844659 Y19.8762141
G1 X19.2474332 Y19.75547621
G1 X19.29495049 Y19.64075933
G1 X19.35982844 Y19.53488813
G1 X19.44046953 Y19.44046953
G1 X19.53488813 Y19.35982844
G1 X19.64075933 Y19.29495049
G1 X19.75547621 Y19.2474332
G1 X19.8762141 Y19.21844659
G1 X20 Y19.20870443
G1 X20.1237859 Y19.21844659
G1 X20.24452379 Y19.2474332
G1 X20.35924067 Y19.29495049
G1 X20.46511187 Y19.35982844
G1 X20.55953047 Y19.44046953
G1 X20.64017156 Y19.53488813
G1 X20.70504951 Y19.64075933
G1 X20.7525668 Y19.75547621
G1 X20.78155341 Y19.8762141
G1 X20.79129557 Y20

; PASS #4 AT -14 DEPTH
G1 F100 Z-14
G1 F600
G1 X20.79129557 Y20
G1 X20.78155341 Y20.1237859
G1 X20.7525668 Y20.24452379
G1 X20.70504951 Y20.35924067
G1 X20.64017156 Y20.46511187
G1 X20.55953047 Y20.55953047
G1 X20.46511187 Y20.64017156
G1 X20.35924067 Y20.70504951
G1 X20.24452379 Y20.7525668
G1 X20.1237859 Y20.78155341
G1 X20 Y20.79129557
G1 X19.8762141 Y20.78155341
G1 X19.75547621 Y20.7525668
G1 X19.64075933 Y20.70504951
G1 X19.53488813 Y20.64017156
G1 X19.44046953 Y20.55953047
G1 X19.35982844 Y20.46511187
G1 X19.29495049 Y20.35924067
G1 X19.2474332 Y20.24452379
G1 X19.21844659 Y20.1237859
G1 X19.20870443 Y20
G1 X19.21844659 Y19.8762141
G1 X19.2474332 Y19.75547621
G1 X19.29495049 Y19.64075933
G1 X19.35982844 Y19.53488813
G1 X19.44046953 Y19.44046953
G1 X19.53488813 Y19.35982844
G1 X19.64075933 Y19.29495049
G1 X19.75547621 Y19.2474332
G1 X19.8762141 Y19.21844659
G1 X20 Y19.20870443
G1 X20.1237859 Y19.21844659
G1 X20.24452379 Y19.2474332
G1 X20.35924067 Y19.29495049
G1 X20.46511187 Y19.35982844
G1 X20.55953047 Y19.44046953
G1 X20.64017156 Y19.53488813
G1 X20.70504951 Y19.64075933
G1 X20.7525668 Y19.75547621
G1 X20.78155341 Y19.8762141
G1 X20.79129557 Y20

; PATH FINISHED FOR "undefined" circle WITH inside CUT, MOVING BACK TO this.tool.zClearance
G0 F2000 Z5

Interface look different, without the X,Y,Z control

untitled

Why is my interface looks different with yours? It doesnt have the X,Y and Z control.

Also, after sending Gcode to CNC, there is no response, coming with a fileServer error. What can I do with it?

Thank you in advanced.

node package.json

It would be nice to have a package.json file to automatically load the correct version of the dependencies with a simple "npm install".

Thanks!

Suggestion: add smaller increments for jogging to allow better homing

I added a line of html to allow movement of .1 inch and .001 inch to home more accurately. Starting at line 210 in index.html

<select class="form-control" id="jogSize">
<option value=".001">Distance: .001</option>
<option value=".1">Distance: .1</option>
<option value=".5">Distance: .5</option>
<option value="1">Distance: 1</option>
<option value="2">Distance: 2</option>
<option selected value="5">Distance: 5</option>
<option value="10">Distance: 10</option>
<option value="20">Distance: 20</option>
</select>

Add script that can install/reinstall Grbl on the GrblPi

Hi

Just an enhancement request

I created a script that will download and install dependencies as well as Grbl 0.8 9600 hex and then upload it to the ATmega on our GrblPi board

Can easilly modify it to take parameters maybe like picking GrblPi/Uno/etc and changing the upload baud rate accordingly. I am using the Duemilanove bootloader on the GrblPi as the 57600 makes for a more reliable upload with level shifted serial but you can use same script to upload to say an Uno at -P /dev/ttyACM0 -b 115200

I figure adding this as a wrapper in your GrblWeb will be a cool feature to upload (or reupload) firmware from within GrblWeb - making deployment and maintenance easier as well?

Lasersaur did a similar thing in lasaurapp and I use the firmware upload from there quite often

Peter

echo "Preparing environment for installing Grbl onto GrblPi"
cd ~

echo "Downloading Dean Mao's AVRDUDE Wrapper Script"
git clone https://github.com/deanmao/avrdude-rpi.git

echo "Installing Arduino/Avrdude and updating RPi.GPIO"
sudo apt-get update
sudo apt-get install python-dev
sudo apt-get install python-rpi.gpio
sudo apt-get install arduino

echo "Configuring autoreset on Physical pin 12, RPi.GPIO Pin 1"
cd avrdude-rpi/
sed -i 's/pin = 18/pin = 1/g' autoreset

echo "Installing Dean Mao's Autoreset wrapper for AVRDUDE"
sudo cp autoreset /usr/bin
sudo cp avrdude-autoreset /usr/bin
sudo mv /usr/bin/avrdude /usr/bin/avrdude-original
sudo ln -s /usr/bin/avrdude-autoreset /usr/bin/avrdude
sudo chmod +x /usr/bin/autoreset
sudo chmod +x /usr/bin/avrdude

echo "Downloading Grbl 0.8 9600 for ATmega328p"
cd ~
mkdir grbl
cd grbl
wget https://raw.github.com/grbl/grbl-builds/master/builds/grbl_v0_8c_atmega328p_16mhz_9600.hex

echo "Programming ATmega (with Duemilanove bootloader at 57600 baud)"

avrdude -pm328p -carduino -P/dev/ttyAMA0 -b57600 -D -Uflash:w:grbl_v0_8c_atmega328p_16mhz_9600.hex

echo "Programming complete - connect from GrblWeb now"

Externally hosted libraries means no internet-less access

Tried implementing GrblWeb on a GrblPi at hitemp.co.za's factory today (replacing the chinese electronics) - struck a snag. Bootstrap and JQuery libraries are hosted off-device so hooking a laptop up to the CNC means it didn't "just work"

We had to pull in a lan cable to get internet to the laptop.

Maybe add?

Change of tools

Hi,

how are you supposed to perform a tool change with GRBLweb?

I have M05 and M00 in my .nc file, then the machine halts, however no controls (eg. to lift Z) are possible.
Also I am not able to manually send commands.

Daniel

Cannot start on Linux

Cannot start on Linux,The following errors are reported

Got error: connect ECONNREFUSED 127.0.0.1:8080 not enabling webcam
node:internal/process/promises:265
            triggerUncaughtException(err, true /* fromPromise */);
            ^

Error: Error: Input/output error setting custom baud rate of 115200
Emitted 'error' event on SerialPort instance at:
    at SerialPort._error (/home/cnc/grblweb/node_modules/@serialport/stream/lib/index.js:200:10)
    at /home/cnc/grblweb/node_modules/@serialport/stream/lib/index.js:242:12

Node.js v17.4.0

npm install fails

Hello,

I tried to execute npm install and it fails:

$ npm install           
grblweb@ /home/username/grblweb
`-- (empty)

npm WARN EPACKAGEJSON grblweb@ No repository field.
npm WARN EPACKAGEJSON grblweb@ No license field.
npm WARN EBUNDLEOVERRIDE Replacing bundled serialport > node-pre-gyp with new installed version
npm ERR! Linux 4.1.15-3-ARCH
npm ERR! argv "/home/username/.nvm/versions/node/v5.5.0/bin/node" "/home/username/.nvm/versions/node/v5.5.0/bin/npm" "install"
npm ERR! node v5.5.0
npm ERR! npm  v3.3.12
npm ERR! path /home/username/grblweb/node_modules/serialport/node_modules/node-pre-gyp/node_modules/mkdirp/bin/cmd.js
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall chmod

npm ERR! enoent ENOENT: no such file or directory, chmod '/home/username/grblweb/node_modules/serialport/node_modules/node-pre-gyp/node_modules/mkdirp/bin/cmd.js'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent 

npm ERR! Please include the following file with any support request:
npm ERR!     /home/username/grblweb/npm-debug.log
npm ERR! code 1

Could you help me with this? I tried installing the node-pre-gyp, but that doesn't help.

npm-debug.log.txt

/dev/ttyAMA0 not showing up in Serial port list after making available

===Procedure to replicate issue===
Follow standard process to free up Raspberry pi serial port on your Pi Image (Procedure below)
Reboot to take effect

===Expected outcome: ===
/dev/ttyAMA0 (Broadcom UART) available in list

===Actual Outcome:===
Serial port dropdown only shows "Select a Serial port"

Procedure to make /dev/AMA0 available: Tested by using screen /dev/ttyAMA0 9600 and can communicate fine with Grbl on the GrblPi Shield, send commands, list settings etc from Screen. Node is just not detecting it

Firstly, the kernel will use the port as controlled by kernel command line contained in /boot/cmdline.txt. The file will look something like this:

dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait

The console keyword outputs messages during boot, and the kgdboc keyword enables kernel debugging. You will need to remove all references to ttyAMA0. So, for the example above /boot/cmdline.txt, should contain:

dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait

You must be root to edit this (e.g. use sudo nano /boot/cmdline.txt). Be careful doing this, as a faulty command line can prevent the system booting.

Secondly, after booting, a login prompt appears on the serial port. This is controlled by the following lines in /etc/inittab:

Spawn a getty on Raspberry Pi serial line

T0:23:respawn:/sbin/getty -L ttyAMA0 115200 vt100

You will need to edit this file to comment out the second line, i.e.

T0:23:respawn:/sbin/getty -L ttyAMA0 115200 vt100

Finally you will need to reboot the Pi for the new settings to take effect. Once this is done, you can use /dev/ttyAMA0 like any normal linux serial port, and you wont get any unwanted traffic confusing the attached devices. )

Preview Window

Hi,

I have not been able yet to produce one GCode file that shows up in the preview. In the Result window I regularly receive the following:

--------------New Gcode Loaded--------------
Min Dimensions X: 100000 Y: 100000 Z: 100000
Max Dimensions X: -100000 Y: -100000 Z: -100000

Total Dimensions X: -200000 Y: -200000 Z: -200000

Which are definitely not the dimensions of my GCode. I would be happy to supply sample code.

Daniel

nodejs serialport 1.4 is not compiling properly

Hi Andrew

nodejs serialport version 1.4.x is not compiling when doing a fresh 'npm install' (their issue) - I have changed version in package.json to "serialport" : "4.x" and voilá

BTW this is a great-great package, interesting solutions throughout the code, and millcrum is fantastic. If you want a hand on future developments drop a msg

Best,

Got error: connect ECONNREFUSED 127.0.0.1:8080 not enabling webcam

Using node js on window 10
trying to run grblweb

config.webPort = 85;
config.serialBaudRate = 115200;
config.usettyAMA0 = 1;
// expects a webcam stream from mjpg_streamer
config.webcamPort = 8080;

my configurations

Got error: connect ECONNREFUSED 127.0.0.1:8080 not enabling webcam
image

npm install fails

package.json has no attributes "name", only:
{ "dependencies" :
{ "node-static" : "0.7.x"
, "serialport" : "1.4.x"
, "socket.io" : "1.0.x"
}
}

So it fails with:
pi@raspberry ~/grblweb $ sudo npm install
npm ERR! Couldn't read dependencies.

npm ERR! Error: No 'name' field found in package.json
npm ERR! at /usr/share/npm/lib/utils/read-json.js:253:13
npm ERR! at /usr/share/npm/lib/utils/read-json.js:166:33
npm ERR! at P (/usr/share/npm/lib/utils/read-json.js:142:41)
npm ERR! at /usr/share/npm/lib/utils/read-json.js:108:7
npm ERR! at [object Object]. (fs.js:123:5)
npm ERR! at [object Object].emit (events.js:64:17)
npm ERR! at fs.js:1190:12
npm ERR! at Object.oncomplete (/usr/lib/nodejs/graceful-fs.js:94:5)
npm ERR! You may report this log at:
npm ERR! http://bugs.debian.org/npm
npm ERR! or use
npm ERR! reportbug --attach /home/pi/grblweb/npm-debug.log npm
npm ERR!
npm ERR! System Linux 3.12.28+
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! cwd /home/pi/grblweb
npm ERR! node -v v0.6.19
npm ERR! npm -v 1.1.4
npm ERR! message No 'name' field found in package.json
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/pi/grblweb/npm-debug.log
npm not ok

Draggable jog interface is not good for fine control

The draggable jog interface is OK for coarse movements, but relatively tricky for moving the head to a precise start position compared to the old buttons.

It would be nice to have an option to choose which UI to present.

The best I've used for this is the pronterface UI for 3D printing

OS X serial connection, check permissions on /dev/cu.Bluetooth-Modem

I'm trying to run this in OS X and noticed that the server.js script loops over all of the available serial connections. This happens before the web server even gets up and running. On OS X it chokes on the bluetooth devices. I can edit the loop index to start at what ever the USB tty is running on and the script loads fine. I think there just needs to be some error catching when trying to initialize each serial connection. I have been looking into fixing this issue but wanted to make note of it here.

Index hack line: https://github.com/andrewhodel/grblweb/blob/master/server.js#L89

speery@speerymbpx7:~/projects/grblweb (master)$ node server.js 

events.js:72
        throw er; // Unhandled 'error' event
              ^
Error: Cannot open /dev/cu.Bluetooth-Modem

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.