Skip to content

Creating Local Package Fails #1519

Answered by dreamorosi
brianhyder asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @brianhyder, you are correct, we tweaked the install, build, and package workflows for the repo in a recent PR.

When starting from a fresh clone, you can run npm run setup-local, this command will run:

  • npm ci to install the dependencies for the whole workspace
  • npm run build which will compile the files from TS to JS
  • npm run init-environment which installs the commit hooks (not needed for the purposes of this explanation, but adding it for the sake of being complete)

If instead you are starting from an already cloned repo, I'd still recommend you to run the first two commands above (npm ci followed by npm run build) or the same npm run setup-local. This will ensure that you have the l…

Replies: 1 comment 4 replies

Comment options

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

@brianhyder
Comment options

@brianhyder
Comment options

@dreamorosi
Comment options

Answer selected by brianhyder
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