First post here, and newer to Javascript.
I have a node.js / express app that I am building and would like to re-use a yes no pop up in my front end by just changing some variables.
The pop up works and displays the messages, but when I click the…
I'm building a vanilla js app and using CDN's works fine, but If I install an app like typed.js with npm, and then import it as import typed from 'typed.js' it works as it should on a local dev server.
However, once I push it and it's built on…
I am trying to set up my react tailwind an typescript project. However i stumbled across an error that i have a hard time getting around.
@parcel/transformer-css: Unknown at rule: @tailwind
/home/sizzions/Projects/trials/owen/src/index.css:1:10
…
I have my own nodejs web application which is using Parcel 2 to bundle the resources.
{
"name": "acme-web-app",
"version": "0.0.1",
"description": "",
"keywords": [],
"license": "",
"author": "",
"scripts": {
"build": "parcel build…
I was editing this program yesterday and it worked fine the whole time. The program is created using parcel, today when started up the script and the dev server was broken. This is the error i recived:
*Uncaught TypeError: Cannot read properties of…
Fairly knew to utilizing parcel, but I am importing a series of javascript modules with:
import animate from "./animate";
these js files are inside a folder "js" at the root of my site.
Everything seems to import correctly when running it locally…
I've tried to use the SolidJS+Parcel+TypeScript template starter project from here:
https://github.com/TiagoCavalcante/solidts-parcel
And once I import any element from @suid/material, such as Button, build fails.
Here's how to reproduce:
Checkout…
I implemented a Matter.js SVG animation into a website, on localhost it runs well with Parcel. When I upload it to Bluehost server with File Manager, the animation does not work. I get the following error message in the console:
Uncaught…
I was working with an api meaning that I fetch the api and convert it to json before i pass it to one of the state i want to update.
It was working fine until it didn't.
const [ids, setIDs] = useState([]);
This is the code for fetching from the…
I'm having trouble using Mock Service Worker in a React project. The application is bundled using parceljs inside the dist folder, the pages are visualized correctly however msw is unable to register the service worker. I followed all the setup…
Hello currently I'm trying to install this parcel npm( first time installing any npm) and ive watched a bunch of tutorials on how to do it but i still run into this problem, where I copy paste "npm install --save-dev parcel" into Terminal and the…
I am using ParcelV2 to create bundles for my typescript React application.
Below are my details,
/// package.json
"scripts": {
"start:dev": "REACT_APP_MODE=dev parcel public/index.html --open --port 3000",
"start": "rimraf .parcel-cache &&…
I’m a confused on what exactly the build script does and how it relates to deployment.
I know it it makes your project small by renaming variables, trimming white space, etc… but how does it work with deployment?
Do you only push the files that are…
I have configured eslint so that when I run npm run lint I get lint errors. How do I configure Parcel so that it runs this command when my code is saved?