Skip to content

Issue during build step on in the context of a cloud workflow #1096

Closed Answered by zachcp
zachcp asked this question in Q&A
Discussion options

You must be logged in to vote

So I figured out whats going on , more or less:

  • in most workflows the Docker image is completely pre-compiled
  • the workdir is therefore just for scratch.
  • here there is the whole npm install dance
  • our setup doens't like: rifraf and symlinks
  • but you can get the code to work as needed by working around them using something like:
# note that we are not allowing node t set symlinks
# and that this requires us to invoke observable directly rather than `npm run`
 npm install --no-bin-links && \
  ./node_modules/@observablehq/framework/dist/bin/observable.js build

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
4 replies
@zachcp
Comment options

@zachcp
Comment options

@zachcp
Comment options

@zachcp
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by Fil
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants