[Question] Module '"rax-app"' has no exported member 'createStore'
- Dominant language
- JavaScript
- Stars
- 8k
- Forks
- 611
- PR merge metrics
- No merged PRs in 30d
Description
通过 npm init rax后
创建store.ts
import { createStore } from 'rax-app';
const store = createStore({ });
export default store;
就出来:
createStore未导出.
版本如下:
"dependencies": {
"rax": "^1.1.0",
"rax-document": "^0.1.0",
"rax-image": "^2.0.0",
"rax-link": "^1.0.1",
"rax-text": "^2.0.0",
"rax-view": "^2.0.0"
},
"devDependencies": {
"rax-app": "^3.8.7",
"@iceworks/spec": "^1.0.0",
"@types/rax": "^1.0.0",
"eslint": "^8.0.0",
"prettier": "^2.1.2",
"stylelint": "^13.7.2"
},
通过npm start多次无效。
Contributor guide
Research direction
Start with the reported store.ts import and the installed rax-app version in package.json; inspect how rax-app exports createStore and review the single existing comment for context. Reproduce the npm start result, then confirm that the intended store setup no longer reports createStore as an unexported member.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100