9,708 questions
0
votes
0
answers
44
views
React Native NativeWind (Frameless) Versions Compatibility Problem
I'm new to React Native and trying to create an app using tailwind classes but getting different types of error while building the application.
The errors are as follows:
The development server ...
0
votes
2
answers
39
views
`core-js` with `@babel/preset-env` adds unnecessary polyfills and bloats bundle
I’m working on a web project built from an enterprise scaffold using webpack v5 and Babel. The target environment is Chrome ≥ 138 only.
However, I’ve noticed that the build includes unnecessary ...
0
votes
0
answers
27
views
Importing @babel/traverse breaks files
As the title says.
This code reproduces the issue.
My environment: Windows 11, ArchWSL, Volta, [email protected], [email protected]
import fs from "node:fs";
import { Buffer } from "node:buffer&...
0
votes
0
answers
157
views
ESLint 9 with Vue 3 + TypeScript: Parsing error ‘Unexpected token <’
I'm working with Vue3 + Typescript and want to integrate a pipeline with Lint but it's giving me some issues.
I have eslint 9.34.0 and my eslint.config.cjs is in /config but I reference it in my ...
0
votes
1
answer
106
views
'Metro error: __requireContext is not defined' when using babel-plugin-require-context-hook with expo
I was trying to use babel-plugin-require-context-hook to make jest to digest require.context()
, and, as a result of that, my tests finally started running smoothly.
At the same time though, my expo ...
0
votes
0
answers
57
views
Object(...) is not a function due to isPlainObject() in Slate
I'm currently using the Slate text editor within my project. However, I'm running into the following error: TypeError: Object(...) is not a function
The line causing this error within the Slate ...
0
votes
1
answer
48
views
How to replicate Babel animation in reactjs
hey so im trying to replicate this codepen effect they are using babel and my page is in react and tailwind and i tried a lot of thing but couldn't replicate the effect ps- i have installed Gsap too. ...
1
vote
0
answers
115
views
Expo build gives white screen
I everything runs and compiles on dev mode and hooks work perfectly as well but after eas build is made from expo the shows blank screen.
The apk was generated with no build errors, I tried github ...
0
votes
0
answers
35
views
What could be the reason for the error babel?
build babel C:\Users\redre\OneDrive\Desktop\link-shortening-backend\node_modules\@ampproject\remapping\dist\types\build-source-map-tree.d.ts?
Gives the following error
SyntaxError: C:\Users\redre\...
0
votes
0
answers
64
views
Expo: Unable to resolve <custom path> when NODE_ENV=production
I'm trying to build my Expo application in local (using fastlane 2.227.1) for production but it's failing : the metro bundler seems to not find the custom paths I made.
Unable to resolve module @/src/...
1
vote
1
answer
1k
views
Why am I getting "_traverse.visitors.environmentVisitor is not a function" Error in React Native Expo Development build
I have updated my React Native project to 0.76.9 and Expo to 52.0.46. Since I did this I can do production builds but my development builds have this error when I attempt to run them:
ERROR ...
0
votes
0
answers
163
views
Error while building React app with ApexCharts: Module parse failed in apexcharts.esm.js
I'm working on a React project, and when trying to create a production build with react-scripts build, I get the following error:
javascript
Copy
Edit
Creating an optimized production build...
Failed ...
0
votes
0
answers
37
views
JSPM Install command does not download dependencies in "overrides" section mentioned in project root/package.json
I (new to js) need to do a security fix regarding a transitive dependency in one of our projects. The lodash transitive dependency version in babel-core dependency is being highlighted as version that ...
-1
votes
1
answer
56
views
Copied a PHP project with a node_modules folder in it, new project does not seem to find libraries correctly
I have a PHP project where I used npm to install babel to compile .jsx files. I copied the project by manually cloning the parent project folder. Now when I try to run a babel command like:
$ /...
0
votes
0
answers
53
views
Why am I getting "Object.defineProperty(exports, "File", {"
Recently I used Shadcn on Next.js project.
I am not node on the latest version of node. I am currently on v20.6.0 however when you install Shadcn components I get if you are some past versions of code....