[
Windows PowerShell Copyright (C) Microsoft Corporation. All rights reserved. Try the new cross-platform PowerShell https://aka.ms/pscore6 PS C:\Users\sahib\Downloads\generative-art-node-main (1)> npm install npm ERR! code ENOENT npm ERR! syscall open npm ERR! path C:\Users\sahib/package.json npm ERR! errno -4058 npm ERR! enoent ENOENT: no such file or directory, open 'C:\Users\sahib\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\sahib\AppData\Local\npm-cache\_logs\2021-10-14T13_21_21_398Z-debug.log PS C:\Users\sahib\Downloads\generative-art-node-main (1)> ][1]
¿Está ejecutando npm install
desde la carpeta que contiene package.json
? Verifique esto ejecutando un comando ls
y vea si el paquete.json aparece en la salida
escribiste
PS C:\Users\sahib\Downloads\generative-art-node-main (1)> npm install
pero el error está buscando algo dos directorios arriba:
npm ERR! enoent ENOENT: no such file or directory, open 'C:\Users\sahib\package.json'
Esto indicaría algo extraño/incorrecto en el paquete.json que está intentando instalar.