Mean.io Assetmanager.init(... Returns Js Error
I want to use MEAN.io stack. I did the required initialization. Created the folder, did the npm install, got the libraries. now in server/config/express.js I have assetmanager = re
Solution 1:
The author mistakenly published an incompatible version of assetmanager. You can either use version v0.1.2 instead by running npm install assetmanager@0.1.2
command.
Or change your code to be compatible with the latest. Check the README for the example.
Solution 2:
Farid is correct that assestmanager pushed out an incompatable version.
The mean.io project has since been updated to use the 0.1.2 version. Commit
All new mean.io projects will have the correct version.
For projects that do not work you can either change your package.json or manually run npm install assetmanager@0.1.2
Please note that it is recommended to rather update your package.json to prevent issues when you change environments or go to production.
Post a Comment for "Mean.io Assetmanager.init(... Returns Js Error"