Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Building docs from latest source doesn't work #6702

Closed
@draghuram

Description

@draghuram

After following the steps outlines on Angular site related to building locally, "grunt package" fails with the following trace:


Error: Invalid configuration. Please provide a valid source.previousVersions property
at module.exports.process (.../angular.js/docs/config/processors/versions-data.js:18:13)
at invoke (.../angular.js/node_modules/dgeni/node_modules/di/lib/injector.js:75:15)
at processingPromise.then.catch.error.message (.../angular.js/node_modules/dgeni/lib/doc-processor.js:117:31)
at _fulfilled (.../angular.js/node_modules/dgeni/node_modules/q/q.js:798:54)
at self.promiseDispatch.done (.../angular.js/node_modules/dgeni/node_modules/q/q.js:827:30)
at Promise.promise.promiseDispatch (.../angular.js/node_modules/dgeni/node_modules/q/q.js:760:13)
at .../angular.js/node_modules/dgeni/node_modules/q/q.js:574:44
at flush (.../angular.js/node_modules/dgeni/node_modules/q/q.js:108:17)
at process._tickCallback (node.js:415:13)

Warning: doc generation failed Use --force to continue.

I am only a beginner when it comes to Javascript and Angular but it appears to me that "gitInfo" is not being passed to the function "process()" in "versions-data".

I proceeded by initializing "versions" to some random value (["1.42.1"]) as all I wanted was to get the latest docs.

Thanks,
Raghu

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions