Forskjell mellom versjoner av «Diskusjon:CNC Modela fres»

Fra Bitraf
Hopp til navigering Hopp til søk
m (Kretskort: "Roland" ikke "roland")
(dokumenter forsøk på installasjon av nodela)
Linje 4: Linje 4:
  
 
Nodela<ref>[http://andysigler.com/hardware/nodela/ Nodela - a web interface for milling PCBS on the Roland Modela]</ref> er et annet alternativ, det er et web-grensesnitt skrevet i javascript (nodejs) for å frese kretskort rett fra Eagle-filer. Kildekode på Github<ref>[https://github.com/andysigler/nodela Github - Nodela]</ref>. --[[Bruker:Tingo|Tingo]] ([[Brukerdiskusjon:Tingo|diskusjon]]) 31. mai 2017 kl. 11:53 (UTC)
 
Nodela<ref>[http://andysigler.com/hardware/nodela/ Nodela - a web interface for milling PCBS on the Roland Modela]</ref> er et annet alternativ, det er et web-grensesnitt skrevet i javascript (nodejs) for å frese kretskort rett fra Eagle-filer. Kildekode på Github<ref>[https://github.com/andysigler/nodela Github - Nodela]</ref>. --[[Bruker:Tingo|Tingo]] ([[Brukerdiskusjon:Tingo|diskusjon]]) 31. mai 2017 kl. 11:53 (UTC)
 +
 +
=== Nodela - test ===
 +
Installerte Nodela, men fikk en feil som sa at den krevde en nyere versjon av nodejs enn den som følger med Debian Jessie. Oppgraderte derfor nodejs fra jessie-backports. Nå er det slik
 +
bitraf@desktop-41nl8sd:~/progs/nodela$ node --version
 +
v4.8.2
 +
bitraf@desktop-41nl8sd:~/progs/nodela$ node nodela.js
 +
/home/bitraf/progs/nodela/node_modules/serialport/node_modules/bindings/bindings.js:83
 +
        throw e
 +
        ^
 +
 +
Error: Module did not self-register.
 +
    at Error (native)
 +
    at Object.Module._extensions..node (module.js:434:18)
 +
    at Module.load (module.js:343:32)
 +
    at Function.Module._load (module.js:300:12)
 +
    at Module.require (module.js:353:17)
 +
    at require (internal/module.js:12:17)
 +
    at bindings
 +
(/home/bitraf/progs/nodela/node_modules/serialport/node_modules/bindings/bindings.js:76:44)
 +
    at Object.<anonymous>
 +
(/home/bitraf/progs/nodela/node_modules/serialport/lib/bindings.js:3:35)
 +
    at Module._compile (module.js:409:26)
 +
    at Object.Module._extensions..js (module.js:416:10)
 +
 +
ok, da prøver jeg å kjøre npm install på nytt
 +
bitraf@desktop-41nl8sd:~/progs/nodela$ npm install
 +
bash: npm: command not found
 +
 +
Åh? Hvorfor er ikke den installert?
 +
La meg prøve å fikse det
 +
 +
bitraf@desktop-41nl8sd:~$ sudo apt install -o Acquire::ForceIPv4=true -t jessie-backports npm
 +
Reading package lists... Done
 +
Building dependency tree     
 +
Reading state information... Done
 +
Some packages could not be installed. This may mean that you have
 +
requested an impossible situation or if you are using the unstable
 +
distribution that some required packages have not yet been created
 +
or been moved out of Incoming.
 +
The following information may help to resolve the situation:
 +
 +
The following packages have unmet dependencies:
 +
npm : Depends: node-gyp (>= 0.10.9) but it is not going to be installed
 +
E: Unable to correct problems, you have held broken packages.
 +
 +
bitraf@desktop-41nl8sd:~$ sudo apt install -o Acquire::ForceIPv4=true node-gyp
 +
Reading package lists... Done
 +
Building dependency tree     
 +
Reading state information... Done
 +
Some packages could not be installed. This may mean that you have
 +
requested an impossible situation or if you are using the unstable
 +
distribution that some required packages have not yet been created
 +
or been moved out of Incoming.
 +
The following information may help to resolve the situation:
 +
 +
The following packages have unmet dependencies:
 +
  node-gyp : Depends: nodejs-dev but it is not going to be installed
 +
E: Unable to correct problems, you have held broken packages.
 +
 +
bitraf@desktop-41nl8sd:~$ sudo apt install -o Acquire::ForceIPv4=true -t jessie-backports nodejs-dev
 +
Reading package lists... Done
 +
Building dependency tree     
 +
Reading state information... Done
 +
Some packages could not be installed. This may mean that you have
 +
requested an impossible situation or if you are using the unstable
 +
distribution that some required packages have not yet been created
 +
or been moved out of Incoming.
 +
The following information may help to resolve the situation:
 +
 +
The following packages have unmet dependencies:
 +
  nodejs-dev : Depends: libssl1.0-dev (>= 1.0.2) but it is not installable
 +
E: Unable to correct problems, you have held broken packages.
 +
 +
bitraf@desktop-41nl8sd:~$ sudo apt install -o Acquire::ForceIPv4=true -t jessie-
 +
backports libssl1.0-dev
 +
Reading package lists... Done
 +
Building dependency tree     
 +
Reading state information... Done
 +
Package libssl1.0-dev is not available, but is referred to by another package.
 +
This may mean that the package is missing, has been obsoleted, or
 +
is only available from another source
 +
 +
E: Package 'libssl1.0-dev' has no installation candidate
 +
vi har et problem.--[[Bruker:Tingo|Tingo]] ([[Brukerdiskusjon:Tingo|diskusjon]]) 1. jun. 2017 kl. 16:41 (UTC)
  
 
== Referanser ==
 
== Referanser ==
 
<references/>
 
<references/>

Revisjonen fra 1. jun. 2017 kl. 17:41

Kretskort

Det sies at Eagle[1] har støtte for fresing og borring av kretskort på Modela. Bør sjekkes ut.--Tingo (diskusjon) 31. mai 2017 kl. 10:05 (UTC)

Nodela[2] er et annet alternativ, det er et web-grensesnitt skrevet i javascript (nodejs) for å frese kretskort rett fra Eagle-filer. Kildekode på Github[3]. --Tingo (diskusjon) 31. mai 2017 kl. 11:53 (UTC)

Nodela - test

Installerte Nodela, men fikk en feil som sa at den krevde en nyere versjon av nodejs enn den som følger med Debian Jessie. Oppgraderte derfor nodejs fra jessie-backports. Nå er det slik

bitraf@desktop-41nl8sd:~/progs/nodela$ node --version
v4.8.2
bitraf@desktop-41nl8sd:~/progs/nodela$ node nodela.js
/home/bitraf/progs/nodela/node_modules/serialport/node_modules/bindings/bindings.js:83
       throw e
       ^

Error: Module did not self-register.
   at Error (native)
   at Object.Module._extensions..node (module.js:434:18)
   at Module.load (module.js:343:32)
   at Function.Module._load (module.js:300:12)
   at Module.require (module.js:353:17)
   at require (internal/module.js:12:17)
   at bindings 
(/home/bitraf/progs/nodela/node_modules/serialport/node_modules/bindings/bindings.js:76:44)
   at Object.<anonymous> 
(/home/bitraf/progs/nodela/node_modules/serialport/lib/bindings.js:3:35)
   at Module._compile (module.js:409:26)
   at Object.Module._extensions..js (module.js:416:10)

ok, da prøver jeg å kjøre npm install på nytt

bitraf@desktop-41nl8sd:~/progs/nodela$ npm install
bash: npm: command not found

Åh? Hvorfor er ikke den installert? La meg prøve å fikse det

bitraf@desktop-41nl8sd:~$ sudo apt install -o Acquire::ForceIPv4=true -t jessie-backports npm
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
npm : Depends: node-gyp (>= 0.10.9) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
bitraf@desktop-41nl8sd:~$ sudo apt install -o Acquire::ForceIPv4=true node-gyp
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 node-gyp : Depends: nodejs-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
bitraf@desktop-41nl8sd:~$ sudo apt install -o Acquire::ForceIPv4=true -t jessie-backports nodejs-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 nodejs-dev : Depends: libssl1.0-dev (>= 1.0.2) but it is not installable
E: Unable to correct problems, you have held broken packages.
bitraf@desktop-41nl8sd:~$ sudo apt install -o Acquire::ForceIPv4=true -t jessie-
backports libssl1.0-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package libssl1.0-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libssl1.0-dev' has no installation candidate

vi har et problem.--Tingo (diskusjon) 1. jun. 2017 kl. 16:41 (UTC)

Referanser