Questions tagged [yalc]
9 questions
4
votes
1 answer
Invalidate Webpack's node_modules cache when yalc.lock changes
I have two projects: App and Library. App depends on Library. I'm working on both simultaneously, using yalc so that when I update Library, it will update App/node-modules/Library.
Unfortunately, Webpack caches node_modules aggressively, and it…

Thom Smith
- 13,916
- 6
- 45
- 91
3
votes
2 answers
Webpack doesn't pick up local node_modules updates
I have a package A that depends on package B. I am using yalc to update B and publish changes locally so that A can pick up these changes.
I can see that the changes are copied into A's node_modules folder, however webpack doesn't seem to pick them…

Rodion Degtyar
- 238
- 2
- 7
2
votes
1 answer
How can I use a local version of full calendar in my project?
I'm trying to see if I can contribute a fix to a couple of issues we've been having with full calendar.
I've cloned the full calendar repo using git clone --recursive git://github.com/fullcalendar/fullcalendar.git and run yarn install.
I've gone…

apbarratt
- 615
- 9
- 18
2
votes
0 answers
How to cooperatively work on multiple npm packages?
Situation
I'm working on a project "main" and in order to split the code and make parts of it reusable, I created 2 npm projects/packages: "A" and "B". "main" requires "A" and "B", "B" requires "A"
main
+-- A
`-- B
`-- A
While developing in…

CodingKiwi
- 676
- 8
- 22
1
vote
1 answer
Running npm install on a local dependency in a Dockerfile
I'm trying to build a Docker image for a react js app with a local dependency similar to this post.
My problem is when I try to build and run an image, it gives me this error:
npm ERR! code E404
npm ERR! 404 Not Found - GET…

Quinn Dumala
- 128
- 2
- 10
1
vote
1 answer
react native yalc nested gives : jest-haste-map: Haste module naming collision error
Let's see the error first:
jest-haste-map: Haste module naming collision: @stevemoretz/yoohoo
The following files share their name; please adjust your hasteImpl:
*…

Steve Moretz
- 2,758
- 1
- 17
- 31
0
votes
0 answers
Accessing public folder of NPM package which is imported in a chrome extension react repository
I have a repository A where I have images in public folder. I am publishing this package using yalc and using it in another repository B which is a chrome extension and build on react code.
I have a component in repository A, say COMPONENT-A, where…

Amit Mankotia
- 137
- 7
0
votes
0 answers
Debugging dependencies with yalc
I'm starting out with yalc for publishing local dependencies for a node express app. I debug buy running npm run dev in a javascript debug console. My breakpoints hit in vs code in the express project, but not in the dependency. Has anyone got this…

bbsimonbb
- 27,056
- 15
- 80
- 110
0
votes
0 answers
Rollup.js Typescript React Npm Package Error: Cannot find module './tslib.es6-eaa548e7.js'
I have created a npm package using typescript react and rollup.js. I have link it to the project using yalc (similar to npm link) and getting the following error:
Server Error
Error: Cannot find module './tslib.es6-eaa548e7.js'
Require stack:
-…

Paul
- 2,465
- 8
- 35
- 60