Comments (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.
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.
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)
- (src/feed.njk) Error: Collection is empty in rssLastUpdatedDate filter
- Document does not have a meta description !? HOT 2
- Cannot create new page in forestry.io by default HOT 1
- Update to @11ty/eleventy 0.10
- Want to contribute
- Provide some guidance / a system for including additional front-end scripts
- Transform adds figure to paragraph HOT 5
- Question: can generate outputs for all files on `npm start` only, and not every time a file is edited? HOT 2
- Trying to create Hylia Site: 400 on /.netlify/git/settings HOT 1
- Why use @tbranyen/jsdom instead of the official package? HOT 1
- Question: Year / Month / Post Pathing
- Included CSS embiggens page size HOT 1
- Tag functionality HOT 1
- Updating .scss files does not trigger 11ty rebuild / Browsersync update HOT 2
- Service worker tweaks HOT 1
- Google Analytics HOT 1
- Provide example of using fieldsMetaData in cms preview
- Bug: future or draft posts are visible
- question: status about sass skeletal
- aria-current="page" - Only visible on the homepage
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 hylia.