532 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
31
views
Dynamic Loading in Parcel reverts back to the index.html
I am building a SPA, using Parcel and Firebase. I am however encountering unexpected behaviour. I have established a function setDynamicRouting(), that should pull the html from different subpages (...
0
votes
2
answers
744
views
"Cannot read properties of undefined (reading 'input')" error
I'm encountering a build error when running a simple setup using Parcel, Tailwind CSS, and PostCSS. When I run npm run start, I get the following error:
> [email protected] start
> parcel
π¨ Build ...
-3
votes
1
answer
192
views
Parcel Error: Cannot find module '@parcel/transformer-react-refresh-wrap/lib/helpers/helpers.js'
I am facing an error when trying to run my Parcel project. The error in the browser console is:
Uncaught Error: Cannot find module '@parcel/transformer-react-refresh-wrap/lib/helpers/helpers.js' at ...
0
votes
0
answers
139
views
Error: Failed to resolve 'react-router/dom' in React with Parcel
I'm building a React app using react-router-dom and Parcel, but I keep encountering the following error when running my project:
π¨ Parcel encountered errors
@parcel/core: Failed to resolve 'react-...
0
votes
1
answer
71
views
@parcel/transformer-js build failed
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....
0
votes
1
answer
3k
views
Unexpected token CloseSquareBracket error with TailwindCSS v4 and Parcel
I followed all the steps mentioned in the Tailwind v4 docs, to setup TailwindCSS v4 with parcel . After setup when i am running local server then i got this error.
Server running at http://localhost:...
0
votes
0
answers
31
views
Missing sprite in production
The sprite is missing the path and other properties in the dist folder after running npm run build. Before the command and minification, sprite works fine in local host and deployment (I use parcel v2)...
1
vote
1
answer
74
views
Parcel Build does not output a folder
I have a problem with parcel.
When I run the build script, nothing really happens. Actually, it says that it built something but it never gives the output folder out.
I tried everything, but nothing ...
0
votes
1
answer
239
views
Jest encountered an unexpected token when working with React JavaScript
I have created react app with parcel, (New to testing) While doing unit testing for my ContactUs page, I have came across this problem.
Tried few solutions, Which are posted on StackOverFlow but none ...
0
votes
1
answer
483
views
Unparcelling of ... of type VAL_PARCELABLE consumed 2068 bytes, but 3496 expected
When I unparcel my Kotlin data object class, a Log.wtf is called internally somewhere alerting me that it expected a certain amount of bytes, however some of those were not found.
Unparcelling of ...
0
votes
1
answer
51
views
Cannot import SVG file into React project [closed]
Can someone tell me how to import an GVS image into a React project? I created the project using parcel and not create-react-app.
I tried exporting as a component using ReactComponent and also ...
1
vote
0
answers
215
views
How to handle this parcel error that states "Failed to resolve ''
I am currently trying to run npm start to compile a live version of my index.html, however parcel is throwing this error.
@parcel/core: Failed to resolve '' from './src/styles/scss/main.scss'
...
-1
votes
1
answer
81
views
Error while parcel watch: You gave us a visitor for the node type StaticBlock but it's not a valid type
When i am trying to run: "parcel watch ./public/js/index.js --out-dir ./public/js --out-file bundle.js" i get this error. I've tried answers of this question but it didnt work.
index.js:
...
1
vote
1
answer
1k
views
AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value: (0, _assert().default)(node.type === OPTION) [closed]
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:...
2
votes
0
answers
144
views
Build failed. @parcel/core: node_modules/pg-cloudflare/dist/empty.js does not export 'CloudflareSocket'
I'm building a webapp using Parcel to bundle.
Everything was working right at the front, but then I started the back setting the data base and got this error from parcel.
π¨ Build failed.
@parcel/...