简体   繁体   中英

start a node.js service

I am attempting to follow the setup instructions for the node.js service, blueimp-file-upload, found here:

https://github.com/blueimp/jQuery-File-Upload/wiki/Setup

Specifically, I'm working through these steps under Using jQuery File Upload (UI version) with Node.js :

You can install the sample Node.js upload service on your server via npm:

npm install blueimp-file-upload-node

You can start the service by running the following command:

./node_modules/blueimp-file-upload-node/server.js

I have completed the first step (the installation of npm), but I do not understand what is meant by running the "./node_modules/..." command. It is not considered valid syntax in Windows' command prompt, nor the Node.js-specific command prompt, even when prefixed with npm.

You have to run it in Node.JS. In the command line, type:

node node_modules/blueimp-file-upload-node/server.js

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM