-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bootstrap sass imports result in error #10010
Comments
Can confirm it fails with bulma and a custom stylesheet `@parcel/transformer-sass: The "path" argument must be of type string or an instance of URL. Received null Error: The "path" argument must be of type string or an instance of URL. Received null |
I confirm the same error described above with Parcel 2.13.0. |
I am also facing the same issue when upgrading to parcel 2.13.0 |
Just confirming same issue with bootstrap. using ~2.12 instead of ^2 for now. |
Confirming same issue on parcel 2.13.0 and bootstrap 5.3.3. |
Hello having the same issue with parcel 2.13.0 and zurb foundation 6.9.0. Also on Apple Silicon |
What version of sass do you have installed? |
- @fortawesome/free-brands-svg-icons: 6.5.2 → 6.7.1 - @fortawesome/free-regular-svg-icons: 6.5.2 → 6.7.1 - @fortawesome/free-solid-svg-icons: 6.5.2 → 6.7.1 - parcel: 2.12.0 → 2.13.0 https://github.com/parcel-bundler/parcel/releases/tag/v2.13.0 - @parcel/packager-raw-url: 2.12.0 → 2.13.0 - @parcel/service-worker: 2.12.0 → 2.13.0 - @parcel/transformer-image: 2.12.0 → 2.13.0 - @parcel/transformer-sass: 2.12.0 → 2.13.0 parcel-bundler/parcel#10010 DEPRECATION WARNING: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0. More info and automated migrator: https://sass-lang.com/d/import - @parcel/transformer-webmanifest: 2.12.0 → 2.13.0 - @szhsin/react-menu: 4.1.0 → 4.2.3 - autoprefixer: 10.4.19 → 10.4.20 - core-js: 3.37.1 → 3.39.0 - eslint: 8.57.0 → 8.57.1 - eslint-plugin-react: 7.34.3 → 7.37.2 - eslint-plugin-react-hooks: 4.6.2 → 4.6.2 - focus-trap: 7.5.4 → 7.6.2 - postcss: 8.4.39 → 8.4.49 - prettier: 3.3.2 → 3.3.3 - stylelint: 16.6.1 → 16.10.0 - yet-another-react-lightbox: 3.21.1 → 3.21.7
I can also reproduce this with the latest Downgrading the
But the error from the OP remained:
|
Should be fixed by #10018. Note that you can suppress the SASS deprecation warnings rather than downgrading it. Add this to your {
"silenceDeprecations": ["import"]
} |
Thanks, this helped but now I see a different error: #10019 |
🐛 bug report
scss import statements from bootstrap result in a:
Error: The "path" argument must be of type string or an instance of URL. Received null
🎛 Configuration (.babelrc, package.json, cli command)
🤔 Expected Behavior
Necessary imports are bundled correctly.
😯 Current Behavior
bootstrap scss import statements result in a:
Error: The "path" argument must be of type string or an instance of URL. Received null
💁 Possible Solution
🔦 Context
We use some bootstrap sass stuff in our application, this was working fine in parcel 2.12.0 but trying to update results in the described issue.
💻 Code Sample
Simplified reproduction of the issue:
https://github.com/Julioevm/parcel-bootstrap-issue
🌍 Your Environment
The text was updated successfully, but these errors were encountered: