Skip to content
This repository was archived by the owner on Jan 26, 2021. It is now read-only.
This repository was archived by the owner on Jan 26, 2021. It is now read-only.

"Run without docker" fails: Can't resolve prop-types #10

@jgalazm

Description

@jgalazm

After running npm start in the LSST-app directory I get two Failed to compile: ... Module not found: Can't resolve 'prop-types' errors

The console output is the following:

(virtualenv) jose@jose-samsung:/media/jose/Docs/github/LSST/LSST-app$ npm start

> LSST-app@0.0.1 start /media/jose/Docs/github/LSST/LSST-app
> concurrently "cd ../LSST-server && python3 server.py" "npm-run-all -p watch-css start-js"

[1] 
[1] > LSST-app@0.0.1 start-js /media/jose/Docs/github/LSST/LSST-app
[1] > react-scripts start
[1] 
[1] 
[1] > LSST-app@0.0.1 watch-css /media/jose/Docs/github/LSST/LSST-app
[1] > npm run build-css && node-sass-chokidar src/ -o src/ --watch --recursive
[1] 
[1] 
[1] > LSST-app@0.0.1 build-css /media/jose/Docs/github/LSST/LSST-app
[1] > node-sass-chokidar src/ -o src/
[1] 
[1] Rendering Complete, saving .css file...
[1] Wrote CSS to /media/jose/Docs/github/LSST/LSST-app/src/components/SurveyControls/PlayerControls/PlayerControlsLib.css
[1] Wrote 1 CSS files to /media/jose/Docs/github/LSST/LSST-app/src/
[1] [HPM] Proxy created: function (pathname) {
[1]         return mayProxy(pathname) && pathname.match(context);
[1]       }  ->  http://localhost:5000
[1] [HPM] Proxy created: function (pathname) {
[1]         return mayProxy(pathname) && pathname.match(context);
[1]       }  ->  http://localhost:5000
[1] [HPM] Proxy rewrite rule created: "/backend*" ~> "/"
[1] Starting the development server...
[1] 
[1] Failed to compile.
[1] 
[1] ./~/react-load-script/lib/index.js
[1] Module not found: Can't resolve 'prop-types' in '/media/jose/Docs/github/LSST/LSST-app/node_modules/react-load-script/lib'
[1] Compiling...
[1] Failed to compile.
[1] 
[1] ./~/react-load-script/lib/index.js
[1] Module not found: Can't resolve 'prop-types' in '/media/jose/Docs/github/LSST/LSST-app/node_modules/react-load-script/lib'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions