Coder Social home page Coder Social logo

Comments (10)

Ashsha12 avatar Ashsha12 commented on September 7, 2024 1

Might have to switch to CWD

if (!process.env.PWD) {
  process.env.PWD = process.cwd();
}

This worked great THANK YOU - Out of curiosity - what is PWD? protected written drive?

from generative-art-node.

philcon93 avatar philcon93 commented on September 7, 2024 1

Might be a silly question but did you save the config file after updating to your new layer folder names? I can see it's unsaved in that screenshot and the path is looking for .../layers/background and the only location that string is found is in the layersOrder

from generative-art-node.

KongJonasNiko avatar KongJonasNiko commented on September 7, 2024

I get the same Error :/ also if i try npm run build

from generative-art-node.

Ashsha12 avatar Ashsha12 commented on September 7, 2024

Me as well - Not entirely sure how to recode this or adjust the directory

from generative-art-node.

philcon93 avatar philcon93 commented on September 7, 2024

Does windows not have access to PWD?

from generative-art-node.

philcon93 avatar philcon93 commented on September 7, 2024

Might have to switch to CWD

if (!process.env.PWD) {
  process.env.PWD = process.cwd();
}

from generative-art-node.

philcon93 avatar philcon93 commented on September 7, 2024

It's a Linux command and stands for 'print working directory', similar to how cwd is 'current working directory'.

My bad 😣 I work on Macs exclusively so forget to test for Windows.

from generative-art-node.

elfiction avatar elfiction commented on September 7, 2024

when i try with my layers, same problem for me :/ (on mac)

Ekran Resmi 2021-09-01 04 51 43

from generative-art-node.

elfiction avatar elfiction commented on September 7, 2024

Might be a silly question but did you save the config file after updating to your new layer folder names? I can see it's unsaved in that screenshot and the path is looking for .../layers/background and the only location that string is found is in the layersOrder

Oh... Thank you! That was all my code knowledge. :D

from generative-art-node.

JoreisPy avatar JoreisPy commented on September 7, 2024

You need to install the dependencies.

npm install all

from generative-art-node.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.