i have try to install facturascripts in a windows server, server it´s working fine with many websites in php with laravel, wordpress, .... but when i try to put facturascripts in a domain it doesn´t work, i have translate .htaccess to a web.config file, but still not working.
i think the problem is with routing system, so i execute composer install and npm install to be sure everything is ok, but still nothing. bootstrap css and js files gives error 404, but the route chrome gives me is correct.
someone has facturascript 2020 working in IIS??
Check that the NPM dependencies have actually been downloaded in the node_modules folder. I recently saw a case that npm install failed on a Windows machine.
Here is the FacturaScripts official website with documentation to answer these questions.
Related
I have a next js project that works fine with npm run dev.
it also works fine with npm run build and then npm start
it also works fine on localhost on the server.
but no css, or images, or any files works when it's on the domain.
I'm running it on IIS, windows server 2019 with plesk panel
Have you checked if the Request URL is correct?
It might be the issue regarding relative path / absolute path.
My hoster allows to install node-js applications by using cPanel. I tried to install etherpad-lite, but once visiting the URL of the app, the app isn't working, just this notice is thrown out "It works! NodeJS 11.15.0".
Here's a screenshot of the cPanel:
As you can see, there's no package.json file in the directory. Maybe here's the issue? I just cloned the git repo as indicated in the installation guide, which results in the following file structure on my server:
I am aware of this very similar question, but since it was posted in 2015 and still has no suitable answers, I issued a new and more specific question with more information.
I hope someone can point me into the right direction.
Application start up file should be "src/bin/run.sh" (from root folder). This will install all the dependencies and start the server.
I have a laravel application deployed on a shared hosting server. I managed to deploy the app, install all the composer/node dependencies and it all runs with no error. I'm trying to make some minor changes on one of my components, but for some reason after the npm run dev(production) everything seems to be compilled with no error, but the actual application in the browser does not reflect the changes. I tried to clear all the caches in the app and in the browsers I'm using. I tried also to run 'npm run watch'. I replaced files, also I replaced the whole folder. If I remove something npm does display the error about the missing files, but the changes are not compiled. I've been googling now for 2 hours,but I cannot find anything useful . Any idea is welcomed. Thanks in advance.
Using Laravel Mix's .version() could help in cache busting. Don't forget to use mix('path') instead of asset('path') in your blade files
i want to run https://gitlab.com/jmis/exilecraft on my own linux server, sadly there is no documentation aboout it and i can't reach the author.
I'm completly new to nodejs, typescript, webpack etc.
But this is what i figured out:
i need npm, webpack, webpack-dev-server
i had to change package.json and remove all "^" so i can
npm install
without any dependencies and compatibility problems, all modules are now installed in minimal required version.
There is a script "start" and after runing it the site is responding, there is some loading, site turns gray and then nothing.
Almost the same as www.exilecraft.org (original site) before showing any content.
I see tsconfig.json there so i understand that this is a typescript project.
I need some directions how to make it work?
I am trying to get my localhost server on Firebase to work but I am continuing to get the following message in the browser 'Cannot GET /'. I took a look in the console and all it says is 'http://localhost:5000/ 404 (Not Found)'.
I have tried re-running the server using 'firebase serve' and that doesn't help.
I ran 'firebase init' again and that didn't help either.
I re-installed the firebase tools by running 'npm install -g firebase-tools' and then running firebase serve again and still nothing.
Not sure whats going on because it was initially working. I installed some grunt plugins and moved my index.html file under an html folder although I still have an index.html file under the public folder it still says 'Cannot GET /'
I have also tried in different browsers restarting them etc.
I am using a Mac OS X El Capitan.
Let me know if you need any more info. Thanks in advance
I had this issue running firebase serve from within the scripts directory in the "Friendly Chat" tutorial. Starting the server from the parent directory got it working again as expected.
if this will help someone save time.. a possibility: it could be that the build step did not complete, this was my case, and the build/... directory had no index.html
I had the same issue when was trying to serve an Angular application with the firebase command.
Firstly, you should see the firebase.json file.
It should contain the "public" value, like:
{
"public":"dist/ProjectName"
...
}
But the dist folder will be auto created only after you build the Angular project:
ng build --prod
After you can do the:
firebase serve
Hope it will be helpful for beginners.
Ok so got this working but pretty much had to start from scratch again. I deleted the public folder and just moved my html, css, js, and node-module folders out of my project directory and then re-installed firebase-tools and ran the 'firebase init' command and then restarted the localhost server and everything started working again. After which point I moved back all my previous folders and things are working as before.
Not a 100% sure how the issue happened but at one point I did delete my index.html file and then put it back in later on as I was testing something. At which point I feel the issue started. I will try to test this scenario in a test project but I guess for the time being don't delete your index.html file just modify the existing one. Thanks all.
The error message shows up if you run 'firebase serve' within the project folder.
Navigate to the parent folder (up one level) using 'cd ..' and start the server from there.
Please check if content of your website is present in folder
"hosting": {
"public": "<folder with your website files>",
from your config "firebase.json"
If you like me, before overthinking the problem, make sure you provided the correct URL to index.html.
In my case, I didn't take into account different structure of my directory. You should provide the path to index.html relative to the root directory of your firebase project. For example, in my case, the correct URL was http://localhost:5000/button-component/public/