Giter VIP home page Giter VIP logo

Comments (3)

matthillco avatar matthillco commented on June 3, 2024 3

Hi @mandaputtra. You should be able to get this working using the changes I suggested above. In your Hylia root folder, run npm install --save-dev cross-env, then edit the serve task in package.json as described above:

"serve": "cross-env ELEVENTY_ENV=development npx eleventy --serve",

Also, edit the start task in package.json and replace the single quotes with double quotes and escape them, like this:

"start": "concurrently \"npm run sass:process -- --watch\" \"npm run serve\"",

from hylia.

mandaputtra avatar mandaputtra commented on June 3, 2024

Do you know how to get up in running locally with windows? What should I add or do? I do have win-node-env installed globally. But that only for NODE_ENV.

[0] 'np' is not recognized as an internal or external command,
[0] operable program or batch file.
[2] The filename, directory name, or volume label syntax is incorrect.
[3] '--watch'' is not recognized as an internal or external command,
[3] operable program or batch file.
[4] 'np' is not recognized as an internal or external command,
[4] operable program or batch file.
[6] 'serve'' is not recognized as an internal or external command,
[6] operable program or batch file.
[3] --watch' exited with code 1
[2] sass:process exited with code 1
[0] np exited with code 1
[6] serve' exited with code 1
[4] np exited with code 1
[1] run exited with code 1
[5] run exited with code 1
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: `concurrently 'npm run sass:process -- --watch' 'npm run serve'`
npm ERR! Exit status 1

from hylia.

Andy-set-studio avatar Andy-set-studio commented on June 3, 2024

Cheers for this @matthillco. As we discussed away from this issue, I'll assign you to this. If you can't get around to it, just let us know and I'll let someone else claim it 🙂

from hylia.

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.