JsCommunity / JsCommunity/json-rpc-protocol
Failed to parse source map
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 16
- Forks
- 5
- PR merge metrics
- No merged PRs in 30d
Description
I use this package in my frontend project, and when I run yarn start, there are many warnings like:
Failed to parse source map from 'project/node_modules/json-rpc-protocol/src/json-rpc.type.ts' file: Error: ENOENT: no such file or directory, open 'project/node_modules/json-rpc-protocol/src/json-rpc.type.ts'
I guess should add "src/" to files array in package.json?
https://github.com/JsCommunity/json-rpc-protocol/blob/7a6387da10d514763470c0bb852ce28ebbe08fbc/package.json#L27-L29
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 with the files array in package.json and reproduce the warnings by running yarn start. Check whether the published package includes the referenced src/json-rpc.type.ts source-map file; done means the source-map warnings no longer appear.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- api
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 62/100