-
Notifications
You must be signed in to change notification settings - Fork 135
Open
Description
I have a Meteor app, and I'm getting this error when trying to document a React component with the @component tag for component files that import a Meteor package. Not sure whether this is an issue with something I'm doing, or better-docs, or Parcel...
unning: parcel build dev/docs/entry.js --out-dir dev/docs/build
🚨 /home/data/work/airsight/workspace/code/axldm/imports/ui/components/MaskEditor/Annotation.jsx:6:32: Cannot resolve dependency 'meteor/react-meteor-data'
4 | import RK from 'react-konva';
5 | import { Point, Polygon, Segment } from '@flatten-js/core';
> 6 | import { createContainer } from 'meteor/react-meteor-data';
| ^
7 |
8 | import RKMultiPolygon from './RKMultiPolygon';
9 | import AnnotationInstanceLabels from './AnnotationInstanceLabels';
/home/data/work/airsight/workspace/code/axldm/node_modules/better-docs/bundler.js:83
throw error
^
Error: Command failed: parcel build dev/docs/entry.js --out-dir dev/docs/build
at checkExecSyncError (child_process.js:616:11)
at execSync (child_process.js:653:13)
at bundle (/home/data/work/airsight/workspace/code/axldm/node_modules/better-docs/bundler.js:78:5)
at Object.exports.publish (/home/data/work/airsight/workspace/code/axldm/node_modules/better-docs/publish.js:655:5)
at Object.module.exports.cli.generateDocs (/home/data/work/airsight/workspace/code/axldm/node_modules/jsdoc/cli.js:441:39)
at Object.module.exports.cli.processParseResults (/home/data/work/airsight/workspace/code/axldm/node_modules/jsdoc/cli.js:392:24)
at module.exports.cli.main (/home/data/work/airsight/workspace/code/axldm/node_modules/jsdoc/cli.js:235:18)
at Object.module.exports.cli.runCommand.cb [as runCommand] (/home/data/work/airsight/workspace/code/axldm/node_modules/jsdoc/cli.js:186:9)
at /home/data/work/airsight/workspace/code/axldm/node_modules/jsdoc/jsdoc.js:93:9
at Object.<anonymous> (/home/data/work/airsight/workspace/code/axldm/node_modules/jsdoc/jsdoc.js:94:3)
at Module._compile (internal/modules/cjs/loader.js:689:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
at Module.load (internal/modules/cjs/loader.js:599:32)
at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
at Function.Module._load (internal/modules/cjs/loader.js:530:3)
at Function.Module.runMain (internal/modules/cjs/loader.js:742:12)
Metadata
Metadata
Assignees
Labels
No labels