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
Parcel should keep running and reload the project with the new index.html.
😯 Current Behavior
Parcel crashes when I edit ./src/index.html and to get the new index.html in my browser I have to run npm start again.
> npm start
> [email protected] start
> parcel src/index.html
Server running at http://localhost:1234
⠋ Building index.html...
node:fs:1878
binding.unlink(path);
^
Error: ENOENT: no such file or directory, unlink 'C:\Users\filip\AppData\Local\Temp\index.html.42764.11'
at Object.unlinkSync (node:fs:1878:11)
at WriteStream.<anonymous> (C:\Users\filip\Documents\Presentations\4CHIF_BWMBO_Employer-Branding\node_modules\@parcel\fs\lib\index.js:1142:83)
at Object.onceWrapper (node:events:633:26)
at WriteStream.emit (node:events:530:35)
at emitErrorNT (node:internal/streams/destroy:169:8)
at emitErrorCloseNT (node:internal/streams/destroy:128:3)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
errno: -4058,
code: 'ENOENT',
syscall: 'unlink',
path: 'C:\\Users\\filip\\AppData\\Local\\Temp\\index.html.42764.11'
}
Node.js v20.11.1
PS C:\Users\filip\Documents\Presentations\4CHIF_BWMBO_Employer-Branding>
It does work initially, it just crashes when I edit the index.html file while parcel is running.
💁 Possible Solution
It probably has to do something with the fact that I'm using Windows and that for some reason it can't really find that file in the temp folder. Not sure exactly, though.
🔦 Context
I'm trying to set up reveal.js with parcel.
💻 Code Sample
File structure:
package-lock.json
package.json
tsconfig.json
src/
index.html <- Error happens when I change this file
assets/
background.png
scss/
style.scss
ts/
main.ts <- Changing this for example works
reveal.d.ts
dist/
...
node_modules/
...
.parcel-cache/
...
🐛 bug report
Parcel crashes when I edit
./src/index.html
while it is running.🎛 Configuration (package.json)
🤔 Expected Behavior
Parcel should keep running and reload the project with the new
index.html
.😯 Current Behavior
Parcel crashes when I edit
./src/index.html
and to get the newindex.html
in my browser I have to runnpm start
again.It does work initially, it just crashes when I edit the
index.html
file while parcel is running.💁 Possible Solution
It probably has to do something with the fact that I'm using Windows and that for some reason it can't really find that file in the temp folder. Not sure exactly, though.
🔦 Context
I'm trying to set up reveal.js with parcel.
💻 Code Sample
File structure:
tsconfig.json
:If more is needed let me know. Though I don't want to give away every detail from the project.
🌍 Your Environment
The text was updated successfully, but these errors were encountered: