Adventech / sabbath-school-lessons

📖 The Lessons for every language
MIT License
99 stars 114 forks source link

npm install fails #2710

Closed toak closed 6 months ago

toak commented 7 months ago

When I do a npm install it gives this output:

ubuntu:sabbath-school-lessons$ npm install npm ERR! code E401 npm ERR! 401 Unauthorized - GET https://npm.pkg.github.com/@Adventech%2fbible-tools - authentication token not provided

VitalikL commented 6 months ago

Hi @toak , we made the decision to remove bible-tools from public access due to possibility of the copyright issues. I will look into adjusting public code to work without it

toak commented 6 months ago

@VitalikL The problem is that I can not run node scripts any more.

I pulled the content in a new folder, but nothing helps:

When I do an "npm install":

npm ERR! code E401
npm ERR! 401 Unauthorized - GET https://npm.pkg.github.com/@Adventech%2fbible-tools - authentication token not provided

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/tobi/.npm/_logs/2024-04-08T09_44_28_636Z-debug-0.log

I want to create the template for the next quarter:

node create.js -s 29/06/2024 -l de -q 2024-03-iv -c 13 -t Titel -d Beschreibung -h "July · August · September 2024" -k
node:internal/modules/cjs/loader:1042
  throw err;
  ^

Error: Cannot find module 'fs-extra'
Require stack:
- /Users/tobi/Documents/GitHub/new/sabbath-school-lessons/create.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1039:15)
    at Module._load (node:internal/modules/cjs/loader:885:27)
    at Module.require (node:internal/modules/cjs/loader:1105:19)
    at require (node:internal/modules/cjs/helpers:103:18)
    at Object.<anonymous> (/Users/tobi/Documents/GitHub/new/sabbath-school-lessons/create.js:24:15)
    at Module._compile (node:internal/modules/cjs/loader:1218:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1272:10)
    at Module.load (node:internal/modules/cjs/loader:1081:32)
    at Module._load (node:internal/modules/cjs/loader:922:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/Users/tobi/Documents/GitHub/new/sabbath-school-lessons/create.js'
  ]
}

What can I do to make it work again?

toak commented 6 months ago

@VitalikL Could you reopen this issue, until the tools are fixed? Or is there another way how I can run scripts disabling this functionality?