OctoDash icon indicating copy to clipboard operation
OctoDash copied to clipboard

Installation of the French language

Open titis14 opened this issue 2 years ago • 0 comments

What doesn't work? Hello, I want to switch to octodash in French because the language pack is available. I started following this procedure: https://github.com/UnchartedBull/OctoDash/blob/main/CONTRIBUTING.md

What did you already try? I installed NodeJS in v14 and npm in v7. But then I get stuck at the Setup step, I don't really understand what to do. At this step Install dependencies: npm install I have the following return:

root@octopi:~# npm run build
npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path /root/package.json
npm ERR! errno -2
npm ERR! enoent ENOENT: no such file or directory, open '/root/package.json'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2023-01-02T10_19_25_712Z-debug.log

When I look at the logs I have the same information which tells me that it cannot find the path.

27 verbose stack Error: ENOENT: no such file or directory, open '/root/package.json'
28 verbose cwd /root
29 Verbose Linux 5.10.103-v7+
30 verbose argv "/usr/bin/node" "/usr/bin/npm" "run" "build"
31 verbose node v14.21.1
32 verbose npm v7.24.2
33 error code ENOENT
34 error syscall open
35 error path /root/package.json
36 error errno -2
37 error enoent ENOENT: no such file or directory, open '/root/package.json'
38 error enoent This is related to npm not being able to find a file.
39 verbose exit -2

Can you help me on setting this up?

Thank you

General Information:

  • Hardware Raspberry Pi
  • OS Info OctoPi 0.18.0
  • OctoDash Version 2.3.1
  • OctoPrint Version v1.8.6

titis14 avatar Jan 02 '23 10:01 titis14