-
-
Notifications
You must be signed in to change notification settings - Fork 330
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Demo broken #143
Comments
I get the same problem when I reinstall babel-core (which indeed, was missing from package.json). The new version somehow doesn't find |
Ok, got it running. You need to:
in ProseMirror and make the change mentioned marijnh/moduleserve#1 as a temp fix until it's properly loading .babelrc |
Attached patch specifies the dependency and bumps the moduleserve version dep to 0.6.0. This fixes the issue for me. Could you verify? |
I spent all yesterday trying to fix the same thing. I found that .babelrc must be in the source path or a parent. I then had to install the presets as a module in the same directory as .babelrc. It all depends on how your project is laid out. |
@marijnh Works great! |
After getting the latest code I am no longer able to run the local demo.
Firstly, running
npm run demo
gives a module error, which I solved by runningnpm install babel-core --save-dev
After that
npm run demo
executes correctly. Navigating to http://localhost:8080 gives a console error "Uncaught SyntaxError: Unexpected token import" Which seems to indicate the transformer isn't converting the es6.I've also tried updating the moduleserve package to 0.5.0 which is slightly newer to no avail.
I'll keep poking around and post solutions as I find them.
The text was updated successfully, but these errors were encountered: