Tools, FAQ, Tutorials:
Install Node.js Application Dependencies
What is Install Node.js Application Dependencies?
✍: FYIcenter.com
Since the applications are written with Hyperledger Fabric Node.js SDK
Isabella needs to install some dependencies, which are listed
in the package.json file.
(isabella)$ cd ~/hyperledger-binaries/fabric-samples (isabella)$ cd commercial-paper/organization/magnetocorp/application (isabella)$ npm install ... added 320 packages from 230 contributors in 140.614s npm ERR! Callback called more than once. (isabella)$ ls -l node_modules/ | more drwxrwxr-x 4 fyicenter 4096 Apr 21 17:03 @babel drwxrwxr-x 5 fyicenter 4096 Apr 21 17:03 @types drwxrwxr-x 4 fyicenter 4096 Apr 21 17:03 acorn drwxrwxr-x 2 fyicenter 4096 Apr 21 17:03 acorn-jsx drwxrwxr-x 5 fyicenter 4096 Apr 21 17:03 ajv drwxrwxr-x 2 fyicenter 4096 Apr 21 17:03 ansi-escapes ...
If you see access error, and "node_modules" sub-directory is not created, you can have a npm versioning problem. Try to use the following command to fix it.
(isabella)$ nvm use --delete-prefix v11.14.0 (isabella)$ node -v v11.14.0 (isabella)$ npm -v 6.7.0
⇒ Prepare User Identity for Isabella
2019-12-02, 996🔥, 0💬
Popular Posts:
How to add images to my EPUB books Images can be added into book content using the XHTML "img" eleme...
How to start Docker Daemon, "dockerd", on CentOS systems? If you have installed Docker on your CentO...
Where to find tutorials on OpenID? Here is a large collection of tutorials to answer many frequently...
How to read Atom validation errors at w3.org? If your Atom feed has errors, the Atom validator at w3...
How To Avoid the Undefined Index Error in PHP? If you don't want your PHP page to give out errors as...