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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spokify issue please need help #421

Open
ManishBisht17 opened this issue Apr 5, 2024 · 3 comments
Open

Spokify issue please need help #421

ManishBisht17 opened this issue Apr 5, 2024 · 3 comments

Comments

@ManishBisht17
Copy link

PS C:\Users\manis\Downloads\complete-javascript-course-master (1)\complete-javascript-course-master\18-forkify> npm start

forkify@1.0.0 start
parcel index.html

Server running at http://localhost:1234
馃毃 Build failed.

unknown: Entry C:\Users\manis\Downloads\complete-javascript-course-master
(1)\complete-javascript-course-master\18-forkify\index.html does not exist
"index.html does not exist why this is happening
"

@akozdev
Copy link

akozdev commented Apr 5, 2024

It looks like npm was initialized in the 18-Forkify directory, but it should be initialized in the 18-Forkify/starter directory. To fix this:

  1. In your Terminal, change the directory to starter using the cd starter command (assuming you're currently in 18-Forkify).
  2. Run npm init there.
  3. Run npm install parcel --save-dev.
  4. Run npm start.

@ManishBisht17
Copy link
Author

starter/:1 Access to script at 'url:../img/icons.svg' from origin 'http://127.0.0.1:5500' has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, isolated-app, chrome-extension, chrome, https, chrome-untrusted.
icons.svg:1

   Failed  ''i am getting this error 

"

@ManishBisht17
Copy link
Author

now i know the solution first step - move the 'package-lock.json' and 'package.json ' into starter then

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

2 participants