How to Create 'node' Folders in a Web Application


In order to call node services from your web application in server-side Xbasic, you must publish node services in a specific folder in your web project.

  1. On the Web Projects Control Panel, click the More... in the toolbar.

  2. Under the Node menu, select Create 'node' folders in Web Project. This will add the "node_modules" and "node_services" folders inside the "node" folder to your web application.

    Select "Create 'node' folders in Web Project" to generate the required directories for publishing and using Node Modules in web applications.
    Alpha Anywhere creates two directories, "node_modules" and "node_services", inside a folder called "node" in the Web Project folder

See Also