3,453 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
43
views
Using a subdirectory for package.json
I have a frontend repo, in which I have a subdirectory named share-test-ids. I have a package.json there
{
"name": "shared-test-ids",
"version": "1.0.0",
&...
0
votes
0
answers
46
views
How to make an Oclif command the default command when using explicit command strategy?
I'm building a CLI using Oclif v4 with TypeScript and tsup for bundling. I want my main command to run by default, without requiring the user to type it as a subcommand.
Currently, my oclif ...
0
votes
1
answer
97
views
How to import 'lightweight-charts' with ES module way?
I would like to use lightweight-charts library with ES module.
I would like to use lightweight-charts on browser so I followed instruction of the document
https://tradingview.github.io/lightweight-...
1
vote
1
answer
261
views
Inject migration angular didn't work on nx workspace [closed]
I use this nx generate @angular/core:inject to migrate projects but get below error:
Could not find any files to migrate under the path /home/jibit/Desktop/jibit-angular-workspace/. Cannot run the ...
-1
votes
1
answer
96
views
pnpm installation errors in packages
I have a dependencies Issue, I tried to install a specific package, after installation it affect on more than one package, I removed the node_modules and reinstalled pnpm installl still the same ...
0
votes
0
answers
91
views
Not able to get members from TeamsInfo.getMember(context,...) after package updates
I recently updated the following package in my Teams bot project:
"@microsoft/teamsfx": "^4.0.0" // previously using 3.0.0
After the update, some code broke due to changes in the ...
0
votes
1
answer
70
views
Does package-lock.json get used while we install the package as dependencies?
Let's suppose we have package A that's dependent on package B. For package B, we can easily rebuild the package idempotent by running npm ci since we honor the package-lock.json to make sure every ...
2
votes
1
answer
62
views
Angular, using font from "theme" npm package in a angular component library
I have created an npm package "theme" that contains @font-face and font-size definitions. This npm package is integrated into an Angular library "shared-elements", which contains the components. This ...
0
votes
0
answers
351
views
Why does Expo Doctor reactNativeDirectoryCheck exclude list cause errors in running /bundling development builds
I have an React Native app built with Expo. I was getting some errors out of Expo Doctor:
npx -y expo-doctor
I found in the Advice of the error message that these checks can be skipped:
Advice:
Use ...
0
votes
1
answer
232
views
How to reduce the size of App clip for React native project
I'm trying to add a Clip app to exciting React Native project. But unfortunately the size of it is too big due to dependencies of the main app. I've already added only necessary native dependencies in ...
1
vote
0
answers
176
views
Package specific resolutions/override in `pnpm`
We have this setup in a monorepo:
apps/mobile (React Native)
apps/admin (Next.JS)
apps/client (Next.JS)
packages/ui (shared in Next.JS packages: apps/admin and apps/client)
The current yarn setup ...
0
votes
0
answers
395
views
Error: Module not found: Error: Can't resolve 'xxxxxx' in C:\Path...\fesm2022
I'm stuck with this issue and it's driving me a bit crazy. Hope someone can throw me a lifeline here.
So I have a frontend Angular project.
In this project, I have a private package (my-shared-lib) ...
0
votes
0
answers
95
views
Why does "moduleResolution": "node" resolve my TS7016 errors when looking for a declaration file?
I'm working on a few TS packages with the following setup and am getting TS7016 errors.
Module A (to-be-imported)
// package.json
"name": 'module-a'
...
"main": "./...
1
vote
0
answers
72
views
Install the oldest dependency versions compatible with my package.json version ranges
Consider a typical JavaScript library published on npm, with dependencies. The package declares its dependencies in package.json, where it does not specify exact versions of those dependencies but ...
0
votes
1
answer
30
views
Is there a way to compile js and scss files without node_modules folder
I accidentally deleted the node_modules folder. I can't reinstall it since the files containing the npm libraries called package.json has been deleted as well. Is there some other way of manually ...