Bài viết khác

Anyone installed node.js / npm?

Hello

I am developing code for a sam9g35 embedded board. I am in the process of putting together a custom Linux build for it. There's a lot to learn, but I'm up to the challenge. There is one question I have: has anyone put node.js and npm onto an at91 Linux system. I can't imagine there's a reason this cannot be done, but I'm still really new to this platform. So here are the questions in detail:

1) Has anyone put node.js and npm onto a sam9 based Linux platform?
2) If not, is there any reason it cannot be done?

Please help

I didn't find the right solution from the internet.

References: 

http://www.at91.com/viewtopic.php?t=26698

Animated video service

Thanks

NodeJS 08:46:42 24-07-2018 0 Answer 81 views

Node.js Integration with Ble scan example

Hi,

I have to develop APP which log the RSSI value in Excel sheet for that i have used some API from Node.js.When i insert these lines in original ble scan example code it is not display the devices.I want to know how to integrate node.js library with example in projects.Please anyone help me.Otherwise suggest me any other file handling method(which has to create file in local drive not in browser).

Please help

I didn't find the right solution from the internet.

References: 

https://evothings.com/forum/viewtopic.php?t=1825

Animated video agency
 

Thanks

NodeJS 08:43:59 24-07-2018 0 Answer 86 views

Package nodejs

Mọi người cho mình hỏi có cách nào để đống gọi phần source code của project lại không, do mình có nhu cầu chạy app ở máy server người khác nên cần bảo mật phần chương trình lại!!!

NodeJS 07:49:02 08-12-2017 0 Answer 208 views

Fix lỗi response

Mọi nguời ơi,

em mới tìm hiểu về nodejs. e có đoạn code này nhưng bị lỗi mà không biết fĩx như thể nào?

    req.getValidationResult().then(error => {
         if (error) {
             res.render('register',{
                 errors: error.array()
             });
         }
             var newUser = new User({
                 username:username,
                password:password,
                name:name,
                image:image,
                email:email
             });
             User.createUser(newUser,function (err) {
                 if (err) {
                     throw err;
                 }
                                 
                 res.redirect('/');
             });

     });

 

looix:

events.js:182
      throw er; // Unhandled 'error' event
      ^

Error: Can't set headers after they are sent.
    at validateHeader (_http_outgoing.js:504:11)
    at ServerResponse.setHeader (_http_outgoing.js:511:3)
    at /var/www/html/node/nodeauth/routes/users.js:57:10
    at /var/www/html/node/nodeauth/node_modules/mongoose/lib/model.js:3822:16
    at /var/www/html/node/nodeauth/node_modules/mongoose/lib/services/model/applyHooks.js:162:20
    at _combinedTickCallback (internal/process/next_tick.js:95:7)
    at process._tickCallback (internal/process/next_tick.js:161:9)

NodeJS 01:59:39 21-08-2017 1 Answer 344 views
Xem thêm