You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to run parcel from the project folder and when I do npm start it gives me the following error:
🚨 Build failed.
@parcel/core: Failed to resolve 'js/main.js' from './src/index.html'
@parcel/resolver-default: Cannot load file './js/main.js' in './src'.`
How can I solve this without modifying the urls within the index.html file?
I want to keep them as they are, so I want to solve this from the parcel configuration.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have this structure of a parcel project:
this is my index.html:
I want to run parcel from the
project
folder and when I donpm start
it gives me the following error:How can I solve this without modifying the urls within the index.html file?
I want to keep them as they are, so I want to solve this from the parcel configuration.
I have tried to configure it like this:
but it gives me same error:
Beta Was this translation helpful? Give feedback.
All reactions