Open astewartau opened 1 year ago
Yes it looks like it is. Try running `npm install history'.
On Thu, Jun 15, 2023 at 3:54 PM Ashley Stewart @.***> wrote:
I'm getting an error when attempting to run npm start in /frontend:
Failed to compile.
Module not found: Error: Can't resolve 'history' in '/opt/QSMxT-UI/frontend/src' ERROR in ./src/index.tsx 7:0-47 Module not found: Error: Can't resolve 'history' in '/opt/QSMxT-UI/frontend/src'
webpack compiled with 1 error Files successfully emitted, waiting for typecheck results... Issues checking in progress... ERROR in src/index.tsx:4:38 TS2307: Cannot find module 'history' or its corresponding type declarations. 2 | import ReactDOM from 'react-dom/client'; 3 | import App from './App';
4 | import { createBrowserHistory } from "history"; | ^^^^^^^^^ 5 | import { unstable_HistoryRouter as HistoryRouter } from "react-router-dom"; 6 | 7 | const history = createBrowserHistory({ window });
Note that I am attempting to run this inside of the QSMxT singularity container and used commit e3b81c4 https://github.com/CampbellTimm/QSMxT-UI/commit/e3b81c4e19763981f6ef5d52f5ff18e549303e82 .
Is "history" a missing dependency?
— Reply to this email directly, view it on GitHub https://github.com/CampbellTimm/QSMxT-UI/issues/4, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKDGFMIQPPT4BA2VX6ZEGA3XLKPRNANCNFSM6AAAAAAZHKHQS4 . You are receiving this because you are subscribed to this thread.Message ID: @.***>
I'm getting an error when attempting to run
npm start
in/frontend
:Note that I am attempting to run this inside of the QSMxT singularity container and used commit https://github.com/CampbellTimm/QSMxT-UI/commit/e3b81c4e19763981f6ef5d52f5ff18e549303e82.
Is "history" a missing dependency?