Cannot add any other Node Libraries in the embark-demo
See original GitHub issueI was just trying to add the ms-sql node module to the embark-demo application to connect to the MS SQL database however, i am not able to load the libraries via the require method.
Is there something that I need to do?
The command i ran was npm install mssql@alpha --save
and then tried to load via the method. require('mssql')
Can anybody guide me on this. Am i missing something here?
Issue Analytics
- State:
- Created 7 years ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
cannot find module [Node npm Error Solved] - freeCodeCamp
you're trying to import an item from a module you don't have installed in your project directory; you're importing some things from an...
Read more >How do I import global modules in Node? I get "Error
I am trying to setup Node on Mac OSX Lion. It all seems to work ok, but I can't seem to import anything...
Read more >How To Use Node.js Modules with npm and package.json
js organizes this complexity using modules, which are any single JavaScript files containing functions or objects that can be used by other ......
Read more >How do I build a Lambda deployment package for Node.js?
I created an AWS Lambda function in Node.js, but I get a "Cannot find ... Note: Most Node.js modules are platform-independent, but some...
Read more >Creating Node.js modules - npm Docs
Create the file that will be loaded when your module is required by another application. In the file, add a function as a...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Tried doing this. Both requires work in harmony! So i guess something with embark demo is fishy.
npm modules can be added to embark projects now easily. However mssql it’s more apropriate for a pure nodejs based project (and not a web dapp)