Hi,
I’m getting the below on startup.
=> Started proxy.
node_modules/nanweb.browser |
resolve failed for "babel-runtime": Error: Cannot find module 'babel-runtime'
resolve failed for "webpack-core": Error: Cannot find module 'webpack-core'
I’ve tried adding babel-runtime and webpack-core to devDependencies and dependencies, and I still can’t make the error go away. The app itself works fine as far as I can tell, and the test suite is happy too. I’ve deleted the node_modules directory and used meteor npm rebuild. No luck.
What is the nanweb.browser anyways? Any ideas on how to go about debugging this issue? Thanks so much.
Tat
package.json
{
"name": "application-name",
"version": "1.0.0",
"description": "Application description.",
"scripts": {
"start": "meteor --settings settings-development.json",
"test": "meteor test --driver-package practicalmeteor:mocha --port 5000 --settings settings-development.json",
"chimp-watch": "chimp --ddp=http://localhost:3000 --watch --mocha --path=tests",
"chimp-test": "chimp --ddp=http://localhost:3000 --mocha --path=tests",
"staging": <stuff>,
"production": <stuff>
},
"devDependencies": {
"babel-core": "^6.14.0",
"babel-eslint": "^7.0.0",
"babel-loader": "^6.2.5",
"babel-plugin-transform-class-properties": "^6.11.5",
"babel-plugin-transform-decorators-legacy": "^1.3.4",
"babel-plugin-transform-runtime": "^6.15.0",
"babel-preset-es2015": "^6.14.0",
"babel-preset-es2015-loose": "^8.0.0",
"babel-preset-react": "^6.11.1",
"babel-preset-stage-1": "^6.13.0",
"babel-register": "^6.14.0",
"babel-runtime": "^6.22.0",
"chimp": "^0.41.2",
"eslint": "^3.8.1",
"eslint-plugin-meteor": "^4.0.1",
"eslint-plugin-react": "^6.4.1",
"faker": "^3.1.0",
"jsdoc-babel": "^0.2.1",
"webpack": "^1.13.2",
"webpack-core": "^0.6.9"
},
"dependencies": {
"bcrypt": "^0.8.7",
"material-ui": "^0.16.7",
"mobx": "^2.5.0",
"mobx-react": "^3.5.5",
"react": "^15.4.2",
"react-ace": "^4.1.1",
"react-addons-pure-render-mixin": "^15.2.1",
"react-dom": "^15.3.0",
"react-komposer": "^1.13.1",
"react-router": "^3.0.0",
"react-tap-event-plugin": "^2.0.1"
}
}