Open hhdang opened 7 years ago
Hi,
First thing to say: aktos-scada
is deprecating by its successor tool, the ScadaJS. I would recommend using ScadaJS instead.
If you stick with aktos-scada
: Your problem is obviously about locating lsc
.
npm i -g lsc@1.4.0
)Hi, Thanks your reply.
1.Linux, Debian 8.2 2.I have not run "npm i -g lsc@1.4.0" standalone.
I will try ScadaJS and lsc both.
lsc@1.4.0 seem not alive.
linux_debian8_2$ sudo npm i -g lsc@1.4.0
npm ERR! Linux 3.16.0-4-amd64 npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "i" "-g" "lsc@1.4.0" npm ERR! node v6.11.0 npm ERR! npm v3.10.10 npm ERR! code ETARGET
npm ERR! notarget No compatible version found: lsc@1.4.0 npm ERR! notarget Valid install targets: npm ERR! notarget 0.17.630, 0.17.524, 0.17.516, 0.17.509, 0.17.303, 0.17.119, 0.16.1005, 0.16.928, 0.16.921, 0.16.714, 0.16.713, 0.16.520 npm ERR! notarget npm ERR! notarget This is most likely not a problem with npm itself. npm ERR! notarget In most cases you or one of your dependencies are requesting npm ERR! notarget a package version that doesn't exist.
npm ERR! Please include the following file with any support request: npm ERR! /home/hh/npm-debug.log
Eh! I'm terribly sorry that I mistyped the global Livescript install part. Correct installation command is:
npm i -g livescript@1.4.0
As it is Debian, you need to run it as root (note the -g
flag):
sudo npm i -g livescript@1.4.0
in aktos-scada$ npm start Return Error
[PM2][ERROR] Interpreter /usr/lib/node_modules/pm2/node_modules/.bin/lsc does not seems to be available
there is no lsc program in .bin directory
Anyone can help me how to fix it? Thanks!