I'm new to programming and facing some difficulties when trying to install parcel.js
Here are the errors I'm getting:
npm WARN deprecated core-js@2.6.11: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues.…
In my recent project, I have made an animated website using gsap and parcel-bundler. When I want to run it, I will type parcel index.html or npm run dev and it will start a server on port 1234, making it accessible at http://localhost:1234/.
Can…
When using vanilla JS
module.js
console.log("modulejs");
const a =1;
class Test{
}
export {Test}
index.js
import {Test} from "./module.js"
I get the console.log message just via importing a class.
But when working with parcel on my TypeScript,…
I'm trying to set up a project with Preact, Parcel, Typescript, and Jest. I have the following in my package.json in order to use absolute paths for my imports:
"alias": {
"src": "./src"
},
This lets me import my files like import sum from…
In total, I have 3 pages: index.html, sketch.html and user-profile.html.
All of them have the same navbar (I just copied and pasted the nav element for now), but I now realize that this is not the best idea.
The navbar has its position on the screen…
Potential similar question here.
I'd like to build a simple in-browser app that can run without an internet connection.
To develop a Python project, this isn't even a question. You just pip install whatever in your favorite virtual env and run…
I'm developing a game with PIXI.js that will be hosted on URL X and loaded on another website with URL Y.
In order to accomplish this, I use a BASE_URL environment variable that is '' when local, and 'https://something.web.app' when not local.
So, I…
I have a vanilla js project that I am building with parcel. In project I have a directory with a lot of json files that I would like to use in one of my modules. I have tried to import them like I would import js files but that didn't work.
import *…
I'm using Parcel.js. When I'm trying to run Parcel and build my project via yarn parcel ./src/index.html
the EPERM error happens regarding parcel cache.
The error
Error: EPERM: operation not permitted, rename…
UPDATE: I found out that the index.html is linking the files incorrectly like it doesn't recognize where the files are stored. I corrected the css link tag in the header of my bundled document but Now I am getting errors with JavaScript still and I…
My FontAwesome icons won't work because the $fa-font-path variable is not taken into account while building my fontawesome.scss file.
Step 1: I installed FontAwesome 5.13 via npm
npm install @fortawesome/fontawesome-free --save
Step 2: I edited my…
I've been following along with a web dev tutorial and I'm stuck at this part: https://btholt.github.io/intro-to-web-dev-v2/libraries#building-your-code
I've been trying for a couple of days to install parcel-bundler and can't figure out what I'm…
Currently my react project using parcel is not loading .scss files.
I have tried different suggested solutions, like installing sass, node-sass or even dart-sass but none of those have worked for me.
.babelrc
{
"plugins":…
I am working with lit-html templating library, ParcelJs bundler using Typescript, compiling in to ES2019. With such I am creating a js library to be consumed by consuming applications. This works great on most browser excepts in IE11. I get the…