You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Creating a new standalone workspace sets up Vite with the jsdom environment but does not install jsdom, so it fails to run the sample test.
Expected Behavior
Either don't use jsdom in the environment environment (the user did not ask for it) or install it so the out-of-box experience is not broken.
GitHub Repo
No response
Steps to Reproduce
npm i -g nx
npx create-nx-workspace workspace
> None
> Standalone
> Typescript? Yes or No
> Enable distributed caching? No
cd example
nx test example
MISSING DEP Can not find dependency 'jsdom'
Hi, thanks for reporting this is an error on our end. It should be set to 'node' you can change it as a workaround for now until the fix has been pushed, which would probably be in a upcoming release.
Current Behavior
Creating a new standalone workspace sets up Vite with the
jsdom
environment but does not installjsdom
, so it fails to run the sample test.Expected Behavior
Either don't use
jsdom
in the environment environment (the user did not ask for it) or install it so the out-of-box experience is not broken.GitHub Repo
No response
Steps to Reproduce
Nx Report
Failure Logs
MISSING DEP Can not find dependency 'jsdom'
Package Manager Version
No response
Operating System
Additional Information
Shared on discord.
The text was updated successfully, but these errors were encountered: