Skip to content

Can't run dashboard locally after updating node #947

@dplewis

Description

@dplewis

Make sure these boxes are checked before submitting your issue -- thanks for reporting issues back to Parse Dashboard!

  • You're running version >=1.0.23 of Parse Dashboard.

  • You're running version >=2.3.2 of Parse Server.

  • You've searched through existing issues. Chances are that your issue has been reported or resolved before.

Environment Setup

npm -v
6.5.0
node -v
v11.3.0

Steps to reproduce

Run npm install then run npm run dashboard

A work around I'm doing is changing the file name but I have to so that in 5 different files, but I'm not sure what is causing this issue.

background-image: url(components/FourOhFour/sprite.png);

to

background-image: url(sprite.png);

Any ideas?

Logs/Trace

Note: If you get a browser JS error please run npm run dev. This will provide source maps and a much more useful stack trace.

ERROR in ./components/FourOhFour/FourOhFour.scss (../node_modules/css-loader/dist/cjs.js?modules&localIdentName=[local]__[hash:base64:5]!../node_modules/sass-loader/lib/loader.js?includePaths[]=%2FUsers%2FSquad%2FGithub%2Fparse-dashboard%2Fsrc!./components/FourOhFour/FourOhFour.scss)
Module not found: Error: Can't resolve './components/FourOhFour/sprite.png' in '/Users/Squad/Github/parse-dashboard/src/components/FourOhFour'
 @ ./components/FourOhFour/FourOhFour.scss (../node_modules/css-loader/dist/cjs.js?modules&localIdentName=[local]__[hash:base64:5]!../node_modules/sass-loader/lib/loader.js?includePaths[]=%2FUsers%2FSquad%2FGithub%2Fparse-dashboard%2Fsrc!./components/FourOhFour/FourOhFour.scss) 4:41-86
 @ ./components/FourOhFour/FourOhFour.scss
 @ ./components/FourOhFour/FourOhFour.react.js
 @ ./dashboard/Dashboard.js
 @ ./dashboard/index.js

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions