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
Description: I am trying to set up SmartScenes locally, and while I can reach the localhost site, I am unable to use certain functions because the STK.bundle.js file is missing after running the build process. The site loads, but any functionality related to STK.bundle.js (e.g., STK.SceneViewer) is unavailable.
Steps to Reproduce:
Followed the instructions to set up the environment.
Installed necessary packages and dependencies.
Ran the build script ./build.sh inside the scene-toolkit directory.
Navigated to the server directory and ran ./run.sh.
Accessed http://localhost:8000, but could not use functions related to STK.bundle.js.
What I Tried: I attempted to fix this by ensuring the necessary build tools and dependencies were installed. Here’s what I tried:
Expected Behavior: After running ./build.sh, I expect the STK.bundle.js file to be located at scene-toolkit/client/build/STK.bundle.js, and for the site to load all necessary JavaScript dependencies correctly.
Actual Behavior:
STK.bundle.js is missing after running the build script.
The site loads, but core functionalities depending on STK.bundle.js are not available.
Environment:
Node.js version: v14.16.0
OS: Ubuntu
Browser: Chrome+firefox
The resource from “http://localhost:8010/STK.bundle.js” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).
The text was updated successfully, but these errors were encountered:
Description: I am trying to set up SmartScenes locally, and while I can reach the localhost site, I am unable to use certain functions because the STK.bundle.js file is missing after running the build process. The site loads, but any functionality related to STK.bundle.js (e.g., STK.SceneViewer) is unavailable.
Steps to Reproduce:
What I Tried: I attempted to fix this by ensuring the necessary build tools and dependencies were installed. Here’s what I tried:
bash
sudo apt-get install build-essential libxi-dev libglu1-mesa-dev libglew-dev libvips
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | bash
source ~/.bashrc
nvm install v14.16.0
cd ${STK}
./build.sh
cd server
./run.sh
Expected Behavior: After running ./build.sh, I expect the STK.bundle.js file to be located at scene-toolkit/client/build/STK.bundle.js, and for the site to load all necessary JavaScript dependencies correctly.
Actual Behavior:
Environment:
The text was updated successfully, but these errors were encountered: