Quantcast
Channel: GoJS - Northwoods Software
Viewing all articles
Browse latest Browse all 7069

[2.0.0] Can't get my Codesandbox to work

$
0
0

@estesbubba wrote:

I have a few Codesandboxes that worked fine with 2.0.0-beta5 but no longer work with 2.0.0. I’m having an issue with GoJS 2 that I didn’t have with 1.8 and trying to reproduce it in a sandbox and it fails. All I did was changed the version from 2.0.0-beta5 to 2.0.0 in package.json and get this error.

Cannot use 'in' operator to search for 'go' in undefined

It is complaining on this import.

import * as go from 'gojs/release/go-debug';

Any ideas on they this import no longer works with 2.0.0? This is my Sandbox.

Edit GoJS 2 canvas resize

If you change to this in package.json it works

"gojs": "2.0.0-beta5 - beta",

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 7069

Trending Articles