instapy-dashboard
instapy-dashboard copied to clipboard
Failed to compile
Everything seems to be working fine ... except when I run npm start I get the following error. It can't seem to find beat_loader
running npm test works fine, api loads fine but this react component doesn't want to load. I've removed node_modules and re-installed several times...
[email protected] start /home/ubuntu/instapy-dashboard concurrently --kill-others-on-fail "react-scripts start" "npm run server"
[1] [1] > [email protected] server /home/ubuntu/instapy-dashboard [1] > node ./src/services/server.js [1] [1] RESTful API running on port: 3001 [1] (node:4258) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed. [1] Executing (default): SELECT 1+1 AS result [1] Connection has been established successfully. [0] Starting the development server... [0] [0] Failed to compile. [0] [0] ./node_modules/react-spinners/dist/spinners/index.js [0] Module not found: Can't resolve './beat_loader.jsx' in '/home/ubuntu/instapy-dashboard/node_modules/react-spinners/dist/spinners'
hey, it's a react-spinner issue. I'm trying to reproduce it without success. It works for me on MacOS 10.12 and LUbuntu 19.04.
There is an open issue about it: https://github.com/davidhu2000/react-spinners/issues/65
Let me know if you can add some extra info that can help me to reproduce it.
This was on ubuntu 18.04 -- I ended up solving with a completely clean install after spending hours going down the rabbit hole trying to update dependencies. :)
Thanks
good to know. soon they should close that issue on react-spinner
Hi, I'm the maintainer for react-spinners, I'm not sure if this issue is related to this open issue.
davidhu2000/react-spinners#65
When the package was originally released, I mistakenly published version 1.0.0, when I meant to do 0.0.1. The current version is 0.5.x. This was the cause of the opened issue.
Hey @davidhu2000 , thanks for react-spinner, have been using the lib on my projects, it's perfect!
Thank you for the feedback also, going to check it in the next release of the dashboard.