Comments (6)
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.
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.
@tipiirai is this not an issue worth of attention?
windows users casually being ignored
from create-nue.
thank you @kon-pas ; that helped
from create-nue.
thanks @kon-pas
from create-nue.
Fixed with #16
Thanks guys!
from create-nue.
Related Issues (19)
- Error in package.json for build on Windows HOT 1
- `npm install` error: cannot read 'insert' of undefined HOT 1
- Exiting Windows HTTP server gracefully
- Switch git clone command to https in get started docs HOT 1
- [BUG] Does not detect bun HOT 4
- github webpage HOT 2
- More examples HOT 3
- Add Windows support HOT 1
- `npm run start` just run exit, not listening. HOT 5
- Vscode template HOT 3
- Proper prettier config
- NUE Live-Server HOT 1
- Set repo as template repo HOT 1
- NOTE: This repository is about to change HOT 6
- My click did not trigger HOT 1
- Routing Issue with the blog example HOT 2
- Bun shebang HOT 2
- Bug: role="button" and translation support with aria-label HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from create-nue.