You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After updating Parcel to 2.13.1, running parcel build index.html --dist-dir ../public/ --public-url ./ fails in SASS transformer with “The URL must be of scheme file” error.
🚨 Build failed.
@parcel/transformer-sass: The URL must be of scheme file
╷
4 │ @import 'npm:reset-css/sass/reset';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
styles/main.scss 4:9 root stylesheet
Error: The URL must be of scheme file
╷
4 │ @import 'npm:reset-css/sass/reset';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
styles/main.scss 4:9 root stylesheet
at Object.wrapException
(/home/jtojnar/Projects/selfoss/client/node_modules/sass/sass.dart.js:2305:43)
at Object.throwWithTrace0
(/home/jtojnar/Projects/selfoss/client/node_modules/sass/sass.dart.js:32268:15)
at
/home/jtojnar/Projects/selfoss/client/node_modules/sass/sass.dart.js:87601:19
at _wrapJsFunctionForAsync_closure.$protected
(/home/jtojnar/Projects/selfoss/client/node_modules/sass/sass.dart.js:5020:15)
at _wrapJsFunctionForAsync_closure.call$2
(/home/jtojnar/Projects/selfoss/client/node_modules/sass/sass.dart.js:38007:12)
at _awaitOnObject_closure0.call$2
(/home/jtojnar/Projects/selfoss/client/node_modules/sass/sass.dart.js:38001:25)
at Object._rootRunBinary
(/home/jtojnar/Projects/selfoss/client/node_modules/sass/sass.dart.js:5437:18)
at StaticClosure.<anonymous>
(/home/jtojnar/Projects/selfoss/client/node_modules/sass/sass.dart.js:124125:16)
at _CustomZone.runBinary$3$3
(/home/jtojnar/Projects/selfoss/client/node_modules/sass/sass.dart.js:39461:39)
at _FutureListener.handleError$1
(/home/jtojnar/Projects/selfoss/client/node_modules/sass/sass.dart.js:38224:21)
💁 Possible Solution
🔦 Context
Tried to 2.13.0, which failed with #10010. Updated to 2.13.1 and got this issue.
🐛 bug report
After updating Parcel to 2.13.1, running
parcel build index.html --dist-dir ../public/ --public-url ./
fails in SASS transformer with “The URL must be of scheme file” error.🎛 Configuration (.babelrc, package.json, cli command)
.sassrc
package.json
🤔 Expected Behavior
Build should succeed.
😯 Current Behavior
💁 Possible Solution
🔦 Context
Tried to 2.13.0, which failed with #10010. Updated to 2.13.1 and got this issue.
💻 Code Sample
fossar/selfoss#1506
🌍 Your Environment
The text was updated successfully, but these errors were encountered: