Quantcast
Channel: Node.js Tools for Visual Studio
Viewing all articles
Browse latest Browse all 4630

Commented Issue: installing large modules like lwip crashes VS [1433]

$
0
0
Original comment from Randallto:
> It can take some time to work around some ux quirks, but after that is seems to be working fairly well. Just don't add large node_modules like lwip or the entire project will crash in VS. I ended up using edge.js and wrote my own image converter for under 11 kb. lwip image tools was 46 megs. Also don't include the node_modules folder in the project thinking that is needed to publish to azure website.
Comments: is it a crash or hang? hang when does VS crash/hang? while including the node_modules folder or during install of lwip?all install of lwip is ok. just don't include that part of node_modules folder in your project. when using web deploy it deploys first time. but on following deployments it seems to delete some required lwip files on the server because image processing stops working for same exact use case test. I have to npm update lwip so it rebuilds the c++ proj again, then web deploy again to fix that. what other packages are installed locally? Minimal and small. basic express site. what does package.json look like? { "name": "SampleForum", "version": "0.0.0", "description": "SampleForum", "main": "app.js", "author": { "name": "rtomes", "email": "" }, "dependencies": { "azure-storage": "^0.3.3", "body-parser": "^1.9.0", "connect-flash": "^0.1.1", "edge": "^0.9.3", "errorhandler": "^1.2.1", "express": "^4.9.7", "express-session": "^1.8.2", "fs": "0.0.2", "fs-extended": "^0.2.0", "grunt": "^0.4.5", "method-override": "^2.2.0", "moment": "^2.8.3", "morgan": "^1.3.2", "multer": "^0.1.6", "passport": "^0.2.1", "passport-local": "^1.0.0", "request": "^2.45.0", "vash": "^0.7.12-1" } }

Viewing all articles
Browse latest Browse all 4630

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>