Closed szymonhernik closed 7 years ago
Hi! I'm sorry you're experiencing this trouble! I've improved the troubleshooting section. Could you check that and see if those instructions help resolve your issue? Let me know what you find!
I'm going to go ahead and close this because I'm 99% sure that what I have in troubleshooting now will help you. Feel free to comment in here if you like though :+1:
I'm actually going to remove slug
in favor of slugify
which doesn't depend on unicode
which will make life much better for everyone. Why don't you try again from the beginning and see if that works better for you. Thanks!
@kentcdodds Thank you for your prompt reply. Now, everything works excellent when I run npm start dev
.
Environment info:
mongo
version (mongod --version
): 3.4.4node
version (node --version
): 6.11.0npm
version (npm --version
): 5.0.3yarn
version (yarn --version
): 0.24.6Problem description:
I'm on Mac OS Sierra I've tried to run sudo npm run setup --silent and firstly I have "Congrats" but then I have all these errors beginning with the error after the third 'waiting...'. When I go further with the setup instructions and write npm start dev (the same problem when I run sudo npm start dev.api), then my server starts but I got error: [dev.api] [nodemon] app crashed - waiting for file changes before starting... (I pasted the code underneath). When I go to the localhost:8080 I am immediately directed to the http://localhost:8080/#/ where I got an error:
Unhandled Rejection (TypeError): Cannot read property 'data' of [undefined]. (> 34 | action.payload = error.response.data)
The code when I run sudo npm run setup --silent
The output when I run sudo npm start dev.api
Suggested solution:
I have no idea how to help myself...