Comments (8)
Is there another way to start a new app from one of the full featured templates?
Do you need more details to troubleshoot this bug?
from zuix.
Would you please provide the full terminal output?
I just tried and no errors so far:
$ npx zuix new my-webapp
- created folder "my-webapp"
- downloading web-starter
- extracting
- copying files
- installing packages
added 752 packages, and audited 755 packages in 11s
99 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
Done!
$ cd my-webapp/
$ npx zuix start
> [email protected] start
> npx @11ty/eleventy --serve
- created folder "docs/js/codemirror"
[11ty] Writing docs/manifest.json from ./source/manifest.json.liquid
[11ty] Writing docs/robots.txt from ./source/robots.njk
[11ty] Writing docs/search-index.json from ./source/search-index.json.njk
[11ty] Writing docs/sitemap.xml from ./source/sitemap.njk
[11ty] Writing docs/editor/index.html from ./source/editor/index.liquid
[11ty] Writing docs/feed/rss.xml from ./source/feed/rss.njk
[11ty] Writing docs/search/index.html from ./source/search.liquid
[11ty] Writing docs/content/docs/index.html from ./source/content/docs/index.liquid
[11ty] Writing docs/index.html from ./source/index.liquid
[11ty] Writing docs/content/docs/building-and-publishing/index.html from ./source/content/docs/building-and-publishing/index.md (liquid)
[11ty] Writing docs/content/docs/liquid-tags/index.html from ./source/content/docs/liquid-tags/index.md (liquid)
[11ty] Writing docs/content/docs/page-editing-and-options/index.html from ./source/content/docs/page-editing-and-options/index.md (liquid)
[11ty] Writing docs/content/docs/getting-started/index.html from ./source/content/docs/getting-started/index.md (liquid)
15:38:32.299 I editor/index.html
15:38:32.413 I = skipped (same as input)
|
15:38:32.415 I search/index.html
15:38:32.565 I = skipped (same as input)
|
15:38:32.567 I content/docs/index.html
15:38:32.654 I = skipped (same as input)
|
15:38:32.656 I index.html
15:38:32.787 I = skipped (same as input)
|
15:38:32.788 I content/docs/building-and-publishing/index.html
15:38:32.881 I = skipped (same as input)
|
15:38:32.882 I content/docs/liquid-tags/index.html
15:38:33.035 I = skipped (same as input)
|
15:38:33.036 I content/docs/page-editing-and-options/index.html
15:38:33.185 I = skipped (same as input)
|
15:38:33.187 I content/docs/getting-started/index.html
15:38:33.311 I = skipped (same as input)
|
[11ty] Copied 1 file / Wrote 13 files in 1.99 seconds (153.1ms each, v2.0.1)
[11ty] Watching…
[Browsersync] Access URLs:
-----------------------------------
Local: http://localhost:8080
External: http://192.168.2.107:8080
-----------------------------------
[Browsersync] Serving files from: docs
[Browsersync] Watching files...
[Browsersync] Reloading Browsers...
from zuix.
@genemars what I provided is the full terminal output...
I have the same problem with node v18.16.1 (just installed and never used before).
And simply npx zuix
triggers the same error:
npx zuix
WARNING: No configurations found in configuration directory:/home/sylvain/projects/theories/config
WARNING: To disable this warning set SUPPRESS_NO_CONFIG_WARNING in the environment.
/home/sylvain/.npm/_npx/e326020e254dca45/node_modules/config/lib/config.js:179
throw new Error('Configuration property "' + property + '" is not defined');
^
Error: Configuration property "zuix" is not defined
at Config.get (/home/sylvain/.npm/_npx/e326020e254dca45/node_modules/config/lib/config.js:179:11)
at Object.<anonymous> (/home/sylvain/.npm/_npx/e326020e254dca45/node_modules/zuix/commands/generate.js:36:25)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
at Module.load (node:internal/modules/cjs/loader:1119:32)
at Module._load (node:internal/modules/cjs/loader:960:12)
at Module.require (node:internal/modules/cjs/loader:1143:19)
at require (node:internal/modules/cjs/helpers:110:18)
at Object.<anonymous> (/home/sylvain/.npm/_npx/e326020e254dca45/node_modules/zuix/zuix.js:33:18)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
Node.js v18.16.1
`̀`
from zuix.
I cannot reproduce the issue, this is what I see when I run the command:
$ npx zuix
Usage: zuix [options] [command]
Options:
-h, --help display help for command
Commands:
version output CLI version
new [options] <project_name> Creates a new project
start Starts the development server
generate|g <schematic> [options...] Generates and/or modifies files based on a schematic
compile|c <inputFile> [outputFile] [pathPrefix] Compiles a page
help [command] display help for command
Try running this command:
npx zuix@latest
it should install the latest version of the zuix CLI.
from zuix.
same result unfortunately...
npx zuix@latest
Need to install the following packages:
[email protected]
Ok to proceed? (y) y
npm WARN deprecated [email protected]: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-terser
npm WARN deprecated [email protected]: Use your platform's native performance.now() and performance.timeOrigin.
npm WARN deprecated [email protected]: Please use @jridgewell/sourcemap-codec instead
npm WARN deprecated [email protected]: [email protected]
WARNING: No configurations found in configuration directory:/home/sylvain/projects/theories/config
WARNING: To disable this warning set SUPPRESS_NO_CONFIG_WARNING in the environment.
/home/sylvain/.npm/_npx/e14ad2e6cfe0bd29/node_modules/config/lib/config.js:179
throw new Error('Configuration property "' + property + '" is not defined');
^
Error: Configuration property "zuix" is not defined
at Config.get (/home/sylvain/.npm/_npx/e14ad2e6cfe0bd29/node_modules/config/lib/config.js:179:11)
at Object.<anonymous> (/home/sylvain/.npm/_npx/e14ad2e6cfe0bd29/node_modules/zuix/commands/generate.js:36:25)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
at Module.load (node:internal/modules/cjs/loader:1119:32)
at Module._load (node:internal/modules/cjs/loader:960:12)
at Module.require (node:internal/modules/cjs/loader:1143:19)
at require (node:internal/modules/cjs/helpers:110:18)
at Object.<anonymous> (/home/sylvain/.npm/_npx/e14ad2e6cfe0bd29/node_modules/zuix/zuix.js:33:18)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
Node.js v18.16.1
Do you have any cue about this missing configuration property?
I have a similar result with another computer (with node v14) without the stacktrace so only the message Configuration property "zuix" is not defined
from zuix.
Hi @slaivyn,
I've been able to reproduce the issue.
I will publish the fix soon.
Thanks for reporting.
from zuix.
Hi @slaivyn ,
I just published [email protected]
with the fix for this issue.
Let me know if it works now.
from zuix.
Hi @genemars,
It works!
Thank you!
from zuix.
Related Issues (12)
- dist/README.md
- How to circulate data from parent component to child component? HOT 2
- Viewpager with snap
- Question on how to connect to REST endpiont HOT 1
- Link to CodePen examples
- Add docs and examples for zuix.using(...) method.
- Add CONTRIBUTING.md file
- TypeScript examples
- A little Review/Questions/Suggestion etc HOT 4
- Any overview explanation for source structure / architecture HOT 3
- Revisit zuix build system
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 zuix.