Skip to main content
Filter by
Sorted by
Tagged with
3 votes
2 answers
95 views

I have a simple HTML, CSS, JS app that I'm trying to bundle. I noticed that when using fetch() within an HTML file to insert a partial HTML file like this: fetch('../partials/header.html') .then(...
EltonS.'s user avatar
  • 40
2 votes
0 answers
62 views

I'm working on a Parcel frontend project using DuckDB, and it runs well in the Production environment. However, in my local machine the browser displays this error. And as I've just mentioned, this ...
Cool Weather Here's user avatar
3 votes
1 answer
80 views

I have a Node.js project, and after the Parcel update, I’m running into an issue. In my ./public/js/ folder I have two files: bundle.js and bundle.js.map. Previously, Parcel was compiling/bundling the ...
ROX101's user avatar
  • 31
0 votes
0 answers
25 views

I've been trying to get an output from Parcel for quite a while with no luck. Initially, I had a "main" element at the top of package.json. I read that this is not recommended, so in my &...
Jim's user avatar
  • 53
2 votes
1 answer
102 views

I recently upgraded one of my project's ParcelJS from version 2.13.3 to 2.14.4. Everything works as expected, except for the glob imports. JS import images from "../../../img/gallery/*.jpg"; ...
Body's user avatar
  • 3,712
0 votes
1 answer
51 views

Using React 19, Node 18 and Parcel 2, I have React component that is defined this way : // @ts-expect-error url module is in Node import myLogo from "../../assets/my_logo.png"; export const ...
Cromm's user avatar
  • 350
1 vote
1 answer
83 views

I am using parcel with tailwindcss for my project. I have installed parcel, tailwindcss, @tailwindcss/postcss according to the original docs in tailwind. My html tag looks like this: <div class=&...
just Impartial's user avatar
0 votes
0 answers
120 views

SVG sprite icon not showing when I deployed the web app. On the console when you inspect, they are there, but not showing, I noticed the svg icon has its height x width = 0x0. I don't experience this ...
NiftyKid's user avatar
0 votes
1 answer
92 views

I run parcel2 build command: parcel build src/web/index.html and I got the following error ➜ my-webapp git:(master) ✗ npm run build-dev > [email protected] build-dev > parcel build src/web/index....
Aron's user avatar
  • 1,312
1 vote
1 answer
326 views

I'm using Parcel to build. We recently upgraded to Node 20 LTS (a month ago) so maybe that's something to do with it. When I run parcel build in a Docker container with a freshly sync'ed down ...
Ryan Shillington's user avatar
0 votes
1 answer
91 views

I'm trying to set up a very basic nix shell (using flake) to build a Parcel project. I have a flake.nix file like this: { description = "My Project"; inputs = { nixpkgs.url = "...
The Oddler's user avatar
  • 6,778
0 votes
1 answer
67 views

I have a Node.js project and after the Parcel update I'm running into an issue. In my ./public/js/ folder I have 2 files: bundle.js and bundle.js.map. Previously Parcel was compiling/ bundling the ...
Hn3M's user avatar
  • 13
0 votes
1 answer
68 views

I'm trying to move a web made with vanilla JS to node.js and I'm getting this error using Parcel2: @parcel/transformer-js: Conditional or non-top-level `require()` call. This causes the resolved ...
Jh62's user avatar
  • 334
0 votes
1 answer
39 views

I have this very basic Node.JS application: index.html <!DOCTYPE html> <html><head><meta charset="UTF-8"> <script type="module" src="index.ts"&...
Lixo Man's user avatar
1 vote
0 answers
40 views

Trying to use webgl to render a texture, and I am using some npm libraries so I am using .cjs files and using parcel to run it. When I try to get the image from my resources file it doesnt work ...
ITDW2's user avatar
  • 23
0 votes
1 answer
51 views

I'm developing a small webapp with parcel to display some charts. I'm using https://parceljs.org/ https://www.chartjs.org/ https://www.chartjs.org/chartjs-plugin-annotation/latest/ My app runs ...
Lopo's user avatar
  • 966
0 votes
0 answers
152 views

