craft.js: Can't resolve '@craftjs/core' in landing example
./components/editor/RenderNode.tsx:1:0
Module not found: Can't resolve '@craftjs/core'
> 1 | import { useNode, useEditor } from '@craftjs/core';
2 | import { ROOT_NODE } from '@craftjs/utils';
3 | import React, { useEffect, useRef, useCallback } from 'react';
4 | import ReactDOM from 'react-dom';
Thats happening in the landing example in the dev as well as main branch.
About this issue
- Original URL
- State: open
- Created 4 years ago
- Comments: 15
This is what worked for me:
in the project root:
I managed to get it work via
Same issue: