All Questions
294
questions
0
votes
0
answers
7
views
New Vite Project not installing node modules after "npm i"
I am in the process of creating a new react project with vite and whenever I run "npm i" inside the project the node modules and package lock are not created. I have vite and node installed ...
0
votes
0
answers
24
views
React Material UI VITE - Theme Problem - createTheme_default is not a function
in our React - Material UI Application for the frontend, we currently have the problem that sometimes when we switch the branch, we get the error: createTheme_default is not a function in the browser ...
-1
votes
0
answers
17
views
dApp on ICP doesn't launch with npm start
On my study dApp called dBank, I can't succeed to show the frontend on my browser. I dfx start & deployed the canister with dfx deploy.
This is the error message : ERR_CONNECTION_REFUSED on my ...
0
votes
0
answers
17
views
TomSelect with laravel and npm vite
my app.js file:
import './bootstrap';
import jQuery from 'jquery';
window.$ = jQuery;
import './tom-select.complete';
app.css:
@import 'tom-select.bootstrap4.css';
@tailwind base;
@tailwind ...
1
vote
0
answers
24
views
Error: Cannot set properties of undefined (setting 'mode') vercel deployment laravel
I want to deploy using vercel through the CLI and when I run vercel build everything is safe until npm run build then not long ago it appears the error setting 'mode' I don't know where the error is ...
1
vote
0
answers
56
views
Vite Error : FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
I'm encountering a "JavaScript heap out of memory" error when running npm run build on my Node.js project. The build process works fine during development (npm run dev), but it fails during ...
1
vote
0
answers
27
views
App threw an error during loadReferenceError: __dirname is not defined in ES module scope
I'm trying to build desktop app using Electron JS + React JS + Vite by using command (npm i electron-vite@latest)
It works fine, now there is a need to communicate to serialport, so installed (npm i ...
1
vote
0
answers
66
views
Failing the npm run build with exit status 137 in react with vite
vite build --out-dir build
The CJS build of Vite's Node API is deprecated. See
https://vitejs.dev/guide/troubleshooting.html#vite-cjs-node-api-deprecated
for more details. vite v5.2.13 building for ...
0
votes
0
answers
62
views
Why is my tailwind css that is directly on my component in my npm package not showing?
I'm encountering an issue with a custom NPM package I've created using Vite, React, and library mode. I've configured Tailwind CSS in the package and added a few custom CSS classes. While everything ...
0
votes
0
answers
43
views
Issues with Tailwind CSS Initialization in Laravel Project
I'm trying to set up Tailwind CSS in my Laravel project following the official Tailwind CSS documentation, but I'm encountering an issue when running the npx tailwindcss init -p command.
After I ...
0
votes
0
answers
34
views
NPM Run Dev on Vite
When I attempt to set up my development server on Vite using "npm run dev", I get the following error:
node:internal/process/promises:289
triggerUncaughtException(err, true /* fromPromise */)...
0
votes
0
answers
2k
views
Vue.JS DeprecationWarning: The `util._extend` API is deprecated. Please use Object.assign() instead
Whilst executing a call API request, the Vue.JS application throws an error. API is running at Okta, and the request is successful through cURL in CLI.
Error thrown
(node:82171) [DEP0060] ...
0
votes
0
answers
14
views
"Avatar" is not exported by "../avatarium/dist/main.js" even though it is?
https://github.com/sfreifeld/avatar-testing
Ok I have been playing with this all day and can't figure it out. I'm new to programming in general, but this is my first attempt with Typescript and with ...
-2
votes
1
answer
127
views
Could not install any packages using NPM, node version is incorrect
I have a react app. whenever I try to install any package it gives me following error
sudo npm i --save @fortawesome/fontawesome-svg-core
npm WARN cli npm v10.2.5 does not support Node.js v19.3.0. ...
1
vote
0
answers
357
views
npm warnings when using npm install using Vite
I am new to using Vite and I am running into these warnings when trying to scaffold my project.
npm warn deprecated [email protected]: This module is not supported, and leaks memory. Do not use it. Check ...