Git Product home page Git Product logo

Comments (5)

stephanie-saretsky avatar stephanie-saretsky commented on June 23, 2024 3

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.

wojtek-krysiak avatar wojtek-krysiak commented on June 23, 2024

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.

julius1986 avatar julius1986 commented on June 23, 2024

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.

wojtek-krysiak avatar wojtek-krysiak commented on June 23, 2024

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.

kpervin avatar kpervin commented on June 23, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.