LinusBorg / LinusBorg/vue-lib-template
Error in publishing lib as an npm package
- Dominant language
- TypeScript
- Stars
- 106
- Forks
- 11
- PR merge metrics
- No merged PRs in 30d
Description
Hi @LinusBorg, thanks for the library.
I'm trying to publish the `lib` folder as an npm directory.
what I did was to cd into the `/packages/lib` folder and then run `npm publish` from there. I got this error:
`npm ERR! Cannot set properties of null (setting 'peer')`
What could be the issue? I have reinstalled node_modules but that didn't help
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the reported `npm publish` command from `packages/lib` and capture the complete error context. Trace the package-publishing setup used by the repository and determine whether the issue is reproducible; done means identifying a confirmed cause and documenting the required fix or workaround.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- nodejs, typescript
- Domain
- release
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100