Skip to content

Fix Windows installation issue by correcting null device path in install.bat script#5910

Merged
benjaminpkane merged 6 commits intovoxel51:developfrom
chengolivia:fix-windows-install
May 19, 2025
Merged

Fix Windows installation issue by correcting null device path in install.bat script#5910
benjaminpkane merged 6 commits intovoxel51:developfrom
chengolivia:fix-windows-install

Conversation

@chengolivia
Copy link
Copy Markdown
Contributor

@chengolivia chengolivia commented May 14, 2025

What changes are proposed in this pull request?

I corrected the install.bat script's yarn install command.

I changed it from:

call yarn install > /dev/null 2>&1

to

call yarn install > nul 2>&1

/dev/null is for linux, and nul is for Windows.

Now the yarn install command for the fiftyone app runs in Windows, and the app can be installed from source.

I also added /packages/app/src/components/__generated__/* to the .gitignore, as the generated files were being indexed by source control.

How is this patch tested? If it is not, please explain why.

Pull the change on a Windows machine and run install.bat -d. When running:

import fiftyone as fo
import fiftyone.zoo as foz
dataset = foz.load_zoo_dataset("quickstart", max_samples=10)
session = fo.launch_app(dataset)

the app will launch.

Fixes the "The system cannot find the path specified" error when running install.bat on Windows and the "Not found" message when running fo.launch_app(dataset), as described in issue #5459.

Release Notes

Is this a user-facing change that should be mentioned in the release notes?

  • No. You can skip the rest of this section.
  • Yes. Give a description of this change to be included in the release
    notes for FiftyOne users.

Note: I've marked this as not user-facing as it only affects building from source. Please correct me if end users commonly use the install.bat script.

What areas of FiftyOne does this PR affect?

  • App: FiftyOne application changes
  • Build: Build and test infrastructure changes
  • Core: Core fiftyone Python library changes
  • Documentation: FiftyOne documentation changes
  • Other

Summary by CodeRabbit

  • Chores
    • Improved compatibility of the installation script for Windows environments.
    • Updated build configuration to treat certain packages as external dependencies, reducing bundle size and improving build efficiency.
    • Added comments to suppress lint warnings related to custom window properties in analytics and teams components.

@chengolivia chengolivia requested a review from a team as a code owner May 14, 2025 17:44
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 14, 2025

Walkthrough

The updates include a modification to a Windows batch script to use the correct null device for output redirection and an adjustment to the Vite configuration to mark several @fiftyone packages as external dependencies, preventing them from being bundled during the build process. Additionally, lint suppression comments were added in two React components to handle custom window properties.

Changes

File(s) Change Summary
install.bat Replaced Unix-style /dev/null with Windows nul for output/error suppression in yarn install command.
app/packages/app/vite.config.ts Added external array to Rollup options to exclude specific @fiftyone packages from bundling.
app/packages/app/src/components/Analytics.tsx, app/packages/app/src/components/Teams.tsx Added lint suppression comments for custom window properties without changing logic.

Poem

A tweak for Windows, nul not null,
And Vite now bundles with a lighter pull.
Fiftyone externals, kept outside the gate,
The build’s now leaner—oh, isn’t that great?
With scripts and configs hopping in style,
This rabbit’s quite pleased—let’s rest for a while! 🐇

Note

⚡️ AI Code Reviews for VS Code, Cursor, Windsurf

CodeRabbit now has a plugin for VS Code, Cursor and Windsurf. This brings AI code reviews directly in the code editor. Each commit is reviewed immediately, finding bugs before the PR is raised. Seamless context handoff to your AI code agent ensures that you can easily incorporate review feedback.
Learn more here.


Note

⚡️ Faster reviews with caching

CodeRabbit now supports caching for code and dependencies, helping speed up reviews. This means quicker feedback, reduced wait times, and a smoother review experience overall. Cached data is encrypted and stored securely. This feature will be automatically enabled for all accounts on May 16th. To opt out, configure Review - Disable Cache at either the organization or repository level. If you prefer to disable all data retention across your organization, simply turn off the Data Retention setting under your Organization Settings.
Enjoy the performance boost—your workflow just got faster.


📜 Recent review details

Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 2d26316 and 872d5f4.

📒 Files selected for processing (3)
  • app/packages/app/src/components/Analytics.tsx (1 hunks)
  • app/packages/app/src/components/Teams.tsx (1 hunks)
  • app/packages/app/vite.config.ts (1 hunks)
✅ Files skipped from review due to trivial changes (2)
  • app/packages/app/src/components/Teams.tsx
  • app/packages/app/src/components/Analytics.tsx
🚧 Files skipped from review as they are similar to previous changes (1)
  • app/packages/app/vite.config.ts
✨ Finishing Touches
  • 📝 Generate Docstrings

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

🧹 Nitpick comments (1)
.gitignore (1)

35-35: Exclude generated component artifacts.
Ignoring /packages/app/src/components/__generated__/* keeps auto-generated files out of version control.
Consider simplifying to ignore the directory and all nested content, for example:

/packages/app/src/components/__generated__/

or using a glob like:

**/__generated__/**
📜 Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between d328d6e and 60845b0.

📒 Files selected for processing (2)
  • .gitignore (1 hunks)
  • install.bat (1 hunks)
🔇 Additional comments (2)
.gitignore (1)

33-33: Ignore .env to protect sensitive configurations.
Adding .env to .gitignore prevents local environment variables (which often contain secrets or API keys) from being inadvertently committed.

install.bat (1)

44-44: Use Windows nul instead of /dev/null.
Replacing the Unix-style /dev/null with Windows nul correctly suppresses yarn install output in CMD, fixing the “path not found” error during installation.

@chengolivia chengolivia changed the title Fixed Windows installation issue by correcting null device path in install.bat script Fix Windows installation issue by correcting null device path in install.bat script May 15, 2025
@chengolivia
Copy link
Copy Markdown
Contributor Author

chengolivia commented May 15, 2025

I don't see a code owner listed for install.bat. @benjaminpkane I see you authored the most recent PR for this file and @CamronStaley I see you reviewed it #5769. Would you be able to take a look at this?

Copy link
Copy Markdown
Member

@benjaminpkane benjaminpkane left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @chengolivia. Thank you for the fix! We actually would like __generated__ files as a part of source control for convenience and tracking purposes. Can you remove that .gitignore change?

@chengolivia chengolivia requested a review from a team as a code owner May 15, 2025 20:40
Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🧹 Nitpick comments (1)
app/packages/app/vite.config.ts (1)

32-38: Good choice marking packages as external dependencies.

Marking these @fiftyone packages as external prevents them from being bundled, which is appropriate for packages that should be loaded at runtime rather than bundled. This change complements the installation process improvements mentioned in the PR objectives.

However, the array formatting could be improved for better readability.

 external: [
-        '@fiftyone/analytics', '@fiftyone/components', '@fiftyone/core',
-        '@fiftyone/relay', '@fiftyone/state', '@fiftyone/utilities',
-        '@fiftyone/looker', '@fiftyone/map', '@fiftyone/plugins',
-        '@fiftyone/embeddings', '@fiftyone/operators', '@fiftyone/fiftyone',
-        '@fiftyone/aggregations', '@fiftyone/flashlight'
+        '@fiftyone/analytics',
+        '@fiftyone/components',
+        '@fiftyone/core',
+        '@fiftyone/relay',
+        '@fiftyone/state',
+        '@fiftyone/utilities',
+        '@fiftyone/looker',
+        '@fiftyone/map',
+        '@fiftyone/plugins',
+        '@fiftyone/embeddings',
+        '@fiftyone/operators',
+        '@fiftyone/fiftyone',
+        '@fiftyone/aggregations',
+        '@fiftyone/flashlight'
        ],
📜 Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 60845b0 and 2d26316.

📒 Files selected for processing (1)
  • app/packages/app/vite.config.ts (2 hunks)
🧰 Additional context used
📓 Path-based instructions (1)
`**/*.{ts,tsx}`: Review the Typescript and React code for conformity with best practices in React, Recoil, Graphql, and Typescript. Highlight any deviations.

**/*.{ts,tsx}: Review the Typescript and React code for conformity with best practices in React, Recoil, Graphql, and Typescript. Highlight any deviations.

  • app/packages/app/vite.config.ts

Comment thread app/packages/app/vite.config.ts Outdated
@chengolivia
Copy link
Copy Markdown
Contributor Author

Hi @chengolivia. Thank you for the fix! We actually would like __generated__ files as a part of source control for convenience and tracking purposes. Can you remove that .gitignore change?

.gitignore has been removed!

Also, I added an update to app/packages/app/vite.config.ts because I was running into some errors where vite was having trouble finding the @fiftyone/ modules. I can confirm that with this update, the app built for me with install.bat.

***** INSTALLING FIFTYONE-APP *****
"Building the App. This will take a minute or two..."
[INFO] [default] compiling...
[INFO] [default] compiled documents: 46 reader, 27 normalization, 46 operation text
[INFO] Done.
The CJS build of Vite's Node API is deprecated. See https://vite.dev/guide/troubleshooting.html#vite-cjs-node-api-deprecated for more details.
vite v5.4.19 building for production...
✓ 12316 modules transformed.
dist/index.html                                     0.84 kB │ gzip:   0.44 kB
dist/assets/index-BXHB8HPS.css                      0.14 kB │ gzip:   0.13 kB
dist/assets/index-BTGDqOKH.css                      0.80 kB │ gzip:   0.40 kB
dist/assets/IndexPage-C_9cg1e7.js                   0.67 kB │ gzip:   0.39 kB
dist/assets/DatasetPage-9ZzYZWY0.js                 0.99 kB │ gzip:   0.49 kB
dist/assets/IndexPageQuery.graphql-C7To1w8U.js      5.41 kB │ gzip:   1.23 kB
dist/assets/DatasetPageQuery.graphql-DqDrejFK.js   20.64 kB │ gzip:   3.41 kB
dist/assets/index.module-Bhu8xMmj.js              111.29 kB │ gzip:  36.66 kB
dist/assets/index-DGDT2IUK.js                     716.42 kB │ gzip: 231.87 kB

(!) Some chunks are larger than 500 kB after minification. Consider:
- Using dynamic import() to code-split the application
- Use build.rollupOptions.output.manualChunks to improve chunking: https://rollupjs.org/configuration-options/#output-manualchunks
- Adjust chunk size limit for this warning via build.chunkSizeWarningLimit.
✓ built in 19.06s

-------------------------------------------------------------------------------
   ROBOCOPY     ::     Robust File Copy for Windows
-------------------------------------------------------------------------------

  Started : Thursday, May 15, 2025 4:32:28 PM
   Source : C:\Users\ocheng\Documents\open_source\fiftyone_contrib\fiftyone\app\packages\app\dist\
     Dest : C:\Users\ocheng\Documents\open_source\fiftyone_contrib\fiftyone\fiftyone\server\static\

    Files : *.*

  Options : *.* /S /E /DCOPY:DA /COPY:DAT /PURGE /MIR /R:1000000 /W:30

------------------------------------------------------------------------------

                           4    C:\Users\ocheng\Documents\open_source\fiftyone_contrib\fiftyone\app\packages\app\dist\
100%        Newer                    837        index.html
                           8    C:\Users\ocheng\Documents\open_source\fiftyone_contrib\fiftyone\app\packages\app\dist\assets\
100%        Newer                    992        DatasetPage-9ZzYZWY0.js
100%        Newer                  20640        DatasetPageQuery.graphql-DqDrejFK.js
100%        Newer                    799        index-BTGDqOKH.css
100%        Newer                    144        index-BXHB8HPS.css
100%        Newer                 716611        index-DGDT2IUK.js
100%        Newer                 111294        index.module-Bhu8xMmj.js
100%        Newer                    673        IndexPage-C_9cg1e7.js
100%        Newer                   5414        IndexPageQuery.graphql-C7To1w8U.js

------------------------------------------------------------------------------

               Total    Copied   Skipped  Mismatch    FAILED    Extras
    Dirs :         2         0         2         0         0         0
   Files :        12         9         3         0         0         0
   Bytes :    1.07 m   837.3 k   265.5 k         0         0         0
   Times :   0:00:00   0:00:00                       0:00:00   0:00:00


   Speed :           107,175,500 Bytes/sec.
   Speed :             6,132.631 MegaBytes/min.
   Ended : Thursday, May 15, 2025 4:32:28 PM

@chengolivia chengolivia requested a review from benjaminpkane May 15, 2025 20:43
@codecov
Copy link
Copy Markdown

codecov Bot commented May 15, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.10%. Comparing base (190b031) to head (872d5f4).
Report is 22 commits behind head on develop.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #5910   +/-   ##
========================================
  Coverage    99.10%   99.10%           
========================================
  Files           76       76           
  Lines        21036    21117   +81     
========================================
+ Hits         20848    20929   +81     
  Misses         188      188           
Flag Coverage Δ
python 99.10% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@benjaminpkane
Copy link
Copy Markdown
Member

A lint check is failing. Otherwise LGTM!

Copy link
Copy Markdown
Member

@benjaminpkane benjaminpkane left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@benjaminpkane benjaminpkane enabled auto-merge (squash) May 16, 2025 20:05
@benjaminpkane
Copy link
Copy Markdown
Member

Still an e2e issue. Keeping this just to the bat script change is best

auto-merge was automatically disabled May 16, 2025 22:01

Head branch was pushed to by a user without write access

@chengolivia
Copy link
Copy Markdown
Contributor Author

Still an e2e issue. Keeping this just to the bat script change is best

Ok, I reverted the other changes. Now the PR just handles the bat script change.

I had added the other commits because I was getting rollup errors running install.bat. But a rm of node_modules and a fresh install.bat did the trick.

✓ built in 1m 11s

-------------------------------------------------------------------------------
   ROBOCOPY     ::     Robust File Copy for Windows
-------------------------------------------------------------------------------

  Started : Friday, May 16, 2025 6:07:46 PM
   Source : C:\Users\ocheng\Documents\open_source\fiftyone_contrib\fiftyone\app\packages\app\dist\
     Dest : C:\Users\ocheng\Documents\open_source\fiftyone_contrib\fiftyone\fiftyone\server\static\

    Files : *.*

  Options : *.* /S /E /DCOPY:DA /COPY:DAT /PURGE /MIR /R:1000000 /W:30

------------------------------------------------------------------------------

                           4    C:\Users\ocheng\Documents\open_source\fiftyone_contrib\fiftyone\app\packages\app\dist\
100%        Newer                    837        index.html
                          46    C:\Users\ocheng\Documents\open_source\fiftyone_contrib\fiftyone\app\packages\app\dist\assets\
          *EXTRA File                992        DatasetPage-9ZzYZWY0.js
          *EXTRA File                799        index-BTGDqOKH.css
          *EXTRA File             716611        index-DGDT2IUK.js
          *EXTRA File             111294        index.module-Bhu8xMmj.js
          *EXTRA File                673        IndexPage-C_9cg1e7.js
100%        New File                1490        auto-track-BANKSJ6Z.js
100%        New File                2961        DailyMotion-CnJfKix0.js
100%        New File               1.0 m        DatasetPage-BbBF1gm_.js
100%        New File               36241        DatasetPage-ywT6VJy_.css
100%        Newer                  20640        DatasetPageQuery.graphql-DqDrejFK.js
100%        New File               4.0 m        error-BQsBDnew.svg
100%        New File                3216        Facebook-BJ834mEF.js
100%        New File                9041        FilePlayer-FacWoZWX.js
100%        New File                 978        index-5QEO_dpe.js
100%        New File                8392        index-68-mNiUL.js
100%        New File                 878        index-Bc-Z1t0_.js
100%        New File              12.6 m        index-BgVfoBWS.js
100%        Newer                    144        index-BXHB8HPS.css
100%        New File              520854        index-C2jPrDGC.js
100%        New File                1127        index-D1MgFI2Z.js
100%        New File               18150        index-D6ZMQedT.js
100%        New File                 503        index-D9JtH-1p.js
100%        New File               53216        index-uGwkbZdF.css
100%        New File               34356        index.module-CBGam7xB.js
100%        New File               12629        index.umd-3H1u0Ryf.js
100%        New File                 473        IndexPage-CAbF1Ee3.js
100%        Newer                   5414        IndexPageQuery.graphql-C7To1w8U.js
100%        New File                 196        is-plan-event-enabled-DS1Agtkw.js
100%        New File                2790        Kaltura-CxaIVr4o.js
100%        New File               54104        logo-Cn3GjXMK.png
100%        New File              164912        material-icons-Dr0goTwe.woff
100%        New File              128352        material-icons-kAwBdRge.woff2
100%        New File              182028        material-icons-outlined-BpWbwl2n.woff
100%        New File              155276        material-icons-outlined-DZhiGvEA.woff2
100%        New File              206260        material-icons-round-BDlwx-sv.woff
100%        New File              173620        material-icons-round-DrirKXBx.woff2
100%        New File              156236        material-icons-sharp-CH1KkVu7.woff
100%        New File              135984        material-icons-sharp-gidztirS.woff2
100%        New File              339600        material-icons-two-tone-B7wz7mED.woff
100%        New File              215704        material-icons-two-tone-DuNIpaEj.woff2
100%        New File                2638        Mixcloud-g8eUazw7.js
100%        New File                5376        Mux-DZm0m58E.js
100%        New File                3009        Preview-Cs9BqiBQ.js
100%        New File                2923        SoundCloud-DPd_0_ND.js
100%        New File                2935        Streamable-CmoAWPBk.js
100%        New File              118731        troika-three-text.esm-D-S2dvfU.js
100%        New File                3083        Twitch-Ca9k9i8n.js
100%        New File                2857        Vidyard-C00dsk25.js
100%        New File                3627        Vimeo-9ZKvxC0-.js
100%        New File                3519        Wistia-DdK9Y_4h.js
100%        New File                4448        YouTube-DTDDoyl6.js

------------------------------------------------------------------------------

               Total    Copied   Skipped  Mismatch    FAILED    Extras
    Dirs :         2         0         2         0         0         0
   Files :        50        47         3         0         0         5
   Bytes :   20.65 m   20.39 m   265.5 k         0         0   810.9 k
   Times :   0:00:00   0:00:00                       0:00:00   0:00:00


   Speed :           419,295,431 Bytes/sec.
   Speed :            23,992.277 MegaBytes/min.
   Ended : Friday, May 16, 2025 6:07:46 PM

@chengolivia
Copy link
Copy Markdown
Contributor Author

Here is the error I was getting before I removed and re-installed node_modules:

(fiftyone-contrib) PS C:\Users\ocheng\Documents\open_source\fiftyone_contrib\fiftyone> install.bat 
***** INSTALLING FIFTYONE-APP *****
"Building the App. This will take a minute or two..."
[INFO] [default] compiling...
[INFO] [default] compiled documents: 46 reader, 27 normalization, 46 operation text
[INFO] Done.
The CJS build of Vite's Node API is deprecated. See https://vite.dev/guide/troubleshooting.html#vite-cjs-node-api-deprecated for more details.
vite v5.4.19 building for production...
✓ 3 modules transformed.
x Build failed in 66ms
error during build:
[vite]: Rollup failed to resolve import "@fiftyone/components" from "C:/Users/ocheng/Documents/open_source/fiftyone_contrib/fiftyone/app/packages/app/src/index.tsx".
This is most likely unintended because it can break your application at runtime.
If you do want to externalize this module explicitly add it to
`build.rollupOptions.external`
    at viteWarn (file:///C:/Users/ocheng/Documents/open_source/fiftyone_contrib/fiftyone/app/node_modules/vite/dist/node/chunks/dep-C6uTJdX2.js:65839:17)
    at onwarn (C:\Users\ocheng\Documents\open_source\fiftyone_contrib\fiftyone\app\packages\app\vite.config.ts:73:11)
    at onRollupWarning (file:///C:/Users/ocheng/Documents/open_source/fiftyone_contrib/fiftyone/app/node_modules/vite/dist/node/chunks/dep-C6uTJdX2.js:65869:5)
    at onwarn (file:///C:/Users/ocheng/Documents/open_source/fiftyone_contrib/fiftyone/app/node_modules/vite/dist/node/chunks/dep-C6uTJdX2.js:65534:7)
    at file:///C:/Users/ocheng/Documents/open_source/fiftyone_contrib/fiftyone/app/node_modules/vite/node_modules/rollup/dist/es/shared/node-entry.js:18668:13
    at Object.logger [as onLog] (file:///C:/Users/ocheng/Documents/open_source/fiftyone_contrib/fiftyone/app/node_modules/vite/node_modules/rollup/dist/es/shared/node-entry.js:20306:9)
    at ModuleLoader.handleInvalidResolvedId (file:///C:/Users/ocheng/Documents/open_source/fiftyone_contrib/fiftyone/app/node_modules/vite/node_modules/rollup/dist/es/shared/node-entry.js:19257:26)
    at file:///C:/Users/ocheng/Documents/open_source/fiftyone_contrib/fiftyone/app/node_modules/vite/node_modules/rollup/dist/es/shared/node-entry.js:19215:26

Removing node_modules and re-running install.bat fixed the problem, so now the app is building without those other commits. However, the fresh build outputted the following warning which could be related to the error I got before:

Export "default" of module "../core/src/components/Dataset.tsx" was reexported through module "../core/src/components/index.ts" while both modules are dependencies of each other and will end up in different chunks by current Rollup settings. This scenario is not well supported at the moment as it will produce a circular dependency between chunks and will likely lead to broken execution order.
Either change the import in "src/pages/datasets/DatasetPage.tsx" to point directly to the exporting module or reconfigure "output.manualChunks" to ensure these modules end up in the same chunk.

@chengolivia
Copy link
Copy Markdown
Contributor Author

@benjaminpkane Looks like reverting the additional changes caused the auto-merge to be automatically disabled. My bad! Would you mind merging? All the checks have passed.

@benjaminpkane
Copy link
Copy Markdown
Member

@benjaminpkane Looks like reverting the additional changes caused the auto-merge to be automatically disabled. My bad! Would you mind merging? All the checks have passed.

yes, merging

@benjaminpkane benjaminpkane merged commit ea9a663 into voxel51:develop May 19, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants