Leaflet / Leaflet/Leaflet.VectorGrid
Build failed
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 676
- Forks
- 202
- PR merge metrics
- No merged PRs in 30d
Description
> leaflet.vectorgrid@1.3.0 build /home/paws/Leaflet.VectorGrid
> gobble build -f dist/
gobble: build started
gobble: 01-rollup done in 1250ms
gobble: 03-merge done in 40ms
∙∙∙◦∙∙∙ 05-rollup running...
gobble: 05-rollup transformation failed
input: /home/paws/Leaflet.VectorGrid/.gobble-build/03-merge/1
output: /home/paws/Leaflet.VectorGrid/.gobble-build/05-rollup/1
>>>
Could not resolve './slicerWebWorker.js.worker' from /home/paws/Leaflet.VectorGrid/.gobble-build/03-merge/1/Leaflet.VectorGrid.Slicer.js
Error: Could not resolve './slicerWebWorker.js.worker' from /home/paws/Leaflet.VectorGrid/.gobble-build/03-merge/1/Leaflet.VectorGrid.Slicer.js
at /home/paws/Leaflet.VectorGrid/node_modules/rollup-plugin-node-resolve/dist/rollup-plugin-node-resolve.cjs.js:78:21
at /home/paws/Leaflet.VectorGrid/node_modules/resolve/lib/async.js:139:17
at load (/home/paws/Leaflet.VectorGrid/node_modules/resolve/lib/async.js:156:43)
at onex (/home/paws/Leaflet.VectorGrid/node_modules/resolve/lib/async.js:181:17)
at /home/paws/Leaflet.VectorGrid/node_modules/resolve/lib/async.js:15:69
at callback (/home/paws/Leaflet.VectorGrid/node_modules/graceful-fs/polyfills.js:295:20)
at FSReqWrap.oncomplete (fs.js:153:21)
<<<
gobble: 05-rollup transformation failed
input: /home/paws/Leaflet.VectorGrid/.gobble-build/03-merge/1
output: /home/paws/Leaflet.VectorGrid/.gobble-build/05-rollup/1
>>>
Could not resolve './slicerWebWorker.js.worker' from /home/paws/Leaflet.VectorGrid/.gobble-build/03-merge/1/Leaflet.VectorGrid.Slicer.js
Error: Could not resolve './slicerWebWorker.js.worker' from /home/paws/Leaflet.VectorGrid/.gobble-build/03-merge/1/Leaflet.VectorGrid.Slicer.js
at /home/paws/Leaflet.VectorGrid/node_modules/rollup-plugin-node-resolve/dist/rollup-plugin-node-resolve.cjs.js:78:21
at /home/paws/Leaflet.VectorGrid/node_modules/resolve/lib/async.js:139:17
at load (/home/paws/Leaflet.VectorGrid/node_modules/resolve/lib/async.js:156:43)
at onex (/home/paws/Leaflet.VectorGrid/node_modules/resolve/lib/async.js:181:17)
at /home/paws/Leaflet.VectorGrid/node_modules/resolve/lib/async.js:15:69
at callback (/home/paws/Leaflet.VectorGrid/node_modules/graceful-fs/polyfills.js:295:20)
at FSReqWrap.oncomplete (fs.js:153:21)
<<<
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! leaflet.vectorgrid@1.3.0 build: `gobble build -f dist/`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the leaflet.vectorgrid@1.3.0 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/paws/.npm/_logs/2020-12-16T03_31_24_844Z-debug.log
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by running the reported gobble build -f dist/ command and inspect Leaflet.VectorGrid.Slicer.js, where the build reports the unresolved ./slicerWebWorker.js.worker import. Check how the worker file is expected to be provided during the build; done means the build completes successfully without the Rollup resolution error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, rollup
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100