Comments (5)
Did anyone figure out a workaround for this? I am also having the same issue and am getting the same No entries found
as @ShaggyKris.
from better-docs.
It is a parcel error: please try to run parcel build dev/docs/entry.js --out-dir dev/docs/build
manually and see what is the error and post it here.
from better-docs.
I have the same error, when I try to start "parcel build dev/docs/entry.js --out-dir dev/docs/build", the system tells me that I have problems with scripts and gives me the link https:/go.microsoft.com/fwlink/?LinkID=135170
from better-docs.
can you post the stack trace? it should be more detailed when you run it with parcel build dev/docs/entry.js --out-dir dev/docs/build
from better-docs.
@wojtek-krysiak I am having the same issue.
running: NODE_ENV=development parcel build docs/entry.js --out-dir docs/build
Browserslist: caniuse-lite is outdated. Please run the following command: `yarn upgrade`
🚨 /Users/user/WebstormProjects/Meteor_Project/imports/ui/components/dashboards/DashboardContainer.jsx:4:28: Cannot resolve dependency 'meteor/react-meteor-data'
2 | import { loadCSS } from "fg-loadcss";
3 | import { Meteor } from "meteor/meteor";
> 4 | import { withTracker } from "meteor/react-meteor-data";
| ^
5 | import React, { Component } from "react";
6 | import MetaTags from "react-meta-tags";
7 | import {
/Users/user/WebstormProjects/Meteor_Project/node_modules/better-docs/bundler.js:91
throw error
^
Error: Command failed: NODE_ENV=development parcel build docs/entry.js --out-dir docs/build
Browserslist: caniuse-lite is outdated. Please run the following command: `yarn upgrade`
at checkExecSyncError (child_process.js:630:11)
at execSync (child_process.js:666:15)
at bundle (/Users/user/WebstormProjects/Meteor_Project/node_modules/better-docs/bundler.js:86:5)
at Object.exports.publish (/Users/user/WebstormProjects/Meteor_Project/node_modules/better-docs/publish.js:717:3)
at Object.module.exports.cli.generateDocs (/Users/user/WebstormProjects/Meteor_Project/node_modules/jsdoc/cli.js:441:39)
at Object.module.exports.cli.processParseResults (/Users/user/WebstormProjects/Meteor_Project/node_modules/jsdoc/cli.js:392:24)
at module.exports.cli.main (/Users/user/WebstormProjects/Meteor_Project/node_modules/jsdoc/cli.js:235:18)
at Object.module.exports.cli.runCommand (/Users/user/WebstormProjects/Meteor_Project/node_modules/jsdoc/cli.js:186:9)
at /Users/user/WebstormProjects/Meteor_Project/node_modules/jsdoc/jsdoc.js:93:9
at Object.<anonymous> (/Users/user/WebstormProjects/Meteor_Project/node_modules/jsdoc/jsdoc.js:94:3)
at Module._compile (internal/modules/cjs/loader.js:1156:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1176:10)
at Module.load (internal/modules/cjs/loader.js:1000:32)
at Function.Module._load (internal/modules/cjs/loader.js:899:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:74:12)
at internal/main/run_main_module.js:18:47 {
status: 1,
signal: null,
output: [
null,
<Buffer f0 9f 9a a8 20 20 2f 55 73 65 72 73 2f 6b 72 69 73 74 6f 66 65 72 70 65 72 76 69 6e 2f 57 65 62 73 74 6f 72 6d 50 72 6f 6a 65 63 74 73 2f 57 61 67 67 ... 423 more bytes>,
<Buffer 42 72 6f 77 73 65 72 73 6c 69 73 74 3a 20 63 61 6e 69 75 73 65 2d 6c 69 74 65 20 69 73 20 6f 75 74 64 61 74 65 64 2e 20 50 6c 65 61 73 65 20 72 75 6e ... 39 more bytes>
],
pid: 54829,
stdout: <Buffer f0 9f 9a a8 20 20 2f 55 73 65 72 73 2f 6b 72 69 73 74 6f 66 65 72 70 65 72 76 69 6e 2f 57 65 62 73 74 6f 72 6d 50 72 6f 6a 65 63 74 73 2f 57 61 67 67 ... 423 more bytes>,
stderr: <Buffer 42 72 6f 77 73 65 72 73 6c 69 73 74 3a 20 63 61 6e 69 75 73 65 2d 6c 69 74 65 20 69 73 20 6f 75 74 64 61 74 65 64 2e 20 50 6c 65 61 73 65 20 72 75 6e ... 39 more bytes>
}
After running parcel build dev/docs/entry.js --out-dir dev/docs/build
, I get the following:
user@MacBook-Pro-15 Meteor_Project % parcel build dev/docs/entry.js --out-dir dev/docs/build
🚨 No entries found.
at Bundler.bundle (/usr/local/lib/node_modules/parcel-bundler/src/Bundler.js:275:17)
user@MacBook-Pro-15 Meteor_Project % parcel build docs/entry.js --out-dir docs/build
🚨 /Users/user/WebstormProjects/Meteor_Project/imports/ui/components/dashboards/Dashboard.jsx:6:23: Cannot resolve dependency 'meteor/meteor'
4 | import { Grid, IconButton, Paper, withStyles } from "@material-ui/core";
5 | import HelpIcon from "@material-ui/icons/Help";
> 6 | import { Meteor } from "meteor/meteor";
| ^
7 | import React, { Component } from "react";
8 | import MetaTags from "react-meta-tags";
9 | import { toast } from "react-toastify";
Browserslist: caniuse-lite is outdated. Please run the following command: `yarn upgrade`
from better-docs.
Related Issues (20)
- better-docs is vulnerable to RCE
- peer dependency conflict with react HOT 4
- Conversion of typescript declarations at beginning of files incorrectly parses.
- Installation warnings about the core-js version
- Display full namepath of subnamespaces in navbar
- React 18 compatability HOT 11
- @component @parcel/core: ... does not export 'default' HOT 3
- Can we have an option to just turn off live preview for react components.
- [feature request] Add github source links
- JSDoc 4.0.0 HOT 6
- Include interface definition table in namespace page directly
- Library missing peer dependency prop-types
- Constructors show up in class listing
- I am getting Error in get started steps HOT 3
- How do I remove GLOBAL and METHODS namespaces from generated doc ?
- Vue packages version mismatch when trying to use @component plugin HOT 2
- Add support for ".cts" and ".mts" files HOT 1
- Support Typescript Assertion Functions
- I found that the "btoa" method in the page library has problems parsing Chinese characters, which causes the page example to fail to load.
- [enhancement] Add support for svelte components HOT 2
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 better-docs.