Closed ryanerwin closed 3 years ago
@jaywcjlove 谢谢你的连接。
所以问题是我的环境配置。。。我改到用最新的node snap,改变到用yarn,现在好了。
另外,你可以解释为什么这个codesandbox.io连接没有“codemirror”依赖包,但是还能“import codemirror/...吗"?
如果我自己 npm uninstall codemirror
我会遇到 Module not found: Can't resolve codemirror/keymap/sublime
@ryanerwin 我文档里面没有说要安装 codemirror
依赖,codemirror
已经在包中集成了
I'm trying to run the most basic
uiwjs/react-codemirror
example from Readme.md and it's failing now on two separate systems. (Ubuntu 20.04 and Ubuntu 20.10)The strange thing, one week ago it react-codemirror was working fine for me. I haven't been able to figure out what changed, but even the most basic examples are failing for me. I've created a new empty app, and even that fails.
I'm using React 17.0.1, npm 6.14.8
src/App.js only contains:
When I open it under Firefox I get:
When I open the this under Chrome I get a different error message, but it still fails on the same line.