I'm trying to get Parcel to minify my CSS in dev mode, but I'm not sure it's possible. The Parcel docs give the impression you can configure targets like this, but also mention minification only takes ...
bramchi's user avatar
  • 860
0 votes
1 answer
204 views

I'm working on a Preact project, and this is the code of a page: return ( <Fragment> <div style={gridStyle}> <p>Test</p> </div> &...
mikwee's user avatar
  • 163
1 vote
1 answer
1k views

at RequestGraph.invalidateOptionNodes (food-ordering-app\node_modules@parcel\core\lib\RequestTracker.js:249:29) at loadRequestGraph (food-ordering-app\node_modules@parcel\core\lib\RequestTracker.js:...
Vikalp Narayan's user avatar
1 vote
1 answer
145 views

I've started building React websites with Parcel and want to use the use-sound hook, but Parcel is giving me issues. Specifically, I am seeing the following error: ReferenceError: HowlerGlobal is not ...
James Shapiro's user avatar
0 votes
1 answer
145 views

I'm facing an issue regarding importing CSS in .tsx files after upgrading Parcel.js from 2.9.0 to 2.12.0 in a project. My project is using React, TypeScript and CSS. I'm not using CSS modules. The CSS ...
tjfuller's user avatar
  • 302
1 vote
0 answers
148 views

I encountered an error during the build process with Parcel, specifically from the @parcel/optimizer-swc module, stating that 'const' declarations must be initialized. However, this error doesn't ...
Burger's user avatar
  • 13
0 votes
0 answers
53 views

I have a local typescript project with a simple React component, Hello: import * as React from "react"; import { useState } from "react"; const Hello = () => { const [x11, ...
Mahdi's user avatar
  • 2,371
0 votes
0 answers
193 views

I'm trying to share some react components across multiple projects in an easy way. If I symlink the .tsx file into my web folder, node compiler fails with this error: @parcel/core: Failed to resolve '...
Mahdi's user avatar
  • 2,371
0 votes
1 answer
123 views

Parcel 2 supports glob aliases for simple use cases, but I can't figure out how to use it for global object properties that require some transformation. For example, in WordPress projects, wp is a ...
Tomas Mulder's user avatar
  • 2,403
0 votes
0 answers
63 views

Body.js import RestaurantCard, { withBestSellerLabel } from "./RestaurantCard"; import { useEffect, useState, useContext } from "react"; import Shimmer from "./Shimmer"; ...
Ansari Sadaan's user avatar
2 votes
1 answer
169 views

seem to having an issue with ParcelJS. It was working and the build compiling with no issues. Went to restart the development server and now have an issue and it wont work. It throws the following ...
norrisollie's user avatar
2 votes
0 answers
85 views

Since updating Parcel from v2.4.0 to 2.10.0, when Parcel compiles my Sass into CSS, the ordering of some of the lines of code is being changed. This is causing some styles to break. For example - this ...
wiiiiilllllll's user avatar
0 votes
1 answer
501 views

I've been dealing with an issue when using the gh-pages npm module wherein running npm run deploy is not triggering deployment on GitHub reliably - sometimes it works, most of the time it doesn't. I'...
JRiggles's user avatar
  • 7,300
0 votes
0 answers
15 views

I'm trying to use a local dependency which is a simple .tsx Hello component. When I run parcel serve command it fails as below: @parcel/transformer-js: Expected '>', got 'onClick' /...ello.tsx:6:...
Mahdi's user avatar
  • 2,371
1 vote
0 answers
96 views

This happens randomly. When I edit a tsx file (e.g. a data view page), next time I render the web page, it says Error: Cannot find module '../../component/primitive/TextBox' (or some other primitive ...
Mahdi's user avatar
  • 2,371
0 votes
1 answer
106 views

I am trying to convert my build of a JavaSript Outlook Add-In from webpack to parceljs. Mostly works, but fails on the configuration of the certificate for https. The webpack configuration used an npm ...
eekboom's user avatar
  • 5,892
1 vote
0 answers
130 views

I'm trying to pass a variable to html template in app sheet. I'm trying to use parcel to compile all the code in one html file since app script works like that. To receive variable in html I would ...
user1016976's user avatar
3 votes
0 answers
168 views

Parceljs is unable to deal with "use client" directive. I've a monorepo (pnpm workspaces + turborepo). apps/web is dependent on pkgs/ui that includes UI components. Since components are all ...
Ahmad Raza's user avatar
0 votes
1 answer
99 views

I am learning react from namaste react course of akshay saini. I created 2 files. Index.html script.js Then i initiated npm init. After that i added parcel to it and then ran the npx parcel index.html ...
Aditya Nagare's user avatar
1 vote
1 answer
330 views

I have a react project on which I've used create-react-app and now I have come to know about the advantages of using parcel so now I want to use the parcel for building the rest of the project. I ...
Ali Farhan's user avatar
0 votes
0 answers
68 views

I'm trying to package and distribute my electron js desktop application, built on top of a react web application using parcel as a bundler. To do this, i'm using the following cmds: npm run build to ...
Fedy Belaid's user avatar
0 votes
0 answers
180 views

I have tried using webpack 5 and Parcel to build the new .js files. The javascript file before conversion works fine with node in the command prompt but I cannot get it to work in Windows (11). I am ...
bren's user avatar
  • 1
0 votes
1 answer
159 views

Project website hosting on https://bigyajuu.github.io/my-portfolio/. The images in question are supposed to be viewed via these following clickable containers: When deploying my project to gh-page, ...
BigYajuu's user avatar
0 votes
0 answers
58 views

I'm developing a memory game with JavaScript. I've decided to create tiles by injection of HTML code by template literals. Problem arises when Parcel modifies file names that have been referenced by ...
Piotr Ruszkiewicz's user avatar
0 votes
1 answer
150 views

I'm building a cross-browser extension. I see that Firefox doesn't support yet service workers, while they are mandatory for Chrome. So, I was making some tests in Chrome but when I try to build the ...
Fabrizio's user avatar
5 votes
1 answer
381 views

I have this component which is from parcel's documentation. It said it should work by default. import React from 'react'; const Router = () => { ... const ComponentToRender = React.lazy(() =>...
iamafasha's user avatar
  • 816
1 vote
1 answer
169 views

We have been building a design system in our company. We are using material ui as a base. The app and the design system work fine, but we have a small problem with Jest. When running the tests, we are ...
Antonio Gamiz Delgado's user avatar
0 votes
1 answer
537 views

I maintain a Chrome DevTools extension for which I utilise Gulp to bundle my code. Since Gulp is not maintained anymore, I am looking to migrate to another bundler. I started a test project to try out ...
temelm's user avatar
  • 786
0 votes
1 answer
506 views

I am trying to setup my first webapp with ParcelJS. Everything works in development but when I do a production build my class definitions are not accessible and I get the error: app.js:5 Uncaught ...
fguillen's user avatar
  • 39.5k
1 vote
1 answer
1k views

I have a React SPA that that uses Parcel as the build tool/dev server. I'm trying to get it running inside a Docker container, but when I run the parcel serve command, I get an error like this: $ ...
saudes's user avatar
  • 262
-1 votes
1 answer
129 views

I have 2 pages and page 2 contains a horizontal scrolling slider with a distortion effect created with Three.js and Parcel.js (+ cursor effect with gsap on those 2 pages). Separately, 2 pages work ...
Ivy's user avatar
  • 1
1 vote
0 answers
147 views

Im trying to make my react project work with gh pages, the images are not found for some reason, but on localhost it works, <img alt="Vector" src="/img/vector-4.svg" /> I've ...
Fliche Qevedo's user avatar
0 votes
1 answer
255 views

I have developed and maintain a multiplayer word game, since maybe 8-10 years: The backend for the game is a Maven project producing a servlet, written in Java. And the Javascript files are just ...
Alexander Farber's user avatar
25 votes
7 answers
23k views

While creating a react app from scratch (without using create-react-app) using parcel bundler, the parcel throws the following error: Error: Expected content key de1e4a02ec63c4eb to exist at ...
Puja Mahapatra's user avatar

1
2 3 4 5
14