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

Improve site design #5

Open
sinayra opened this issue Sep 15, 2020 · 4 comments
Open

Improve site design #5

sinayra opened this issue Sep 15, 2020 · 4 comments
Labels
good first issue Good for newcomers help wanted Extra attention is needed

Comments

@sinayra
Copy link
Owner

sinayra commented Sep 15, 2020

I feel the layout is not that great, but I'm having a hard time to discover what I should change by myself.

@sinayra sinayra added help wanted Extra attention is needed good first issue Good for newcomers labels Sep 15, 2020
@GustavoTxFreitas-zz
Copy link

Howdy, @sinayra! (=^ • u • ^=)

I've been designing some solutions to improve the layout of the application, so I would like to test it on the fork I made from the repository. However, I had problems rotating the page on my local machine, yare yare, here is the error:

ERROR #98123  WEBPACK
Generating development JavaScript bundle failed
Module build failed (from ./node_modules/gatsby/node_modules/css-loader/index.js): 

TypeError: aSourceMapConsumer.originalPositionFor is not a function at SourceMapGenerator.
<anonymous> (./node_modules/gatsby/node_modules/source-map/lib/source-map-generator.js:204:45)
at Array.forEach(<anonymous>)
at MappingList.unsortedForEach ./node_modules/gatsby/node_modules/source-map/lib/mapping-list.js:44:17)
at SourceMapGenerator.applySourceMap (./node_modules/gatsby/node_modules/source-map/lib/source-map-generator.js:201:20)
at MapGenerator.applyPrevMaps (./node_modules/gatsby/node_modules/postcss/lib/map-generator.es6:107:22) 
at MapGenerator.generateMap (./node_modules/gatsby/node_modules/postcss/lib/map-generator.es6:169:48)
at MapGenerator.generate (./node_modules/gatsby/node_modules/postcss/lib/map-generator.es6:269:25)
at LazyResult.stringify (./node_modules/gatsby/node_modules/postcss/lib/lazy-result.es6:351:24)
at ./node_modules/gatsby/node_modules/postcss/lib/lazy-result.es6:299:25 

File: src/components/footer.module.css failed
Building development bundle - 41.866s

"oh nooooo"

You may have some instructions on how to resolve this issue, otherwise, contact me with other alternatives to run this repo.
I would be very grateful to be able to contribute to the growth of your project.

Available for anything,
Gustavo Teixeira.

@sinayra
Copy link
Owner Author

sinayra commented Feb 24, 2021

Hi @GustavoTxFreitas !! Thank you for helping me!

I must confess that I never faced this kind of error before.... However, looking back to this project and running it locally, I found out that it was missing a dependency on package.json. I added now and, after installing all dependencies, I think it should run with npm run develop. Do have more information about your environment?

@GustavoTxFreitas-zz
Copy link

After some modifications to package-lock.json, I was successful in running the application.
Thank you very much for your tips!

NPM did not allow the installation of some dependencies that your project is using,
as most of them have been discontinued. It may be a good idea to check this to avoid security breaches in the future.

I'll start the layout changes tomorrow, soon I'll bring you news.

@sinayra
Copy link
Owner Author

sinayra commented Feb 24, 2021

Awesome! I just used a Gatsby template for typescript and to start this project and didn't think much about security and stuff, hahaha
Thank you very much for noticing that! I'll take a look as soon as possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants