For some reason that I can't understand, npm doesn't seem to find the files that are right there in the folder. This is the error I am getting:
√ Choose which action you'd like to do: » Initialize in sub-folder
Created new directory, run cd 'tradingview-alerts-home' to enter that directory
Adding file: HOWTO.txt
Adding file: blacklist.csv
Adding file: config.yml
Adding file: package.json
Adding file: atat
Adding file: atat.cmd
Adding file: atat.ps1
Installing dependencies
npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path C:\Users\user\Tools/package.json
npm ERR! errno -4058
npm ERR! enoent ENOENT: no such file or directory, open 'C:\Users\user\Tools\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! C:\Users\user\AppData\Local\npm-cache\_logs\2023-02-04T23_30_42_947Z-debug-0.log
Error: Command failed: npm --loglevel=error --prefix './tradingview-alerts-home' install
at checkExecSyncError (node:child_process:871:11)
at execSync (node:child_process:943:15)
at initializeMain (file:///C:/Users/user/AppData/Local/npm-cache/_npx/5455a11893b177f3/node_modules/@alleyway/create-tradingview-alerts-home/dist/index.js:89:9) {
status: 4294963238,
signal: null,
output: [ null, null, null ],
pid: 20400,
stdout: null,
stderr: null
}
done
I continue the installation, despite the error, and it appears to install OK, but again I got the #121 error of ERR_MODULE_NOT_FOUND. I have tried every workaround I seem to find (including #138), but I really don't know what is going on.
Windows 10
npm 8.19.2
node 18.12.0
cmd or Powershell
For some reason that I can't understand, npm doesn't seem to find the files that are right there in the folder. This is the error I am getting:
I continue the installation, despite the error, and it appears to install OK, but again I got the #121 error of
ERR_MODULE_NOT_FOUND
. I have tried every workaround I seem to find (including #138), but I really don't know what is going on.Windows 10 npm 8.19.2 node 18.12.0 cmd or Powershell
As always, thanks a lot for all your help.