-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
yarn create turbo
failing on strict
windows
#7880
Labels
kind: bug
Something isn't working
owned-by: turborepo
pkg: create-turbo
Issues related to npx create-turbo
Comments
antokhio
added
kind: bug
Something isn't working
needs: triage
New issues get this label. Remove it after triage
owned-by: turborepo
labels
Apr 2, 2024
Also happens with npx create-turbo@latest
Need to install the following packages:
create-turbo@1.13.1
Ok to proceed? (y) y
>>> Unexpected error. Please report it as a bug:
Error: ENOENT: no such file or directory, open 'C:\Users\user\AppData\Roaming\turborepo\telemetry.json'
at Object.openSync (node:fs:603:3)
at readFileSync (node:fs:471:35)
at xr.fromDefaultConfig (C:\Users\user\scoop\persist\nodejs-lts\cache\_npx\e8c68b66aeb1424f\node_modules\create-turbo\dist\cli.js:54:1346)
at async Lm (C:\Users\user\scoop\persist\nodejs-lts\cache\_npx\e8c68b66aeb1424f\node_modules\create-turbo\dist\cli.js:54:6235)
at async Object.callback (C:\Users\user\scoop\persist\nodejs-lts\cache\_npx\e8c68b66aeb1424f\node_modules\create-turbo\dist\cli.js:87:3415)
at async Command.parseAsync (C:\Users\user\scoop\persist\nodejs-lts\cache\_npx\e8c68b66aeb1424f\node_modules\commander\lib\command.js:935:5) {
errno: -4058,
syscall: 'open',
code: 'ENOENT',
path: 'C:\\Users\\user\\AppData\\Roaming\\turborepo\\telemetry.json'
} Confirmed |
Hi, thanks for the report. We are looking at this now. Edit: PR up now. We hope to get a patch out with this asap. |
tknickman
added
pkg: create-turbo
Issues related to npx create-turbo
and removed
needs: triage
New issues get this label. Remove it after triage
labels
Apr 2, 2024
tknickman
added a commit
that referenced
this issue
Apr 2, 2024
### Description If something goes wrong with telemetry init (bad file, bad perms etc.) we shouldn't error, just proceed without. Fixes #7880 ### Testing Instructions <!-- Give a quick description of steps to test your changes. --> Closes TURBO-2744
Patch should be available in around 20 minutes, I will update here when it's available. Thanks! |
Should be available now as |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
kind: bug
Something isn't working
owned-by: turborepo
pkg: create-turbo
Issues related to npx create-turbo
Verify canary release
Link to code that reproduces this issue
yarn create turbo
What package manager are you using / does the bug impact?
Yarn v1
What operating system are you using?
Windows
Which canary version will you have in your reproduction?
can't init
Describe the Bug
Hello, i'm trying to init turbo repo on some corporate laptop with some restricted policies, i'm getting this error:
Suspect the issue is it can't create telemetry.json without admin rights...
Expected Behavior
turbo catches error
To Reproduce
no clue really, seems needs Group Policy of some kind...
Additional context
No response
The text was updated successfully, but these errors were encountered: