max-mapper / max-mapper/inline-styles
rootPath is not set
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 23
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Hey, it seem to be an error relative to the module
`
/usr/local/lib/node_modules/inline-styles/node_modules/imageinliner/src/image.js:27
throw "rootPath is not set, but " + imagePath + " requires rootImagePath";
^
rootPath is not set, but /img/home/client-avatar.jpg requires rootImagePath
`
I just tried ` inline-styles index.html > inlined.html` on a built index.html in a vue cli 3 project
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
Reproduce the issue with `inline-styles index.html > inlined.html` using the built Vue CLI 3 page, then inspect `src/image.js` at line 27 and trace how the image path is handled. Done means the reported input no longer fails with the `rootPath is not set` error and the expected output is generated.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- tooling, web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100