Migration to titanium

Forum to discuss the new web client version of Servoy.

Re: Migration to titanium

Postby pitc » Sun Apr 17, 2022 5:22 pm

For the new Servoy version:
I installed nvm and npm, node myself.
Then ran
Code: Select all
npm install Z:\Git_REPOS\ZumbaFunFitApp\.metadata\.plugins\com.servoy.eclipse.ngclient.ui\target\projects\window

Got error message (-4094 from npm) as per attached.
Looks like it cannot create the symlink.
Looking at the log file there seems to be a reference to 2021.12.0 (line 34) - but this is 2022.03.0 - is there a mix up in directories someplace?
Maybe I should clear the npm cache and retry?...Nope same error.
You do not have the required permissions to view the files attached to this post.
Tom
prospect-saas.com
pitc
 
Posts: 115
Joined: Thu Nov 14, 2019 2:22 pm
Location: Ottawa, Ontario, Canada

Re: Migration to titanium

Postby pitc » Sun Apr 17, 2022 6:13 pm

For my next experiment I exported the app (.servoy).
Then created a new workspace.
Imported the .servoy.
Changed the preferences to run ng client as titanium.
After waiting for he titanium build to complete (with various errors/warnings) I ran the ng client (debug) and it works now.
I conclude that having the workspace on a drive that is a network drive breaks the npm in some manner (maybe permissions?).
Tom
prospect-saas.com
pitc
 
Posts: 115
Joined: Thu Nov 14, 2019 2:22 pm
Location: Ottawa, Ontario, Canada

Re: Migration to titanium

Postby jcompagner » Tue Apr 19, 2022 10:05 am

pitc wrote:For the new Servoy version:
I installed nvm and npm, node myself.
Then ran
Code: Select all
npm install Z:\Git_REPOS\ZumbaFunFitApp\.metadata\.plugins\com.servoy.eclipse.ngclient.ui\target\projects\window

Got error message (-4094 from npm) as per attached.
Looks like it cannot create the symlink.
Looking at the log file there seems to be a reference to 2021.12.0 (line 34) - but this is 2022.03.0 - is there a mix up in directories someplace?
Maybe I should clear the npm cache and retry?...Nope same error.


Don't think this has anything todo with npm cache or something
this has everything todo with npm wanting to create symbolic links (called Junctions in windows) and on that drive the OS/network doesn't allow that
We depend on this that npm can do this.
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8829
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Migration to titanium

Postby jcompagner » Tue Apr 19, 2022 10:08 am

pitc wrote:For my next experiment I exported the app (.servoy).
Then created a new workspace.
Imported the .servoy.
Changed the preferences to run ng client as titanium.
After waiting for he titanium build to complete (with various errors/warnings) I ran the ng client (debug) and it works now.
I conclude that having the workspace on a drive that is a network drive breaks the npm in some manner (maybe permissions?).


what kind of errors do you still get?
what does the console output still look like?

Also what i don't get is if you use this:

-Dservoy.ng2.target.folder=c:/temp/target

(point to a normal ntfs filesystem drive on your local machine)

that it then still doesn't work, that should work fine, where the workspace is shouldn't be a problem i think, its where that target dir is
So what is the output you get when you have that system property set?
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8829
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Migration to titanium

Postby pitc » Tue Apr 19, 2022 9:36 pm

I deleted all sub-folders below c:\temp\target because of a previous attempt (otherwise it will not re-build).
With the
Code: Select all
-Dservoy.ng2.target.folder=c:/temp/target
the build succeeds.
See attached log file.

Without that line, it attempts to use Drive Z and fails.
I can try with a different drive (e.g. K: where the servoy release is located.
You do not have the required permissions to view the files attached to this post.
Tom
prospect-saas.com
pitc
 
Posts: 115
Joined: Thu Nov 14, 2019 2:22 pm
Location: Ottawa, Ontario, Canada

Re: Migration to titanium

Postby jcompagner » Tue Apr 19, 2022 10:32 pm

yes that is the correct log of a successful build
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8829
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Previous

Return to Servoy NGClient

Who is online

Users browsing this forum: No registered users and 10 guests