Questions tagged [parceljs]

Blazing fast, zero configuration web application bundler

Official website

https://parceljs.org/

682 questions
0
votes
0 answers

ReactJS Display array with separators in component

This is something that has been asked but the solutions i found on here do not work for whatever reason. I have an array in my MongoDB and I am attempting to display them on my front end client. Like so: Genre: Action, Sci-Fi Just calling it brings…
0
votes
1 answer

How to fix "parcel: Permission denied" on Heroku

I want to deploy my application on Heroku but it shows "parcel: Permission denied" error on Heroku cli. My project consist with two project. Backend - Node, expressjs Frontend - React Project was connected with concurrently npm packege This is…
racketman
  • 29
  • 9
0
votes
1 answer

How can I deploy a website on Heroku with parcel?

I want to deploy website on Heroku which created using MERN. I created it with parcel. When I deploy on Heroku, It shows following error and I can't deploy it on heroku. How can I fix this issue? Error Image Package.json { "name":…
racketman
  • 29
  • 9
0
votes
1 answer

Treeshaking BabaylonJs with parcel.js

I have an ES6 web application using multiple libraries (eg BabylonJs, React, Material-UI, Material-Tables). Transpiling this application without tree shaking works (and even the app does). But transpiling it with --experimental-scope-hoisting…
Ruediger Jungbeck
  • 2,836
  • 5
  • 36
  • 59
0
votes
1 answer

JavaScript function gives me (Uncaught ReferenceError: checkIfUserLogedIn is not defined) when called in HTML file in parcel dev server

In my admin.html I called checkIfUserLogedIn() function when the page is loading Admin

Admin Pannel

Eranda
  • 1
  • 1
  • 1
0
votes
3 answers

Uncaught TypeError: fs.writeFile is not a function

I am getting the error Uncaught TypeError: fs.writeFile is not a function in my program, in which I just want to write something to a JSON file. The fs.readFileSync function works properly, but fs.writeFile doesn't for some reason. Here is my…
DG27
  • 77
  • 3
  • 8
0
votes
1 answer

error on uploading custom 3D gltf file using Three JS

I have created a simple model. Also converted that into gltf/glb. That model is showing up on babylon and as well as on three js. But whenever I am trying to import into my html file, error is showing up like, "GLTFLoader.js:149 SyntaxError:…
0
votes
0 answers

VueJS cannot render a dynamically generated component

I'm struggling to make this work. I'm developing a VueJS small app, served using ParcelJS. In a view called DisplayProgram, I'm trying to create multiple instances of a specific component ModuleListView, with network fetched data. When I try to…
mrik974
  • 465
  • 2
  • 7
  • 17
0
votes
1 answer

Building my electron app and running it at the same time?

My first look around I wasn't able to find an answer on here to my specific case. I am using react, tailwind, typescript, electron, with parcel. I am new to this stack so it took me ages to even get the stack running together smoothly. My question…
404Developer
  • 121
  • 1
  • 2
  • 7
0
votes
0 answers

Why is my dockerized Node.js app seeing localhost?

I have 2 apps running in containers running on the same docker network. One app provides some JSON data via its web api, while the other reads it. The app that is doing the reading is a node.js app that uses a bundler (parcel.js). Both apps are…
Tadija Bagarić
  • 2,495
  • 2
  • 31
  • 48
0
votes
1 answer

How to properly install ClassPrivateProperties and ClassPrivateMethods plugins?

Hei, I updated my npm packages, including parcel, and after the update I could not run my application anymore and keep getting the following error: Build failed. @parcel/transformer-js: This experimental syntax requires enabling one of the…
kr90
  • 23
  • 1
  • 3
0
votes
1 answer

Sass styling is not applying to deployed firebase app but does locally

This is my first time deploying firebase and everything seems to be working except for the stylesheets are not being applied. I'm using parcel, sass and vanilla js. I've tried moving the style.scss into the public folder and updating the file paths…
lowkey
  • 41
  • 6
0
votes
2 answers

Loop doesn't work when exported with ParcelJS

I am using ParcelJS V2. I have the following code that gets data from an HTML table. Every in the cell consists of an tag and the getElementById refers to the ID of the input tag. getCount.js let rowCount =…
Praanto
  • 216
  • 4
  • 14
0
votes
1 answer

How to get Parcel to compile a Phaser game with 'classProperties'?

I completed a Phaser game tutorial that ran fine when linking to the Phaser.js library on the Web using: But now when I try to use Phaser locally with npm, and Parcel to…
Richard
  • 14,798
  • 21
  • 70
  • 103
0
votes
1 answer

How to use jQuery UI with Parcel

I'm trying to use jQuery UI features in a react app widget that I am bundling with Parcel. The app works with UI features like draggable in development using yarn start but I get an error when adding the Parcel output to a demo page. I'm including…
Will
  • 4,498
  • 2
  • 38
  • 65