build-docs fails out of the box
See original GitHub issueproblem statement
immediately after installing semantic-ui, and using the default settings at user prompt, I did the following:
cd semantic && gulp build-docs
, which yields
$ gulp build-docs
[12:44:31] Using gulpfile ~/node/octagon.react/semantic/gulpfile.js
[12:44:31] Starting 'build-docs'...
Building Metadata
Copying examples
Copying LESS source
Building Semantic for docs
(node:92547) DeprecationWarning: Calling an asynchronous function without callback is deprecated.
[12:44:31] Finished 'build-docs' after 59 ms
[12:44:31] Starting 'package compressed docs css'...
[12:44:31] Starting 'package compressed docs js'...
[12:44:31] Starting 'package uncompressed docs js'...
[12:44:31] Starting 'package uncompressed docs css'...
fs.js:89
throw err; // Forgot a callback but don't know where? Use NODE_DEBUG=fs
^
Error: ENOENT: no such file or directory, open '/Users/cdieringer/node/docs/out/metadata.json'
at rethrow (fs.js:89:21)
at maybeCallback (fs.js:107:42)
at Object.fs.writeFile (fs.js:1284:18)
at Stream.<anonymous> (/Users/cdieringer/node/octagon.react/semantic/tasks/docs/build.js:83:10)
at emitNone (events.js:86:13)
at Stream.emit (events.js:185:7)
at end (/Users/cdieringer/node/octagon.react/node_modules/map-stream/index.js:116:39)
at Stream.stream.end (/Users/cdieringer/node/octagon.react/node_modules/map-stream/index.js:122:5)
at DestroyableTransform.onend (/Users/cdieringer/node/octagon.react/node_modules/vinyl-fs/node_modules/readable-stream/lib/_stream_reada
ble.js:523:10)
at DestroyableTransform.g (events.js:291:16)
discussion
- the installer dumped a
semantic.json
in my package root, vs in thesemanic/
folder. when i go to build the docs, it tries to build docs in parent dir to my project. this is erroneous - when I do move my
semantic.json
to thesemantic/
folder, it fails with the above again, but this time because<project-root>/docs/out
doesn’t exist. if i manually create docs/out, the content generates - i expected
build-docs
to build docs. instead, what i got was a bunch of SUI assets.
this was confusing to me.
what i was hoping for was a tool I could run against a config or a dir in my project that builds the SUI CSS with my customizations. it would be great if at some point semantic can modularize some, such that I don’t need to copy all of the semantic base source into my project–i can just include my modifications, run semantic-ui build -c my-semantic-config --css-only -o ./blah.css
Issue Analytics
- State:
- Created 7 years ago
- Comments:10 (2 by maintainers)
Top Results From Across the Web
Generating JSON for single component gives JSON incompatible ...
For this reason, buildDocs.sh fails on the single-component object because it can't iterate over a non-object: $ react-docgen components/Component.js | .
Read more >Troubleshooting build errors | Cloud Build Documentation
This page provides troubleshooting strategies as well as solutions for some common error messages that you might see when running a build.
Read more >Troubleshooting failed packer build - Stack Overflow
Hi Ele, how can you ssh into the box without the --debug flag, which prints out connection details, passwords, and private keys, etc?...
Read more >packer build - Commands - HashiCorp Developer
The `packer build` command takes a template and runs all the builds within it in order to generate a set of artifacts. The...
Read more >Kedro's command line interface - Read the Docs
kedro build-docs (deprecated from version 0.19.0). kedro build-reqs (deprecated from version ... Here is a list of CLI arguments supported out of the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
i solved this problem. semantic document is not clear or it can be bug.
step by step
c:\test\semantic-org
. (use default setting for installing)semantic
inc:\test\semantic-org
gulp build
inc:\test\semantic-org\semantic
dist
inc:\test\semantic-org\semantic
c:\test\docs
npm install -g docpad
inc:\test\docs
npm install docpad
inc:\test\docs
docpad install eco;
anddocpad update; docpad upgrade;
inc:\test\docs
docpad run
inc:\test\docs
c:\test\semantic-org\semantic\dist
toc:\test\docs\out
gulp build-docs
inc:\test\semantic-org\semantic
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 30 days if no further activity occurs. Thank you for your contributions.