jalagar / animated-art-engine

A generative engine that takes various png layers on a sprite sheet format, combines them and then converts them into a .gif file
MIT License
167 stars 62 forks source link

The system cannot find the path specified. #35

Closed Nachi4265 closed 2 years ago

Nachi4265 commented 2 years ago

Whenever I try to run : makestep 2 i get the following error

cd ./step2_spritesheet_to_generative_sheet; npm run generate The system cannot find the path specified. make: *** [Makefile:10: step2] Error 1

Im not sure what im supposed to be doing any help would be great!

jalagar commented 2 years ago

Hi there! What folder are you running it in? What operating system are you running on? Can you try copy and paste the command in the terminal instead?

Nachi4265 commented 2 years ago

im running it in the following folder ( 'C:/Users/hignacio/Documents/Generative_Gif_Engine-main' ) And im using Visual Studio Code and the jalagar / Generative_Gif_Engine

engine

jalagar commented 2 years ago

Are you on a Mac or PC? Also can you try run cd ./step2_spritesheet_to_generative_sheet individually before running npm run generate?

Nachi4265 commented 2 years ago

Im on PC , I tried running the following command cd ./step2_spritesheet_to_generative_sheet but once I tried to run npm generate after it I got the following error

nft-kitchen-sink-generator@2.0.4 generate node index.js

npm ERR! code ENOENT npm ERR! syscall spawn bash npm ERR! path C:\Users\hignacio\Documents\Generative_Gif_Engine-main\step2_spritesheet_to_generative_sheet npm ERR! errno -4058 npm ERR! enoent spawn bash ENOENT 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\hignacio\AppData\Local\npm-cache_logs\2022-04-26T23_21_46_899Z-debug-0.log PS C:\Users\hignacio\Documents\Generative_Gif_Engine-main\step2_spritesheet_to_generative_sheet>

jalagar commented 2 years ago

Hmm that is very strange, try the answer here https://stackoverflow.com/questions/49415958/what-could-cause-an-error-related-to-npm-not-being-able-to-find-a-file-no-conte to reinstall the node modules. It might be you installed them globally or something and they can't be found. You should see the output like this:

> nft-kitchen-sink-generator@2.0.4 generate
> node index.js

generator started undefined
(node:48333) [DEP0147] DeprecationWarning: In future versions of Node.js, fs.rmdir(path, { recursive: true }) will be removed. Use fs.rm(path, { recursive: true }) instead
jalagar commented 2 years ago

Hi @Nachi4265 going to close this issue, I will need some more information and feel free to create a discussion board item so others can see!