tide-app / tide

Explore a world of sounds!
https://tide-app.vercel.app/
MIT License
10 stars 4 forks source link

`npm start` doesn't work #374

Closed hamirmahal closed 1 year ago

hamirmahal commented 1 year ago

We get these messages at localhost:3000.

image of error
![image](https://user-images.githubusercontent.com/43425812/222820609-679a5230-565b-462c-ba48-bfd4c8c9a342.png)
error in text
``` Compiled with problems:X ERROR in ./src/App.js 1:40-118 Module not found: Error: You attempted to import /home/hamir/repositories/tide/node_modules/react-refresh/runtime.js which falls outside of the project src/ directory. Relative imports outside of src/ are not supported. You can either move it inside src/, or add a symlink to it from project's node_modules/. ERROR in ./src/Auth.js 1:40-118 Module not found: Error: You attempted to import /home/hamir/repositories/tide/node_modules/react-refresh/runtime.js which falls outside of the project src/ directory. Relative imports outside of src/ are not supported. You can either move it inside src/, or add a symlink to it from project's node_modules/. ERROR in ./src/Nav.js 1:40-118 Module not found: Error: You attempted to import /home/hamir/repositories/tide/node_modules/react-refresh/runtime.js which falls outside of the project src/ directory. Relative imports outside of src/ are not supported. You can either move it inside src/, or add a symlink to it from project's node_modules/. ERROR in ./src/SearchResults.js 1:40-118 Module not found: Error: You attempted to import /home/hamir/repositories/tide/node_modules/react-refresh/runtime.js which falls outside of the project src/ directory. Relative imports outside of src/ are not supported. You can either move it inside src/, or add a symlink to it from project's node_modules/. ERROR in ./src/Sound.js 1:40-118 Module not found: Error: You attempted to import /home/hamir/repositories/tide/node_modules/react-refresh/runtime.js which falls outside of the project src/ directory. Relative imports outside of src/ are not supported. You can either move it inside src/, or add a symlink to it from project's node_modules/. ERROR in ./src/SoundList.js 1:40-118 Module not found: Error: You attempted to import /home/hamir/repositories/tide/node_modules/react-refresh/runtime.js which falls outside of the project src/ directory. Relative imports outside of src/ are not supported. You can either move it inside src/, or add a symlink to it from project's node_modules/. ERROR in ./src/SoundListContainer.js 1:40-118 Module not found: Error: You attempted to import /home/hamir/repositories/tide/node_modules/react-refresh/runtime.js which falls outside of the project src/ directory. Relative imports outside of src/ are not supported. You can either move it inside src/, or add a symlink to it from project's node_modules/. ERROR in ./src/TagsPage.js 1:40-118 Module not found: Error: You attempted to import /home/hamir/repositories/tide/node_modules/react-refresh/runtime.js which falls outside of the project src/ directory. Relative imports outside of src/ are not supported. You can either move it inside src/, or add a symlink to it from project's node_modules/. ERROR in ./src/components/Button.tsx 1:40-118 Module not found: Error: You attempted to import /home/hamir/repositories/tide/node_modules/react-refresh/runtime.js which falls outside of the project src/ directory. Relative imports outside of src/ are not supported. You can either move it inside src/, or add a symlink to it from project's node_modules/. ERROR in ./src/components/Description.tsx 1:40-118 Module not found: Error: You attempted to import /home/hamir/repositories/tide/node_modules/react-refresh/runtime.js which falls outside of the project src/ directory. Relative imports outside of src/ are not supported. You can either move it inside src/, or add a symlink to it from project's node_modules/. ERROR in ./src/components/Dropdown.js 1:40-118 ```