Open onorua opened 8 years ago
After following changes to package.json
file
diff --git a/package.json b/package.json
index fad4a7b..d6efe22 100644
--- a/package.json
+++ b/package.json
@@ -17,11 +17,12 @@
"urijs": "^1.17.0"
},
"devDependencies": {
- "babel": "^5.6.14",
- "babel-core": "^5.6.15",
+ "runtime": "^0.13.0",
+ "babel": "^5.8.38",
+ "babel-core": "^5.8.38",
"babel-eslint": "^3.1.19",
"babel-loader": "^5.2.2",
- "babel-runtime": "",
+ "babel-runtime": "^6.11.6",
"babel-plugin-react-transform": "^1.1.1",
"babel-preset-es2015": "",
"babel-preset-react": "",
@@ -29,9 +30,11 @@
"es6-promise": "^2.3.0",
"node-libs-browser": "^0.5.2",
"node-uuid": "^1.4.3",
- "react-transform-catch-errors": "^1.0.0",
- "react-transform-hmr": "^1.0.1",
+ "react-transform-catch-errors": "^1.0.2",
+ "react-transform-hmr": "^1.0.4",
+ "react-transform": "^0.0.3",
"redbox-react": "^1.2.0",
+ "react-tools": "^0.10.0",
"react-bootstrap-table": "^1.4.0",
"react-select": "1.0.0-beta8",
"react-mixin": "",
@@ -49,10 +52,10 @@
"bower": "",
"moment": "",
"rimraf": "^2.4.3",
- "webpack": "",
- "webpack-dev-middleware": "^1.2.0",
- "webpack-hot-middleware": "^2.0.0",
- "express": "",
+ "webpack": "^1.13.2",
+ "webpack-dev-middleware": "^1.6.1",
+ "webpack-hot-middleware": "^2.12.2",
+ "express": "^4.14.0",
"form-urlencoded": "",
"html-webpack-plugin": "",
"extract-text-webpack-plugin": ">=1.0.1",
I've got container started up, but I still receive error message:
saltpad_1 | ERROR in Loader /usr/src/app/node_modules/babel/index.js?{"optional":["runtime"],"stage":0,"plugins":["react-transform"],"extra":{"react-transform":{"transforms":[{"transform":"react-transform-hmr","imports":["react"],"locals":["module"]},{"transform":"react-transform-catch-errors","imports":["react","redbox-react"]}]}}} didn't return a function
saltpad_1 | @ multi main
My knowledge of nodejs is reaching the maximum, any help in how to debug or fix the issue will be highly appreciated!
P.S. I've included diff instead of PR because solution is still not working properly, as soon as I'll get it working, I'll submit the PR.
Got hit by this too. Maybe it's the version of node that needs to be adjusted. I see no requirements version for node or npm in the docs.
@Lothiraldan do you have an idea ?
With node 4.6.0 it can't build :
npm ERR! Linux 4.4.0-38-generic
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install"
npm ERR! node v4.6.0
npm ERR! npm v2.15.9
npm ERR! code EPEERINVALID
npm ERR! peerinvalid The package react@0.14.8 does not satisfy its siblings' peerDependencies requirements!
npm ERR! peerinvalid Peer react-dom@0.14.8 wants react@^0.14.8
npm ERR! peerinvalid Peer react-addons-linked-state-mixin@15.3.2 wants react@^15.3.2
npm ERR! peerinvalid Peer react-select@1.0.0-beta8 wants react@^0.14.0
npm ERR! peerinvalid Peer redbox-react@1.3.1 wants react@^0.14.0 || ^15.0.0
npm ERR! peerinvalid Peer react-bootstrap-table@1.6.2 wants react@^0.14.3
npm-check-updates :
trying out https://github.com/peerigon/updtr
I managed to build it with
- "react-addons-linked-state-mixin": "",
+ "react-addons-linked-state-mixin": "^0.14.5",
but then I get another error (see next issue)
I've been running into the same problems with a new Ubuntu installation:
npm ERR! Linux 4.8.0-27-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! node v4.6.1
npm ERR! npm v2.15.9
npm ERR! code EPEERINVALID
npm ERR! peerinvalid The package react@0.14.8 does not satisfy its siblings' peerDependencies requirements!
npm ERR! peerinvalid Peer react-dom@0.14.8 wants react@^0.14.8
npm ERR! peerinvalid Peer react-addons-linked-state-mixin@15.4.0 wants react@^15.4.0
npm ERR! peerinvalid Peer react-select@1.0.0-beta8 wants react@^0.14.0
npm ERR! peerinvalid Peer redbox-react@1.3.3 wants react@^0.14.0 || ^15.0.0
npm ERR! peerinvalid Peer react-bootstrap-table@1.6.2 wants react@^0.14.3
Any suggestions?
Any fix out there ?
what I have:
Linux 4.7.0-1-amd64
1.12.1
1.8.0
what I've got
I'm following documentation for running saltpad with docker, and during startup I get following error:
Debug information:
I've tried to update npm from version
3.10.3
to3.10.6
but it did not help. So I've tried to install express manually:am I doing something wrong or missing something?