# ProseMirror on Windows (10)

I’ve followed the steps at: https://www.npmjs.com/package/prosemirror and get “File not found. :(” in the Browser. I’m using Windows 10. Should it work on Windows?

“File not found” doesn’t sound like a windows issue. It’d help a lot if you mentioned at what point you get that error.

Sorry. When I open http://localhost:8080/ in the Browser it displays “File not found. :(”.

The Chrome Debugger console shows: “Failed to load resource: the server responded with a status of 404 (Not Found)”

So it would appear the server is running as I assume that’s what has returned “File not found. :(”

The smiley is part of the error message? I’ve never seen that before. If you’re in Chrome, can you leave devtools open and refresh? Sometimes, if this is a missing required file, it shows which actual file it was looking for then.

@marijn Devtools console is blank. Network Tab just shows localhost with a 404 error.

The web page html is: <html><head></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">File not found. :(</pre></body></html>

And the Windows Console output is:

> npm run demo

> prosemirror@0.10.1 demo c:\webapps\play\node_modules\prosemirror > moduleserve demo

Okay, you’re probably not actually looking at the ProseMirror demo server then. Does your location bar say localhost:8080 ? Did the demo complain about its port being in use when you started it?

@marijn Yes the location bar is: http://localhost:8080/ No complaints about the port being in use. I included the Windows Console output in my previous reply. I just killed the demo and started it again and nothing is different.

# This is a copy of the install, build, run output which I just did:

c:\webapps\play\node_modules\prosemirror>npm install

> prosemirror@0.10.1 prepublish c:\webapps\play\node_modules\prosemirror > rimraf dist && babel -d dist src

c:\webapps\play\node_modules\prosemirror>npm run dist

> prosemirror@0.10.1 dist c:\webapps\play\node_modules\prosemirror > babel -d dist src

c:\webapps\play\node_modules\prosemirror>npm run demo

> prosemirror@0.10.1 demo c:\webapps\play\node_modules\prosemirror > moduleserve demo

On closer look the ‘file not found :(’ message is coming from the static file server component that I’m using, so you are talking to the proper server. I guess it’s not configuring the root directly correctly, though looking at the code, I can’t spot anything that looks like it wouldn’t work on Windows.

@marijn I’m good at breaking things I found a serious issue in another JS library yesterday.

It sounds like you don’t have a Windows setup to test on.

I have a VM, but I don’t have a dev environment set up on it, and it’s slow, so I’m somewhat lazy about Windows testing

Is there a compiled build file + css files that I can simply load in a Web page to try?

There’s prosemirror-prebuilt on NPM, but that only exists for 0.11.0 and 0.12.0 (you appear to be working with 0.10 at the moment), and it doesn’t include the CSS files or come with a working demo file yet. (Sorry, this project is still quite unstable.)