Skip to main content
Filter by
Sorted by
Tagged with
1 vote
1 answer
82 views

I am building an npm library (angular library) that needs the following packages in order to run: @angular/core@17 @formio/[email protected] @ngx-bootstrap@12 I have declared the above as peer dependencies of ...
Russell M's user avatar
0 votes
0 answers
43 views

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 ...
Vin's user avatar
  • 85
0 votes
0 answers
54 views

Context I’m working on a npm workspace with this structure: packages/ lib-a (publishable React Native package) lib-b (internal library not publishable) lib-a depends on lib-b I use TypeScript ...
Simon Bruneaud's user avatar
0 votes
1 answer
352 views

I’m creating a reusable component library with tsup to share common UI elements across my Next.js projects (for example, a Footer). The Footer works fine in my base app. But when I publish it as an ...
Muhammad Sikandar Subhani's user avatar
0 votes
1 answer
146 views

I have a desire to create a reusable NPM package for consumption in Angular 18+ (using old build system) based upon a set of .proto files. The desired usage would be a simple installation of the npm ...
James van Rossum's user avatar
0 votes
1 answer
40 views

I have a package that uses fields like this to hide the inclusion of node.js fs fields from the browser { "name": "mypackage", "version": "1.0.0", "...
Colin D's user avatar
  • 3,199
0 votes
0 answers
32 views

Background Our frontend team practices Trunk Based Development and Continuous Deployment, but we're the only team in our company doing so. Because of this approach, we make extensive use of feature ...
A Mehmeto's user avatar
  • 2,067
0 votes
1 answer
186 views

I'm trying to integrate CodeMirror 6 (including the merge addon and lang-markdown) into my NiceGUI application, following the node module integration example in the NICEGUI documentation. However, ...
ayejays's user avatar
0 votes
2 answers
138 views

VS Code has no problem showing the embedded image in the ReadMe preview. But for some reason, the image doesn't work in Azure DevOps Artifacts once the Angular library is published as a private NPM ...
McCrockett's user avatar
0 votes
0 answers
98 views

We have an internal package for our UI library, which is stored in the GitHub package registry and installed using the npm command. Now, as of this morning, when we bumped a patch version and ...
rabeeh_ta's user avatar
0 votes
0 answers
27 views

I have the following dependency tree: ├─┬ @angular/[email protected] overridden │ ├─┬ @schematics/[email protected] │ │ ├─┬ [email protected] │ │ │ └── [email protected] │ │ └── [email protected] deduped │ ├─┬ npm-...
jony-jas's user avatar
0 votes
1 answer
653 views

I wrote a yeoman generator and want to publish it as an npm package. I do not want it to be public though and I only want certain people or my team/organization to have access. Although I would like ...
Jan C's user avatar
  • 11
0 votes
1 answer
24 views

I have the below Vue Component: // src/components/CodeBlock.vue <script setup> import { ref } from 'vue'; const props = defineProps({ value: String }) const text = ref(...
Mathew Paret's user avatar
0 votes
0 answers
78 views

I have created a pipeline, which runs smoothly in almost all projects, where I am using it. Except one. All projects have to excat same permissions. I use node:16.20 for all as image, I have tried ...
Quirin Joshua Groszeibl's user avatar
0 votes
0 answers
51 views

I'm working on a Node.js application that sends live activity notifications using the apns2 library. However, I'm encountering an error when trying to send a notification. Below is the relevant code ...
Ragul PR's user avatar
  • 414
1 vote
1 answer
367 views

Every time I import the imply background removal I get this error like Module not found: Package path ./webgpu is not exported from package C:\Users\dhruv\node_modules\onnxruntime-web (see exports ...
Dhruv Sonawane's user avatar
3 votes
1 answer
337 views

When using the "main" field of package.json for a Typescript NPM package, this documentation explains how to ship your types (as .d.ts files) alongside the payload exported JS file. package....
Blomkvist's user avatar
1 vote
0 answers
108 views

I have a React native app with native code (is not library project). I add a .podspec file because I want to publish a npm package. When I run command pod spec lint i have this error ERROR | [iOS] ...
Diego Albini's user avatar
1 vote
1 answer
321 views

My goal is to download the entire dependency tree of a npm project, including production, development, optional, and peer dependencies, so I can upload them to my offline Sonatype-Nexus-Repository. ...
thelearner's user avatar
  • 1,156
0 votes
0 answers
332 views

I have an angular project uses "node": "14.17.3". Not sure what changed but all of a sudden I have an issue with dompurify 3.0.5. Error: export 'sanitize' (imported as 'DOMPurify') ...
user3714598's user avatar
  • 1,783
-1 votes
1 answer
125 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
3 votes
2 answers
2k views

I am developing on Windows and have a CI pipeline in a linux container on GitLab. I can build my Angular application on both systems successfully as long as I do not commit the package-lock.json file. ...
MadeInDigital's user avatar
0 votes
0 answers
86 views

Who can help me for npm package install error? Steps: I've tried: Uninstalled and reinstalled Node.js, but the issue persists. Deleted the node_modules folder and re-ran npm install, but encountered ...
Efekan's user avatar
  • 11
2 votes
0 answers
1k views

While working on a web app with NextJS 15.0, I am hitting some issues. Here is a log I get after running firebase deploy: 2024-10-23T02_18_48_690Z-eresolve-report.txt 'Log files: /Users/me/.npm/_logs/...
Michel's user avatar
  • 11.9k
13 votes
4 answers
16k views

I have code in a NextJS app showing some problems, though it has been working up to now. I suspect it is because some npm package version has changed, but I'd like to get an external eye looking at ...
Michel's user avatar
  • 11.9k
0 votes
1 answer
968 views

I have tried everything to run npm, installed and uninstalled node js various times still npm is not running while node js version is showing by using node -v , that is v20.18.0, but npm -v , gives ...
Abhay's user avatar
  • 1
1 vote
0 answers
145 views

I have dependencies structure ├─┬ @nestjs/[email protected] │ └── [email protected] ├─┬ @nestjs/[email protected] │ └─┬ [email protected] │ └── [email protected] └─┬ @nestjs/[email protected] ...
Сергей Зимовец's user avatar
-2 votes
1 answer
148 views

In my package.json I have the following package: "dependencies": { "@company/my-package": "0.1.2024.0.1", } I created an astro component MyPackage.astro. Do i ...
meez's user avatar
  • 4,898
0 votes
0 answers
176 views

I am updating my googleapis package in my mern project so here I am using googleapis to create and export data in google sheets while updating I am facing some issues related to type of the ...
Prince Patel's user avatar
0 votes
1 answer
278 views

I would like to integrate an SVG icons into my angular library's template, and I have the following questions? Where should the /assets folder be located? Should it reside under /src or /src/lib ...
abdou_behind_the_code's user avatar
3 votes
1 answer
352 views

Questions:. Where does the error come from? And why it appears if additional imports happen in the library? How can I export my custom library in other project without breaking the project - ...
Raitis Lebedevs's user avatar
1 vote
0 answers
21 views

I am encountering an issue with my VS Code extension where a command sent from a webview is not being recognized by the extension. The command arFlameGraph.open is registered in the extension, but ...
Luis Fernando Gil Gareca's user avatar
0 votes
1 answer
333 views

I am trying to create custom react library and wanted to load some files [js,data,wasm] from assets folder inside my react component but I am not able to load those files I tried multiple loaders. if ...
Abhilash Tiwari's user avatar
1 vote
0 answers
141 views

I'm having a nx monorepo for a design system and would like to publish packages to NPM only when they have changed. Unfortunately this doesn't work for me as you can see here: npx nx affected:build --...
Maurice's user avatar
  • 169
1 vote
1 answer
471 views

The GitHub actions fails with this output: npm error need auth This command requires you to be logged in to https://registry.npmjs.org/ npm error need auth You need to authorize this machine using npm ...
Suren Poghosyan's user avatar
0 votes
0 answers
192 views

I'm using Rollup to bundle my custom npm react library, but I'm encountering multiple import statements for React and ReactDOM in the bundled output, and getting errors like cannot import (useContext |...
Iyobosa Jefferson's user avatar
1 vote
0 answers
40 views

I have created the directus extension and now calling ssh2 package in it. Getting this error when I am running backend server: Cannot find package 'ssh2' imported from /directus/extensions/...
Joy Dimitris's user avatar
0 votes
1 answer
33 views

I have the following package mylibrary having a class and an interface exported. src/Notification.ts import {INotification} from 'INotification'; export class Notification implements INotification { ...
AppDeveloper's user avatar
  • 2,180
0 votes
1 answer
72 views

I'm creating a React application using my component library and noticed that VS Code doesn't suggest hints for attributes that are typed with my custom types. Here's a simplified version of my code: ...
Cyril Strone's user avatar
1 vote
1 answer
114 views

I'm working on a custom npm package (private) with a theme so I can use it across all my projects. I'm using react-datepicker in my package to create a custom DatePicker component I have no trouble ...
Valeriia's user avatar
0 votes
1 answer
71 views

I'm developing a React component library for npm. The tech stack includes: React TypeScript styled-components I'm using Babel and Rollup for the build process. My issue is that I want to use the css ...
Tottzi's user avatar
  • 41
4 votes
2 answers
9k views

I'm writing a library of react components using Vite and TypeScript. To create type definition files I'm trying to use the recommended plugin vite-plugin-dts. This is what my vite.config.ts file looks ...
Alexander Fedorov's user avatar
0 votes
0 answers
160 views

There are numerous posts on how to work on a npm module locally but when I do package.json settings no longer have a reference to the remote module? The guide goes like this: in your npm package ...
1.21 gigawatts's user avatar
0 votes
1 answer
132 views

We use an entire TypeScript-driven stack at my company (back-end, front-end web, mobile). While creating our ecosystem, we have created a number of private Node packages in order to share as much code ...
jguerinet's user avatar
  • 1,559
0 votes
0 answers
33 views

I have nextjs 14 app using mui, I have created my own npm packages for it's components in reactjs using vitejs, that is running perfectly fine. Problem: The issue I'm facing is that when i open ...
Muhammad Hussnain's user avatar
1 vote
0 answers
37 views

If I deploy a version 1.0.0 it gets deployed and works fine. The below link gives all the metadata which is used to download the package. http://nexus/repository/my-nexus-repository/@my-scope%...
Sagar Dhamani's user avatar
3 votes
1 answer
2k views

In the package.json of my application I see two different packages named aws-cdk and aws-cdk-lib. What is the difference between both of them?
Rama Rahul's user avatar
0 votes
1 answer
57 views

I am unfamliar with npm packages and node. I have a package.json file with a package with many dependencies. A node_modules dir in the same dir contains all the modules. When attempting to publish to ...
a ekandem's user avatar
  • 119
0 votes
2 answers
213 views

I'm encountering an error in IntelliJ when trying to use decodedJwt.scope. The error message is: Property 'scope' does not exist on type 'JwtPayload'. The only suggestions IntelliJ provides are: sub, ...
Mohamed Ali Dellai's user avatar
0 votes
2 answers
261 views

I created a fork of another package and published it under a unique, new name: https://www.npmjs.com/package/feed-media-fork I tagged a new version, created a release on github and yarn add feed-media-...
itinance's user avatar
  • 12.5k

1
2 3 4 5
10