Unable to run the prose mirror demo (typescript) latest source code

Took the latest via Git Clone

@marijn I’m unable to run the Demo.
Tried to setup the Typescript version of prose mirror.

Some how the package.json missed out the demo script, I have added the following

"scripts": {
    "test": "bin/pm test",
    "demo": "esmoduleserve demo/ --port 8080"
  },

After the npm run demo command, Got the following exception:

Uncaught TypeError: Failed to resolve module specifier "prosemirror-model". 
Relative references must start with either "/", "./", or "../".

Also I see many error after taking the source code latest version. During bin/pm build command execution

Found 42 errors. Watching for file changes.
'prosemirror-model' is imported by commands/src/commands.d.ts, 
but could not be resolved – treating it as an external dependency

Another error:

inputrules/src/inputrules.ts(70,7): error TS2322: Type 'Plugin<null>' is not assignable to type 'Plugin<{ transform: Transaction; from: number; to: number; text: string; } | null>'.
The types of 'spec.state' are incompatible between these types.

Request you to suggest.

Do not post stuff both in the bug tracker and the forum. I get enough mail as it is.

yeah understood. I couldn’t delete the post from here (after posting there), I thought this could be an issue to be reported.

Thanks a lot for the quick response. :slight_smile: