Comments (5)
Logic playwright extension uses for finding node instead of just relying on node spawn to work https://github.com/microsoft/playwright-vscode/blob/2eef642e466bd6d216082571f07434a6a7653bcb/src/utils.ts#L144
from cadl.
@JanStevens , I tried to prepare the environment with the steps above but can't repro the issue. From the log, it's because the node can't be found properly, could you help to check whether 'node' can be found from vscode properly? or is there any other special things in your env that may cause vscode can't find 'node'? thanks.
from cadl.
@RodgeFu Hi, I noticed that everything works if you start VSCode with code .
in the typespec directory.
When you then close VSCode and open the project from the VSCode menu it does not work anymore. In the terminal view from VSCode node and typespec are always resolved correctly
from cadl.
@JanStevens , do you mean it doesn't work when you start vscode outside shell? could you double check whether you have set the default shell and shims properly? i.e. I can repro the issue when i removed the call to #eval "$(mise activate bash --shims)"
in my ~/.profile, which I think is because the mise shims directory is not added to PATH properly, then vscode extension can't find the node. thanks.
from cadl.
Close as this looks like an environment issue. Feel free to reopen if you get more insights about the repro env. thanks.
from cadl.
Related Issues (20)
- feat(auth): support custom scheme of `http` auth
- Need a way to disable arg marshalling for decorators
- Make FileName property abstract rather than virtual
- Make the test cases to run on multiple platforms HOT 1
- [Bug]: Models assigned where constraint is mix of "value unknown" and "unknown" throws deprecation warning
- Why do we have both a description and a summary on a method signature HOT 2
- Generate the internal `TypeFormatters` type
- support decorating template properties HOT 1
- [Bug]: Model properties called `const` without backticks no longer valid - undocumented breaking change in 0.57 HOT 2
- add computed property name support for template inputs HOT 1
- Combine all type providers on output library into one list HOT 2
- Solve the "writing comments" issue in CSharp generator HOT 1
- [Bug]: precedence/ordering of @@access decorators is unclear HOT 2
- [Bug]: Duplicate type name error when @multipartBody is used more than once
- [Bug]: @typespec/http HttpOperationResponseContent.body doesn't preserve the original Model name HOT 1
- [Bug]: model extends `Array<T>` does not inherit the indexer HOT 4
- [Bug]: `Array<Element>` is not entirely equivalent to `Element[]` as the document says HOT 2
- OpenAPI Emitter: Response should respect @useRef HOT 1
- OpenAPI Emitter: `@example` doc tag should compile to `example` field
- Client building should move to SCM plugin output library
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cadl.