Meteor Development environment Construction: http://blog.csdn.net/u010947098/article/details/54290159
This is the second step in compiling the Meteor project and compiling it formally.
1. Enter the project directory, I'm here for cd/root/bin/meteor/bizinsurance
2. View the Package.json file, which records the plug-ins required for the project and the version information of the plugin;
Here is the contents of the Package.json file for the project:
{
"name": "******",
"private": true,
"scripts": {
"start": "meteor run"
},
"dependencies": {
"autoprefixer": "^6.3.1",
"classnames": "^2.2.3",
"crypto-js": "^3.1.6",
"encoding": "^0.1.12",
"faker": "^3.0.1",
"history": "^3.0.0",
"jquery": "^3.1.0",
"lrz": "^4.9.40",
"meteor-node-stubs": "~0.2.0",
"ph-swipe": "^0.1.9",
"platform-ws-client": "^1.0.3",
"react": "^15.3.1",
"react-addons-css-transition-group": "^15.3.1",
"react-addons-pure-render-mixin": "^15.1.0",
"react-dom": "^15.3.1",
"react-image-gallery": "^0.6.9",
"react-router": "^2.7.0",
"react-semantify": "^0.5.2",
"react-tap-event-plugin": "^1.0.0",
"semantic-ui-accordion": "^2.2.2",
"semantic-ui-dimmer": "^2.2.3",
"semantic-ui-dropdown": "^2.2.3",
"semantic-ui-modal": "^2.2.3",
"semantic-ui-tab": "^2.2.3",
"semantic-ui-transition": "^2.2.3",
"weixin-pay": "^1.1.7",
"xmldom": "^0.1.22"
}
}
3. Add the required plugins for your project using the Meteor NPM Install command.
Maybe it's because of my network environment problem, it is easy to get stuck when using the Meteor NPM Install command. Second, use meteor NPM install The xmldom@0.1.22 command to load the plug-ins required for the project, which is loaded using meteor NPM install * *, according to the plugins defined in the Package.json file.
4. Compiling the program, Meteor
In this step, there may be problems, such as missing plugins, and then using the third step, based on the error prompts, to resolve.
If code compilation does not pass, you may need to comment some code;
5. Compile again, meteor
6. Compile successfully.