Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
99 views

Got a question about how best to symlink a React component library NPM package to a parent/consuming React project. The component library in question works without issue when build and publishing it ...
Andrew Medhurst's user avatar
-1 votes
1 answer
114 views

Hi i am creating 2 simple test projects where project A is a custom NPM package and project B consume it. The issue is that there is no import intellisense. My folder structure looks like this: ...
Photonic's user avatar
  • 1,447
0 votes
0 answers
409 views

How to fix "Failed to resolve"? If you have a Vue3 app that uses local packages imported via npm link with symbolic links, and you encounter the following error: 12:29:14 PM [vite] Pre-...
Yevhenii Kamenskyi's user avatar
0 votes
0 answers
623 views

So I've been at this for a while, I have a npm workspace with a my packages (a monorepo basically) and I am trying to link a ui library I'm working on (the library is using react) so that I can use it ...
FknCharlie's user avatar
7 votes
5 answers
12k views

I am trying to run npm link felca-runtime and am getting the below error, which I can't find anything useful on online: theo.hodges@DKH334L0G5 felca-nhsuk % npm link felca-runtime npm notice Beginning ...
Theo Hodges's user avatar
1 vote
1 answer
757 views

I installed a package "cowsay" globally using npm i -g cowsay. I ran the "cowsay" command in the terminal as cowsay helloooo and it ran without any error producing output: < ...
Parth Nautiyal's user avatar
2 votes
0 answers
774 views

I've looked around a lot in the last few days ... and I was never able to succeed with this What I'm trying to achieve: I am developing in a (forked) existing react library and I want to "link&...
devnull69's user avatar
  • 16.6k
0 votes
1 answer
92 views

I have two libraries for my app: contact-us and about-us. Contact-us is perfectly linked to my app, but when I use the same approach to link about-us, I get some errors!. What I've done to link about-...
user6781's user avatar
  • 621
0 votes
1 answer
421 views

I have a library, let's call it my_library, that I need to link it to my app. So what I've done so far is: 1. In my_library directory: #install dependencies npm install cd projects/my_library npm ...
user6781's user avatar
  • 621
0 votes
1 answer
1k views

I'm developing an Angular 13 custom library using NPM V8.19.3, and it makes use of Dynamsoft WebTwain v18.1.0 library to manage a scanner. It should be later consumed locally - e.g. via NPM link - by ...
Daniele Facco's user avatar
2 votes
0 answers
104 views

I'm trying to link a local library into bigger react project but without any success. In dist folder of library I do npm link. In the bigger project I do npm link @myScope/myLibrary and it looks like ...
Dalton's user avatar
  • 487
2 votes
1 answer
3k views

When running npm link (as per the multiple vague blog posts on the subject) on a private scoped packed, I am getting an E404 error. This seems particularly odd considering the entire point of npm link ...
myol's user avatar
  • 10.1k
2 votes
1 answer
264 views

I have 2 projects with common functionality. I need to develop my own npm module that will use common code snippets for this. I made a separate project that will contain this shared code (eg util). At ...
Dmitry Bauer's user avatar
2 votes
1 answer
568 views

I have an application MyApp and a library MyLib. MyApp consumes MyLib. We package and bundle MyLib on Azure Devops as an Artifact, that can be consumed both on Azure and locally. This all works fine. ...
Century's user avatar
  • 313
1 vote
2 answers
726 views

As I am new to React JS and Node JS, I am unable to understand the purpose of npm link and how to use it in React JS Projects even from the npm documentation. It is appreciable to explain the same ...
Jayakumari Arumugham's user avatar
7 votes
0 answers
699 views

I want to create an npm module with Nuxt 3 components. For that I defined the "nuxt.js" file the following way. import { join } from 'path' import { defineNuxtModule} from '@nuxt/kit' ...
rajohs's user avatar
  • 287
0 votes
1 answer
2k views

I am developing an application and a library used in said application. I need to update the library, however, when I use NPM link the application says that the library I have imported does not have ...
Kieran's user avatar
  • 39
3 votes
1 answer
1k views

I have a fairly complex setup regarding two React apps. Context: I was tasked to create a design system using ReactJS to be later on used in their main app. So i did made a design system in 1 week (w/ ...
Keanu Kent Gargar's user avatar
1 vote
0 answers
142 views

I developed this React main project (foo-proj) and a React design library (foo-lib). In order to improve local development I used "npm link" to use foo-lib inside foo-proj. - foo-proj - ......
PaulLeonH's user avatar
4 votes
0 answers
668 views

I am working on a project that is linked to some other local project like this: { "name": "lib-a", dependencies: { "lib-b": "file:../../lib-b" } } ...
niryo's user avatar
  • 1,635
0 votes
0 answers
294 views

I'm working on a library with MUI v5. The problem is I'm importing this library to a React project (React v17.0.1) which uses MUI v4. The problem is that the MUI theme is not working on my components, ...
Alexandre Colon's user avatar
2 votes
0 answers
2k views

I wrote a simple embryonic TypeScript package (published on a private registry) and I want to import it in a TypeScript React app created with Vite. Everything works fine until I try npm link the two ...
Daniele Ricci's user avatar
1 vote
0 answers
361 views

I have a project that exports a package to be used by other projects (some infra code). I've published it in a local repo, and then installed it on my main project. I need to keep working on that ...
Yoav Moran's user avatar
2 votes
0 answers
275 views

I'm trying to link a library between two projects to help with development workflow. Sharing some code and types between my TypeScript backend and frontend. It seemed to work with const functions, but ...
somerandomusername's user avatar
1 vote
0 answers
143 views

I am trying to understand the codebase of Pancakeswap frontend, the current structure https://github.com/pancakeswap/pancake-frontend has a dependency on @pancakeswap/sdk and @pancakeswap/uikit Which ...
AmitJS94's user avatar
  • 1,212