this is a different issue and it seems that the file api.js
is just opened and and locked by other editor or maybe in Wappler.
correction: the path is very weird - where is your node project setup and with what options?
this is a different issue and it seems that the file api.js
is just opened and and locked by other editor or maybe in Wappler.
correction: the path is very weird - where is your node project setup and with what options?
@George, i will continue to investigate but there seems to be an issue remaining.
If i am in a PHP site and then create a new Node project I get some really strange errors. This is the latest
again, look at the strange path
and again i try to create a node project when in a php project and again random error
This only appears to happen specifically when creating a node project while in a php project, node to node, node to php seems ok
What is the path to your project? Do the folders from the errors (C:\node
, C:\twst5
, C:\temp7
) exist and what do they contain?
yes, they exist.
They are some of the nine “run throughs” i did testing this trying to debug
They are a mixture of node and PHP project folders, mainly node
Perhaps it are permissions problems, the C
drive is the system drive and Windows is strict with restriction on that drive. Instead of adding project folders directly in the root of the drive, place them in some subfolder.
i have made a video of the issue. Apologies, for some reason the audio has not recorded but everything is obvious (but there is a `10 second section in middle which appears to be doing nothing as i was narrating)
What i said was several outcomes are possible, an error while installing, no error but also not all files are installed or an error when server is launched
In this run through another new error, in this case a port in use error. This really does appear to be random in nature
Untitled 7
I started adding to root as i got bored with adding them to a subfolder to be honest but that was what i was doing initially and same result.
I tried again adding to a subfolder but still got error, this time:
Another try, error on install
Untitled 8
It is almost as if there are 2 Wappler instances running, all errors are that the resources are being used/locked by an other application. The error in the video was because the server port 3000 was already in use, as if some other instance of the server was already running. Same is for the file errors, it looks like an other application is using those files. Could you check in the Task Manager which Wappler processes are running?
This system is a clean new cloud install ready for making videos about new features so very little running
Can you restart Wappler with logging enabled and send me the logfile after one of your tests.
database.js this time
wappler.zip (3.3 KB)
Do the errors only happen after starting a new project, after files have being copied? Do you have some virus scanner active that scans the files that just have been copied?
yes, if i go back to the project later it seems to run ok although i have not actually tried to produce anything from them but the target icon shows green
Running Microsoft Defender which has never given any problems previously on other systems
I also have defender running without any problems, but there must be some application that is accessing the files that were just copied. From all the errors you shown it seems to mainly happen after some copy/install action.
It’s a Microsoft Surface 4 (i7 8gb) with fresh install of win 10 from Microsoft cloud.
Only software added in addition is Wappler and NCH Debut screen recorder which is use all the time for videos
I really cant see what it could be
It’s not an answer to your problem Brian but have you considered using Linux? If you don’t play games or need Net Meeting and just want to develop why not dump Windows and go for an OS you can entirely control? You’re a fast learner and not short of brain cells and would get to grips with it in no time. Wappler on Ubuntu runs sooooo smooth, for building a developer stack is absolutely perfect. Will make that 8gb of memory feel like a rocket ship compared to Windows!!
The only thing I can think of is to disable other background applications one by one to find the culprit causing the issue. Close application like OneDrive and then try Wappler, disable RealTime protection of Windows Defender and try again. I don’t think it is possible to see which application is using the file, so you have to test it in this way.