npm run build failed
Anyone else is running into this ?
🚨 Build failed.
@parcel/transformer-sass: Can't find stylesheet to import. ╷ 1 │ @import "~bootstrap/scss/bootstrap"; │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ╵ src/sass/vendors/_bootstrap.scss 1:9 @import src/styles.scss 1:9 root stylesheet
Error: Can't find stylesheet to import. ╷ 1 │ @import "~bootstrap/scss/bootstrap"; │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ╵ src/sass/vendors/_bootstrap.scss 1:9 @import src/styles.scss 1:9 root stylesheet
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] build: parcel build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in: npm ERR! /Users/shay/.npm/_logs/2022-01-14T16_08_46_815Z-debug.log
Can someone help me please, I can't find the solution
if your done with index.html and ready for build try package.json "build": parcel build src/index.html it will create dist folder with all build files. Ready to host
if your done with index.html and ready for build try package.json "build": parcel build src/index.html it will create dist folder with all build files. Ready to host
THANK YOU BRO IT WORKS