Questions tagged [parceljs]

Blazing fast, zero configuration web application bundler

Official website

https://parceljs.org/

682 questions
0
votes
1 answer

How to get React warnings in Parcel React extension

I have a Chrome Extension built with Parcel and React, but I'm not getting warnings (e.g. missing useEffect dependencies) when I inspect the popup. How do I get these warnings?
abc
  • 1,141
  • 12
  • 29
0
votes
0 answers

Trying to launch my index.html onto local host via parcel, but getting errors

So i've set up my package.json, installed parcel, and everything is working fine. However, when I use terminal and try to load my webpage through parcel or create my build i get errors and I can't seem to find a solution. If anyone could help I'd…
Thom H
  • 9
  • 3
0
votes
0 answers

My VS CODE terminal starting directory becomes mysteriously long

My vscode terminal directory turns into a very very long combination of alphabets as soon as I type something in it. Like "\xe1\x84\x82\xe1\x85\xb3...." above is how it looks when terminal is opened. above is how it turns into as soon as I type…
Intaek
  • 315
  • 4
  • 15
0
votes
1 answer

Using Parcel 2 with Ruby on Rails

How can I output the javascript file from Parcel, include this javascript file in Rails app/assets/javascripts/application.js, and ideally get it working with hot module reloading? Alternatively, is this a bad approach, and do you recommend…
Dauncing
  • 107
  • 1
  • 8
0
votes
1 answer

React - Parcel - build failed. Error: Could not resolve module "self-published/parcel-swc.darwin-x64.node"

It's coming across to me one awkward issue. I made this project a while ago with React using Parcel to build. Now after a couple of months I tried to start the project and it gave me some errors building. I download again the project from the…
0
votes
0 answers

Netlify doesn't download Parcel plugins

I have a Parcel app I am trying to deploy in Netlify that uses @parcel/transform-webmanifest for the manifest file. When I attempt to deploy, I get the following error: 11:52:42 PM: $ npm run build 11:52:42 PM: > build 11:52:42 PM: > parcel build…
Nimrod Sadeh
  • 183
  • 9
0
votes
1 answer

Is it possible to run SCSS and Bootstrap, without using VSC extensions?

I have a working setup, with sass and parcel bundler installed through npm. Problem is - every time I add Bootstrap, either by installing through npm or downloading the package by myself, my developer server (run by parcel) starts lagging very much.…
bartc
  • 123
  • 9
0
votes
0 answers

VSCode Uncss Error: ENOENT: no such file or directory, open

I have VSCode, I have installed NodeJS, I have installed NPM. I was trying to get UNCSS working but cannot seem to get past some errors. Following this guide here: https://www.youtube.com/watch?v=DX7McYRGJ8o&t=1s I ran npm i parcel-bundler -g Then I…
EVCV
  • 11
  • 2
0
votes
1 answer

Does nodejs work with projects in other drive?

I have nodejs installed on c: and my projects are in f: I tried a sample JS bundler package called "parcel".. The project folder when in f: does not allow the command "npm run dev"... it throws the error "module not found". The same folder when put…
Gautam Sharma
  • 65
  • 1
  • 7
0
votes
0 answers

D3.js import issue with parcel

I am trying to import d3.js as follows import * as d3 from "d3"; I have also tried the following way const d3 = require('d3'); And I am getting the following error once the js script runs I am using parcel to build my project, and everything has…
SirYansalot
  • 53
  • 1
  • 2
  • 5
0
votes
1 answer

Every time I edit SCSS, Parcel crashes the hot reloading with a Build Error

I've just started using Parcel and I love it compared to webpack. The simplicity is incredible for someone like myself who doesn't necessarily need a tool like webpack yet. That being said, I am running into a problem with using it during…
0
votes
1 answer

How to set dev and prod targets in Parcel

Please can anyone shed some light on how "Targets" work in Parcel, or at least how to separate unminified dev and minified prod files. The sparse documentation just raises further questions and no amount of Googling will find a solution. I am new to…
James
  • 389
  • 4
  • 11
0
votes
0 answers

It said parcelRequire is not defined when i'm using socket.io

the error I use import like this import { io } from "./lib/socket.io.esm.min.js"; And I copied socket.io/client/socket.io.esm.min.js to ./lib/socket.io.esm.min.js
0
votes
1 answer

Is it possible to get a MySQL database with parcel-bundler in node.js? Or is there an easier way to get a MySQL database with parcel-bundler

I'm new to node.js, especially in parcel-bundler. I have already created a server.js to connect with the database like below and run well without problems. Server.js const express = require('express'); const mysql = require('mysql'); //Create…
Kusanagi
  • 3
  • 4
0
votes
1 answer

Why am I getting an npm error while trying to install Parcel?

I'm trying to install Parcel but when I run the command npm install --save-dev parcel I get this error: npm ERR! code 1 npm ERR! path E:\\ javascript\\Resorce & practices\\complete-javascript…
Ishraque
  • 21
  • 4