How to Create 'node' Folders in a Web Application

Description

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.

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

See Also