[Tools] Deprecated packages and links, issue about parcel auto installation, wrong path in /src/index.css #28100
Labels
Content:Learn:Client-side
Content under “Client-side JavaScript frameworks” (Svelte, React, Angular, Vue) and related subtrees
MDN URL
https://developer.mozilla.org/en-US/docs/Learn/Tools_and_testing/Understanding_client-side_tools/Introducing_complete_toolchain
What specific section or headline is this issue about?
Tools used in our toolchain; Installing our tools; Build and transformation tools; Running the transformation
What information was incorrect, unhelpful, or incomplete?
npx parcel src/index.html
failedTL;DR
Below is the process of debugging. First run the command
npx parcel src/index.html
and an error occurredAs the parcel auto installation issue I posted #28080 , parcel didn't auto install react, react-dom, react-async-hook, date-fns, and format-number for me like the tutorial said.
So I install them on my own and encounter next little problem, the wrong path of svg file
Changing absolute path '/img/filename.svg' to relative path 'img/filename.svg' solved the issue while next error occurred
Easy, just delete the cache directory of parcel by running
rm -r .parcel-cache
Now parcel build successfully, damn the auto installation!
I need to mention that I also change babel-eslint(now deprecated) to @babal/core and @babel/eslint-parser, not sure if that makes any difference
What did you expect to see?
Do you have any supporting links, references, or citations?
No response
Do you have anything more you want to share?
My environment:
Windows 11 / Ubuntu 22.04.2 LTS run on WSL
node: v18.17.0 / v20.4.0
parcel: 2.9.3
MDN metadata
Page report details
en-us/learn/tools_and_testing/understanding_client-side_tools/introducing_complete_toolchain
The text was updated successfully, but these errors were encountered: