openlayers / openlayers/openlayers.github.io

Building the site for tag v4.1.1 error

Open
#94 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
21
Forks
47
PR merge metrics
No merged PRs in 30d

Description

It works when I built the site for latest version, however when i run the following script to build the site for tag v4.1.1 it didn't works.
treeish=v4.1.1 npm run deploy
And the output error is
Running "run:ol" (run) task npm ERR! missing script: build-legacy
so, i checkout Updating for v4.1.1 edition, then run above script,but it show the following error
Running "make:examples" (make) task info ol Parsing dependencies info ol Compiling 345 sources vents.js:183 throw er; // Unhandled 'error' event
My project already has used openlayers 4.1.1 for quite a long time, could anyone please show me the righ way to build v4.1.1 docs ?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the v4.1.1 checkout and the npm deploy entry point, then inspect why the build invokes the missing build-legacy script and why make:examples fails during dependency compilation. Re-run treeish=v4.1.1 npm run deploy and confirm that the documentation site builds successfully for that tag.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
build-system, documentation
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.