On 6-3-2018 17:09, John Spray wrote: > On Tue, Mar 6, 2018 at 3:48 PM, Willem Jan Withagen <wjw@xxxxxxxxxxx> wrote: >> >> This is not going to work on FreeBSD atm... >> So I guess no dashboard_v2 for the time being. > > Hmm, is it possible that the available freebsd node version is a bit > older? The dashboard should build with anything >=6.9.0 (see also > https://github.com/ceph/ceph/pull/20752 where I suggest pulling back > the required node version to accept the default fedora one). I just installed npm, and have not done anything before with node. So it should more or less be the most recent packages that FreeBSD has. Does npm need to be >=6.9.0 (or node) ?? So this is what I got when is said 'pkg install npm' New packages to be INSTALLED: npm: 5.6.0_2 node: 9.7.1 c-ares: 1.12.0_2 Number of packages to be installed: 3 But it complains that: npm ERR! 404 Not Found: node-freebsd-x64@8.9.4 where the above suggests otherwise. Never worked with this stuff, so for the moment I'm at infancy state and you would have to learn me how to walk. --WjW > John > >> --WjW >> >> >> cd >> /home/jenkins/workspace/ceph-master/src/pybind/mgr/dashboard_v2/frontend >> && npm install >> >> npm ERR! code E404 >> npm ERR! 404 Not Found: node-freebsd-x64@8.9.4 >> >> npm ERR! A complete log of this run can be found in: >> npm ERR! /home/jenkins/.npm/_logs/2018-03-06T15_43_35_298Z-debug.log >> module.js:559 >> throw err; >> ^ >> >> Error: Cannot find module 'node-freebsd-x64/package.json' >> at Function.Module._resolveFilename (module.js:557:15) >> at Function.resolve (internal/module.js:18:19) >> at ChildProcess.<anonymous> >> (/home/jenkins/workspace/ceph-master/src/pybind/mgr/dashboard_v2/frontend/node_modules/node-bin-setup/index.js:18:27) >> at ChildProcess.emit (events.js:127:13) >> at maybeClose (internal/child_process.js:936:16) >> at Process.ChildProcess._handle.onexit (internal/child_process.js:220:5) >> npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.1.3 >> (node_modules/fsevents): >> npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for >> fsevents@1.1.3: wanted {"os":"darwin","arch":"any"} (current: >> {"os":"freebsd","arch":"x64"}) >> >> npm ERR! code ELIFECYCLE >> npm ERR! errno 1 >> npm ERR! node@8.9.4 preinstall: `node installArchSpecificPackage` >> npm ERR! Exit status 1 >> npm ERR! >> npm ERR! Failed at the node@8.9.4 preinstall script. >> npm ERR! This is probably not a problem with npm. There is likely >> additional logging output above. >> -- >> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in >> the body of a message to majordomo@xxxxxxxxxxxxxxx >> More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html