riscv-v-spec icon indicating copy to clipboard operation
riscv-v-spec copied to clipboard

Cannot Generate Document:cannot found Datasheet

Open lj-k opened this issue 3 years ago • 3 comments

when I trying to npm run build in ubuntu 20, it show:

`> [email protected] build

mkdir -p public && cd public && ../node_modules/.bin/datasheet -i ../v-spec.adoc -o riscv-v-spec.pdf && cd ..

sh: 1: ../node_modules/.bin/datasheet: not found`

I don't know what's the problem, I think I've run npm i successfully, but the size of node_module only 50.3MB what's the datasheet is? and which step can generate it?

lj-k avatar Jul 14 '21 09:07 lj-k

Is this resolved? I still have this issue - can anyone help?

abhiramp2013 avatar Jun 12 '22 14:06 abhiramp2013

Have you tried using Node v18.16.0 or newer?

hdelassus avatar Apr 18 '23 18:04 hdelassus

I have.

$ npm run build

> [email protected] build
> mkdir -p public && cd public && ../node_modules/.bin/datasheet -i ../v-spec.adoc -o riscv-v-spec.pdf && cd ..

sh: line 1: ../node_modules/.bin/datasheet: No such file or directory

$ npm --version
9.5.1

$ node --version
v18.16.0

I got further with this:

$ npm install
...
$ npm run build
node:internal/modules/cjs/loader:1338
  return process.dlopen(module, path.toNamespacedPath(filename));
                 ^

Error: libuuid.so.1: cannot open shared object file: No such file or directory
...

mwette avatar Aug 29 '23 18:08 mwette