Unable to locate file in Vite manifest: resources/sass/app.scss - forms

I have installed laravel 9 and livewire. When i try to open login or registraration page from top corner it's showing this error
Can you tell me something how can i fix this one

Please try to run in terminal:
npm run dev
If that doesn't resolve the issue:
Then start your scss/sass (by whatever way you do it)
sass --watch resources/sass/:resources/css/app.css --style compressed
Do you happen to use Vite? if so
Goto your root (vite.config.js) and uncomment
'resources/css/app.css',
Then go to your sass/scss and make one edit (for example a spacebar click) and then save that.
If you were using Vite before then re add the line in the root
'resources/css/app.css'
I hope this works for you. Spamming 'npm run dev' should work but sometimes the old values with strange CSS get pushed to your view and that is why you need to make an edit in your sass/scss file and then save that.
Goodluck!

Related

Unverified breakpoint in VSCode in Flutter

My debug mode does not work as I see the unverified breakpoint notice in VSCode in debug mode.
I already checked the Launch json file and it is fine, but something else is wrong which I do not see what it is. Maybe something related to paths, etc.
I tried to make a new project in VSCode using the command and the new default Flutter project is OK.
So it seems like, if I can make a fresh project from my current project then my problem could be solved. But how? I tried to move my files from my current project to the newly made Default Flutter project but I do not think this is the way. Because I guess some of the files in my project are the source of issues...
I already deleted .vs file but no help.
Do you have any good idea how to fix this issue?
First try cleaning the project files using flutter clean then flutter pub get, try running the app without debugging and if you are down for making a new one just move the lib and assets folders and copy the content of pubspec.yaml file.

I can't change permissions

So my "code ." command doesn't work. I get the error
/usr/local/bin/code2: line 6: python: command not found
/usr/local/bin/code2: line 10: ./MacOS/Electron: No such file or directory
I saw that I just have to change python to python3 in the code file in /usr/local/bin. Except when I change the file, I'm unable to save it with the change. I get all sorts of errors telling me I don't have permission to change it. So then I look up how to change it, and it says to click on get info on the file, and then change the permissions in the sharing and permissions section. But my get info doesn't HAVE a sharing and permissions section!
What do I do?
PS: I realized I can see permissions if I do get info on the whole bin directory. I made it so everyone can read & write. Except I still can't save the altered version of the code file. I still don't know what to do anymore.
Ok I still have no idea how to save an edited version of the code file, but here is how I got around it for now.
brew install python
ln -s /usr/local/bin/python3 /usr/local/bin/python
Now I can use code . but I'm still very upset with my computer for not cooperating with me. 😡

How to fix 'no entries found' on server run in Parcel.js

On trying to run the server with 'parcel index.js':
Server running at http://localhost:1234 🚨 No entries found.
at Bundler.bundle (/usr/local/lib/node_modules/parcel-bundler/src/Bundler.js:275:17)
Server is showing a 404 error. I'm having the same problem with all my projects, so I feel like this is a global issue. Everything was working fine on all projects and suddenly this is occurring.
already tried:
uninstalling parcel-bundler and reinstalling (globally + locally)
Thanks!
Simple mistake, was using "parcel index.js" when I should have been using "parcel index.html"
As above check the directory from which you are working i was inside src and running src/parcel index.html it should be parcel index.html
Mine was typing parcel /src/index.html instead of parcel src/index.html. Spent 20 minutes on this.......
Maybe you are running parcel in a subfile of a project, so you need to add the path relative to the root directory,my path is parcel Navigation-webpage/index.html
My mistake on windows was that I used parcel src/index.html instead of parcel src\index.html
Try
npm i #parcel/transformer-sass
And update parcel bundler .
npm i parcel
Make sure you've got all your filenames in the explorer view spelled correctly. That was my solution to this problem.
I meet the same error.
And please check json file:
"source" : "src/index.html"
It's source instead of main.
I fixed this error by discovering my mistake at first
when I created the project main folder and then created the /src folder by mistake I created the index.html in the main folder, not inside the /src folder
and when I do npm run dev I get this error
Build failed.unknown: Entry Error
So to fix that I moved the files [index.html - main.scss - widget.js] to the src folder, So now it looks like this
enter image description here
And it works
Important hint here because it happened to me too: after you move the
files and try again with "npm run dev" you will get an error and the
reason why is that you need first to change all the directories of the
imported files in the [index.html], like main.css app.js and the
images too before running parcel again.

Ionicons: How to add custom icons

I want to add some SVG icons to the default Ionicons set.
I'm following these steps to build them from the source without success:
Put my svg icon in src/: src/my-icon.svg
Edit my manifest file with a custom prefix "prefix": "my-",
Run, python ./builder/generate.py
ionicons.svg appear to be modified but it's not changed.
What am I doing wrong?
I would recommended you take a look at this excellent article by Omar Wazir, his instructions worked out great for me. In short, he tells you to install all the dependencies, get Ionicons, put your custom icon in the /src/ folder and to run python ./builder/generate.py after which he tells you to move some files to these folders:
ionicons\css -> <ionicApp>/www/lib/ionic/css/
ionicons\fonts -> <ionicApp>/www/lib/ionic/fonts/
ionicons\scss -> <ionicApp>/www/lib/ionic/scss/ionicons/
Also when you run the python ./builder/generate.py command, it should tell you that the script has found a new icon. Perhaps this information can help you solve your problem.

Zencart zc_install/index.php page showing blank

I am trying to install reinstall zencart setup again on the following link:-
http://hobbystii.ro
But when i click to start the setup it shows a blank page. I am not able to understand the problem. Can please anyone help.
For my confirmation i deleted the database cleaned everything and tried reinstallation but same error showing blank screen.
I suggest you rename the install directory "install" to start with; that is the original name if i remember correct. And try replacing the folder with original one from ZIP file.
However the best option would be to do a fresh install since your existing database will be wiped during an install either way. After doing so you can simply copy your theme files across or if you have customizations attempt copying the entire code from previous install across. Make sure to keep backups of everything and replace the configuration files for both admin and user side with that of the new one.