complete-javascript-course
complete-javascript-course copied to clipboard
Spokify issue please need help
PS C:\Users\manis\Downloads\complete-javascript-course-master (1)\complete-javascript-course-master\18-forkify> npm start
[email protected] 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 "
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:
- In your Terminal, change the directory to
starterusing thecd startercommand (assuming you're currently in18-Forkify). - Run
npm initthere. - Run
npm install parcel --save-dev. - Run
npm start.
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
"
now i know the solution first step - move the 'package-lock.json' and 'package.json ' into starter then