Parcel setup instructions inconsistent
See original GitHub issueAccording to the website, step 2 after installing @compiled/react is to install @compiled/parcel-transformer, but according to the repository’s README, the next step is to install @compiled/parcel-config.
If I install with parcel-config, following the instructions in the readme, then update the parcelrc as instructed, I get this error:
1 | {
> 2 | "extends": ["...", "@compiled/parcel-config"]
> | ^^^^^^^^^^^^^^^^^^^^^^^^^ Cannot find module "@compiled/parcel-config", did you mean "@compiled/parcel-config"?
3 | }
If I install with parcel-transformer, following the instructions on the website, then update the parcelrc as the README instructs, I get this error:
Support for the experimental syntax 'jsx' isn't currently enabled (8:10):
...
Add @babel/preset-react (https://github.com/babel/babel/tree/main/packages/babel-preset-react) to the 'presets' section of your Babel config to enable transformation.
If you want to leave it as-is, add @babel/plugin-syntax-jsx (https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-jsx) to the 'plugins' section to enable parsing.
Does parcel support actually work? I’m starting with basically a clean slate and cant get it to work
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:13
Top Results From Across the Web
Inconsistent Build Behavior & Errors While Building #7645
bug report I'm getting inconsistent build behavior. ... But then when clearing .parcel-cache and dist subsequent builds didn't work.
Read more >Building a web app with Parcel
A getting started guide walking through how to setup a project with Parcel.
Read more >Parcel debugging experience inconsistent - Stack Overflow
I have a rather simple setup: - parcel 1.12.4 - vs code 1.43.2 - chrome 80.0.3987.149 on macOS - chrome debugger extension -...
Read more >parcel - npm
Get help with the CLI. Parcel Config. Parcel has always and will always work out of the box for many projects with zero...
Read more >parcel | Yarn - Package Manager
parcel. owner parcel-bundler670.9kMIT2.8.2 vulns 0 vulnerabilities. Blazing fast, zero configuration web application bundler ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I think this may be an issue with the
package.json. I’ll raise a PR with the fix and 🤞 that fixes it@pancaspe87 I’ve taken the liberty of breaking out the parcel sample from its parent repository and posted it up here
https://github.com/onionhammer/compiled-parcel
@parcel/core: Cannot find extended parcel config