-
Notifications
You must be signed in to change notification settings - Fork 207
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to build the project due to the private pxt-arcade-sim dependency #698
Comments
Are you trying to build an extension? Can you try steps here: https://makecode.com/extensions/github-authoring ? This requires no installation. |
@abchatra I got this Travis config generated by the MakeCode website, but it fails on the |
Seems like the fix that made
|
We are working on a way to solve the local serve dependency. Meanwhile please let us know web based extension works fine |
I am able to use http://arcade.makecode.com/beta for my purposes, however if I am not able to use code from pxt-arcade public repository as With this being said, the code in pxt-arcade public repo can't be run locally by developers outside of Microsoft organization (due to the private pxt-arcade-sim dependency). This was not the case before #684 changes were introduced and I was able to get pxt-arcade website running locally by following these steps:
To summarize, the problem described in this ticket only affects potential external users of the https://github.com/Microsoft/pxt-arcade repository. |
I'm having the same issue:
It's impossible to get this working without some microsoft internal dependency then this is a broken repo. Please fix this so that external users are able to build and run this. |
Try the latest bits. You don't need pxt-arcade-sim repository to build locally. |
Sorry, I just tried this a few seconds ago:
|
@guillaumejenkins This is an optional dependency right? Why is this erroring for users? "optionalDependencies": { |
@triptych As a workaround, just remove the this dependency from package.json, until we fix it. |
#727 should fix this. |
@triptych or @iaroslavn could you try out the build with the latest commits when you get a chance? I removed the sim as a required dependency from the package-lock.json and it hopefully fixed the issue. |
Sorry, I tried just now - I see your changes, however the error still happens:
|
Using node v8.9.4 |
I pulled changes form the latest revision in mainline, but I see the same issue - |
@iaroslavn are there any errors in the terminal output, or inside the browser console? |
Ah, CLI is skipping build entirely - I'm investigating In the mean time, you can unblock yourselves by creating a
|
This will be fixed when we next bump the pxt-core dependency; for now the above workaround will unblock you Sorry for the disruption! |
Describe the bug
As a developer external to Microsoft organization I am no longer able to build and run pxt-arcade due to the private npm dependency introduced in #684.
To Reproduce
Steps to reproduce the behavior:
git clone https://github.com/Microsoft/pxt-arcade.git cd pxt-arcade npm install
Expected behavior
I think
npm install
should work for people outside of Microsoft organization as well.At least it was working prior to the changes introduced in #684.
Desktop (please complete the following information):
Additional context
I think the root cause is that pxt-arcade-sim dependency mentioned in package.json resides in Microsoft private repository (https://github.com/Microsoft/pxt-arcade-sim).
To fix the issue please either publish it to the public NPM registry or make pxt-arcade-sim repository public.
P.S.
It would be really great if you could also publish pxt-arcade to NPM registry as well (e.g. how it was done for pxt-microbit), so 3rd party developers no longer need to build pxt-arcade locally prior to building their pxt game packages.
The text was updated successfully, but these errors were encountered: