-
Notifications
You must be signed in to change notification settings - Fork 0
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
Create TypeSpec Project Failed #1
Comments
The error had better add suggestion command for users to upgrade compiler version. |
@xiaohua899 It will be fixed after public release so please try the following workaround. |
@msyyc After installing @typespec/compiler@next, when creating TypeSpec project, the initialize project will fail, as follows: Step
|
Feels you are not using latest code. Where did you get the vsix? Please make sure it includes the latest code from typespec main |
@xiaohua899 Please follow @RodgeFu's suggestion to try latest .vsix built from https://github.com/microsoft/typespec/tree/main. nit: how to build .vsix locally:
|
@msyyc We successfully built the .vsix file from https://github.com/microsoft/typespec/tree/main and created the typespec project. We have a few questions to confirm with you, as follows:
Steps:
|
|
@RodgeFu Thanks for your reply.
|
Description
Failed to create TypeSpec Project. The error message is as follows:
Repro steps
Install the typespec extension.
Typing
>TypeSpec: Create TypeSpec Project
in the Command Palette.Select an empty folder as the root folder for the new TypeSpec project.
Select a template.
Environment
Expected behavior
A prompt
Select a template
will appear, and you should see four options:Empty Project
,Generic REST API
,TypeSpec Library (with TypeScript)
,TypeSpec Emitter (with TypeScript)
.@msyyc for notification.
The text was updated successfully, but these errors were encountered: