49,969 questions
0
votes
1
answer
162
views
error: cannot find symbol after upgrading from React Native 0.67 to 0.76.9 version
I’m upgrading an old React Native project and after installing/updating libraries I can’t build the Android app anymore. I have tried every possible solution listed on stack overflow or anywhere I ...
0
votes
1
answer
66
views
Expo project reference sibling project
Is there a way to share (React Native) components, services, hooks etc. between 2 Expo projects?
Ideally all the common functionality would be in a 3rd project and both of these projects would ...
1
vote
1
answer
103
views
How to ensure ol-ext modifies OpenLayers layer prototype before usage after npm build?
I am building a Vue 3 hooks-based wrapper for the OpenLayers library, called ol-vue-hooks.
Project structure:
src/
index.ts # Exports all APIs of ol-vue-hooks
demos/ # Test directory during ...
0
votes
0
answers
44
views
Error: spawn EINVAL when installing react-native-ibm-mobilefirst on Windows (React Native 0.73.9)
I am trying to install react-native-ibm-mobilefirst in my React Native project, but the installation always fails with a spawn EINVAL error.
Environment:
OS: Windows 10
Node.js: v20.15.0
npm: v10.7.0
...
0
votes
1
answer
133
views
No VS Code intellisense and eslint no-unsafe-call false positive on imported class methods in a monorepo
I have a monorepo with two local npm packages:
./ <-- Next.js app, backend package
../sharedtypes <-- shared DTOs and utilities
In ./package.json (...
-1
votes
2
answers
144
views
I can't build my application with npm for a production build - webpack error [closed]
In my Nextjs application, every time I run “npm run build”, I get the following message:
Optimized production version is being created... glob error
[Error: EPERM: Operation not permitted, scandir
...
1
vote
1
answer
50
views
Canvas Sketch is not rendering the specified colour
The code works perfectly, including the animation. But I'm unable to change the background colour to anything except black when using rgb, hex or hsl codes. Only way to change the background colour is ...
2
votes
3
answers
431
views
Typescript Errors from `node_modules` in Vercel CLI's logs
In a Vercel serverless project, I am getting hundreds of typescript errors coming from my node_modules directory.
The serverless app is part of a Turborepos monorepos (apps/serverless);
These errors ...
0
votes
1
answer
88
views
Windows: Using Windows npm install fails when used on a DDEV WSL2 project
I’ve recently set up a WordPress project inside the WSL2 filesystem (/home/john/projects) and am using DDEV to manage my local environment. After starting the DDEV container, I navigate into my theme ...
1
vote
1
answer
71
views
Tailwind styles not applying when publishing React component library with Rollup
I'm building a React component library with Tailwind CSS v4 and Rollup. When I publish the library and use it in another project, the Tailwind styles from my component variants don't apply, but custom ...
0
votes
1
answer
203
views
Why docx-preview js in not rendering docx file properly?
I'm using docx-preview.js for render my laravel project storage docx file in Livewire component. When I render the page it's not rending as expected. I've attached images for the reference. I've this ...
1
vote
0
answers
131
views
Upgrading from OpenLayers 5 to OpenLayers 10
I have a web site running OpenLayers 5 since … maybe 7 years.
I am considering to upgrade to OpenLayers 10.
I would like to know what I'd have to know before that.
Are there many breaking changes?
...
1
vote
0
answers
45
views
How can I make an Angular app load assets from correct level of an npm workspace
I have an Angular application that lives inside an NPM workspace:
workspace
workspace/app1
workspace/app2
I have a 3rd party library integrated, and I need to include some assets in my build, so I do ...
0
votes
3
answers
119
views
NPM package - difference in running npx command vs npm command
I have bootstrapped a NPM package using npm create vite@latest and am having trouble with getting it to generate the index.d.ts file.
In my package.json I have my build script as vue-tsc -p tsconfig....
0
votes
0
answers
105
views
Is there a simple config to export all classes and types in a Node package?
When setting up a monorepo, I have to explicitly add the export keyword twice - once in the class file, and again in index.ts to export everything.
For example:
// src/ClassA.ts
export class ClassA { /...
0
votes
0
answers
24
views
Tailwind styling broken when components in monorepo package [duplicate]
I am trying to create a monorepo using astrojs, styled with tailwind.
Example file structure is
/root
./apps/main-site
./packages/site-1-components
My tailwind config was in the main-site and does ...
0
votes
0
answers
109
views
Vite build hangs after upgrading vite-plugin-vue-layouts to 0.11.0
My Vite project build is hanging after I upgraded vite-plugin-vue-layouts to 0.11.0. The issue persists even if I downgrade to 0.10.0, but when I downgrade to 0.9.1, it works fine.
I couldn't find any ...
-2
votes
1
answer
1k
views
Despite extensive and exhaustive fault finding why is npm failing to install executables on MacOS and how do i resolve the fault? [duplicate]
npm install consistently fails to install executables on macOS (Always "added 1 package", missing .bin/ files)
I am experiencing an extremely persistent and unusual issue with npm install (...
-1
votes
1
answer
147
views
Problem with package react-native-reanimated
i have one project with react-native, and i stuck when i'm tryin to run android.
I have read the notice problem is in react-native-reanimated. This package is required for this project
I read in the ...
1
vote
1
answer
117
views
types/lodash giving error After Upgrade to angular 7 from 4
I have an angular and nodejs project that I recetly upgraded to angular 8. Although everything seems to be running, the compile fails due to types/lodash errors shown below.
The erro I an getting is:
...
0
votes
1
answer
116
views
How can I cache npm packages (from frontend-maven-plugin) in gitlab-ci?
I have a gitlab-runner with docker executor.
There is a pipeline that builds a maven multi module project.
One of the modules uses frontend-maven-plugin , that:
installs node and npm
cd into ...
0
votes
0
answers
140
views
Node.js: `Cannot find module 'json-server'` after clean reinstall and global install on Windows
Summary
My Node.js server fails with the error Error: Cannot find module 'json-server' when I run it with node server.cjs. This happens even though json-server is listed in my package.json ...
0
votes
1
answer
85
views
Trouble creating Angular projects with pnpm on macOS: Project location issue
I'm trying to set up a new Angular project. My preference is to use the pnpm package manager for building Angular projects, and I'm on a macOS system.
I'm encountering an unexpected issue when using ...
0
votes
1
answer
47
views
problem -> npm http-server dowloading file
I'm new to npm and I tried to start a new simple project. Initially it just had index.html with h1 Hello world. When I try to start a server using http-server ./index.html it works to some extent but ...
1
vote
0
answers
328
views
npm install msnodesqlv8 for Database Windows Authentification - Python Error
I want to use module msnodesqlv8 to do Windows Authentification in my DB.
My code is pretty simple and looks like this:
const sql = require('mssql/msnodesqlv8');
const config = {
server: '...