Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to compile #35

Open
ejc opened this issue May 9, 2019 · 5 comments
Open

Failed to compile #35

ejc opened this issue May 9, 2019 · 5 comments

Comments

@ejc
Copy link

ejc commented May 9, 2019

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'

@converge
Copy link
Owner

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: davidhu2000/react-spinners#65

Let me know if you can add some extra info that can help me to reproduce it.

@ejc
Copy link
Author

ejc commented May 10, 2019

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

@ejc ejc closed this as completed May 10, 2019
@converge
Copy link
Owner

good to know. soon they should close that issue on react-spinner

@davidhu2000
Copy link

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.

@converge
Copy link
Owner

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.

@converge converge reopened this May 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants