Comments (8)
@lloydde just confirming: you get the same with 'npm install smartdc' right?
from node-triton.
@trentm sorry, already installed mac command line tools and npm installed again.
from node-triton.
@lloydde I don't know what you mean. Could you please try this:
mkdir play
cd play
npm init . # take all the defaults here
npm install smartdc
Do you get the same error with dtrace-provider building?
from node-triton.
@trentm at the time of my issue, I didn't have "mac xcode or mac command line tools installed" (see initial comment), I now do.
from node-triton.
Ah, I see. Thanks.
from node-triton.
has this been resolved?
from node-triton.
@bahamas10 No. I don't have a great answer here. Bunyan has been rounds on whether to make dtrace-provider an optional dependency... almost always because of build failures. A while back those cases were fixed/worked-around by having the dtrace-provider build not fail on non-dtrace-y platforms and to be very silent (it was noisy in that case for a while).
This is a new case: dtrace-y platform, no build tools. I'm guessing that Mac is going to be the only common such case. While I would hope that the set of those using Mac, interested in Triton, and not having the Xcode CLI tools installed is smaller... I don't think we can discount it.
I'm hesitant to make it an optional dep for bunyan. From a pure bunyan-advocate p.o.v., making dtrace-provider optional means that failures to build won't get noticed/reported... the dtrace features of bunyan will suffer.
The only solutions I see:
- have bunyan make dtrace-provider and optional dep
- have bunyan depend on a "dtrace-provider-if-can" fork (the name could be whatever, or could consider trying to get it upstreamed) that would allow certain kinds of failures. The single starting case would be Mac not having the build chain. Perhaps emit a warning and move on
- binary built modules support in npm core :)
from node-triton.
I suppose a mitigation might be to look into avoiding the runtime warnings and just have the install time noise.
from node-triton.
Related Issues (20)
- Support "triton network list fabric=true"
- config.js validateProfile is confused about how to be insecure HOT 2
- `triton rbac role[s]` should support new role API HOT 1
- Un-hide --act-as option and add environment var HOT 1
- v7.5.0 HOT 1
- triton inst migration finalize: error: not a valid migration action HOT 2
- Want Triton image update / tag HOT 1
- fs.unlink() requires a callback HOT 9
- node-triton fails to resolve host when a CNAME HOT 1
- triton volume list and triton volume sizes should agree on a unit HOT 1
- Honor the XDG directory conventions HOT 1
- `triton profile` should generate certs for cmon
- triton rbac commands generate os.tmpDir deprecation warning HOT 1
- Unhide volumes HOT 1
- Wrong CLI_CONFIG_DIR when XDG_CONFIG_HOME is set HOT 1
- want act-as support for "triton profile docker-setup" and "triton profile cmon-certgen" HOT 1
- cmon-certgen should generate an example prometheus.yml HOT 1
- want --primary argument to "triton inst nic create" HOT 1
- AssertionError in keyring.js caused by OpenSSL 3 HOT 4
- BadDigestError: Content-MD5 when body has non-ascii characters HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-triton.