Code Monkey home page Code Monkey logo

Comments (6)

luminarious avatar luminarious commented on September 18, 2024 5

To make it work on Windows I explicitly set them to run with node

"start": "npm run minify && npm run render && npm run compile && npm run serve",
"serve": "cd www && node ../scripts/server.js",
"compile": "node ./scripts/compile.js",
"minify": "node ./scripts/minify.js",
"render": "node ./scripts/render.js"

from create-nue.

kon-pas avatar kon-pas commented on September 18, 2024 4

Copy and paste the code above to scripts in package.json. It is a very quick fix until we figure out the solution to satisfy all users.

Here is the whole package.json, if you are still having troubles:

{
  "name": "create-nue",
  "type": "module",
  "version": "0.1.3",
  "homepage": "https://github.com/nuejs/create-nue",
  "description": "A recommended way to start a Nue project",
  "repository": {
    "url": "https://github.com/nuejs/create-nue.git",
    "type": "git"
  },
  "bin": {
    "create-nue": "./scripts/init.js"
  },
  "scripts": {
    "start": "npm run minify && npm run render && npm run compile && npm run serve",
    "serve": "cd www && node ../scripts/server.js",
    "compile": "node ./scripts/compile.js",
    "minify": "node ./scripts/minify.js",
    "render": "node ./scripts/render.js"
  },
  "dependencies": {
    "nuejs-core": "^0.1.0",
    "js-yaml": "^4.1.0"
  }
}

from create-nue.

diomed avatar diomed commented on September 18, 2024

@tipiirai is this not an issue worth of attention?

windows users casually being ignored

from create-nue.

diomed avatar diomed commented on September 18, 2024

thank you @kon-pas ; that helped

from create-nue.

maheenur13 avatar maheenur13 commented on September 18, 2024

thanks @kon-pas

from create-nue.

tipiirai avatar tipiirai commented on September 18, 2024

Fixed with #16

Thanks guys!

from create-nue.

Related Issues (19)

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.