Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

README.md build instructions don't work #9

Open
Bill-Kunj opened this issue Jan 2, 2023 · 3 comments
Open

README.md build instructions don't work #9

Bill-Kunj opened this issue Jan 2, 2023 · 3 comments
Assignees
Labels
bug Something isn't working documentation Improvements or additions to documentation

Comments

@Bill-Kunj
Copy link
Contributor

I tried a fresh pull and went through the README.md Build instructions https://github.com/rchain-community/rhovision-website#build

No worky.

me@bill:/media/me/Elements/OC/rhovision-website$ yarn add cmark-gfm-js
yarn add v1.22.19
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...

success Saved 1 new dependency.
info Direct dependencies
└─ [email protected]
info All dependencies
└─ [email protected]
Done in 0.91s.
me@bill:/media/me/Elements/OC/rhovision-website$ yarn install
yarn install v1.22.19
[1/4] Resolving packages...
success Already up-to-date.
Done in 0.13s.
me@bill:/media/me/Elements/OC/rhovision-website$ node md2html.js pages/filr.md > html/file.html
node:internal/modules/cjs/loader:998
  throw err;
  ^

Error: Cannot find module '/media/me/Elements/OC/rhovision-website/md2html.js'
    at Module._resolveFilename (node:internal/modules/cjs/loader:995:15)
    at Module._load (node:internal/modules/cjs/loader:841:27)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
    at node:internal/main/run_main_module:23:47 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}

Node.js v18.12.1
@Bill-Kunj Bill-Kunj changed the title README.md instructions don't work README.md build instructions don't work Jan 2, 2023
@Bill-Kunj
Copy link
Contributor Author

After checking some spelling, I cloned from scratch and tried again. Same results

me@bill:/media/me/Elements/OC$ git clone [email protected]:rchain-community/rhovision-website.git
Cloning into 'rhovision-website'...
remote: Enumerating objects: 126, done.
remote: Counting objects: 100% (126/126), done.
remote: Compressing objects: 100% (90/90), done.
remote: Total 126 (delta 50), reused 46 (delta 16), pack-reused 0
Receiving objects: 100% (126/126), 46.63 KiB | 1.06 MiB/s, done.
Resolving deltas: 100% (50/50), done.
me@bill:/media/me/Elements/OC$ cd rhovision-website
me@bill:/media/me/Elements/OC/rhovision-website$ ls
html  LICENSE  package.json  pages  pictures  README.md  src  web.js
me@bill:/media/me/Elements/OC/rhovision-website$ yarn add cmark-gfm-js
yarn add v1.22.19
info No lockfile found.
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
success Saved lockfile.
success Saved 1 new dependency.
info Direct dependencies
└─ [email protected]
info All dependencies
└─ [email protected]
Done in 2.08s.
me@bill:/media/me/Elements/OC/rhovision-website$ yarn install
yarn install v1.22.19
[1/4] Resolving packages...
success Already up-to-date.
Done in 0.14s.
me@bill:/media/me/Elements/OC/rhovision-website$ node md2html.js pages/file.md >html/file.html
node:internal/modules/cjs/loader:998
  throw err;
  ^

Error: Cannot find module '/media/me/Elements/OC/rhovision-website/md2html.js'
    at Module._resolveFilename (node:internal/modules/cjs/loader:995:15)
    at Module._load (node:internal/modules/cjs/loader:841:27)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
    at node:internal/main/run_main_module:23:47 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}

Node.js v18.12.1

@Bill-Kunj Bill-Kunj added bug Something isn't working documentation Improvements or additions to documentation labels Jan 2, 2023
@jimscarver jimscarver self-assigned this Jan 3, 2023
@jimscarver
Copy link
Contributor

Fixed path to md2html and filename.

@Bill-Kunj
Copy link
Contributor Author

The README.md instructions still do not work. See below error message

me@bill:~$ mkdir blah
me@bill:~$ cd $_
me@bill:~/blah$ git clone [email protected]:rchain-community/rhovision-website.git
Cloning into 'rhovision-website'...
remote: Enumerating objects: 129, done.
remote: Counting objects: 100% (129/129), done.
remote: Compressing objects: 100% (93/93), done.
remote: Total 129 (delta 52), reused 46 (delta 16), pack-reused 0
Receiving objects: 100% (129/129), 47.28 KiB | 396.00 KiB/s, done.
Resolving deltas: 100% (52/52), done.
me@bill:~/blah$ cd *
me@bill:~/blah/rhovision-website$ yarn add cmark-gfm-js
yarn add v1.22.19
warning ../../package.json: No license field
info No lockfile found.
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...

success Saved lockfile.
success Saved 1 new dependency.
info Direct dependencies
└─ [email protected]
info All dependencies
└─ [email protected]
Done in 0.76s.
me@bill:~/blah/rhovision-website$ yarn install
yarn install v1.22.19
warning ../../package.json: No license field
[1/4] Resolving packages...
success Already up-to-date.
Done in 0.08s.
me@bill:~/blah/rhovision-website$ node src/md2html.js pages/home.md >html/home.html
me@bill:~/blah/rhovision-website$ node web.jw
node:internal/modules/cjs/loader:998
  throw err;
  ^

Error: Cannot find module '/home/me/blah/rhovision-website/web.jw'
    at Module._resolveFilename (node:internal/modules/cjs/loader:995:15)
    at Module._load (node:internal/modules/cjs/loader:841:27)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
    at node:internal/main/run_main_module:23:47 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}

Node.js v18.12.1

@Bill-Kunj Bill-Kunj reopened this Jan 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants