Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

用codegen生成dart代码报错,请问该怎么操作啊 #45

Open
SnowWolf817 opened this issue Mar 5, 2021 · 1 comment
Open

用codegen生成dart代码报错,请问该怎么操作啊 #45

SnowWolf817 opened this issue Mar 5, 2021 · 1 comment

Comments

@SnowWolf817
Copy link

Error: Cannot find module '/Users/zz/adult_flutter/lib/objc/DNObjectiveCConverter.js

at Function.Module._resolveFilename (node:internal/modules/cjs/loader:924:15)
at Function.Module._load (node:internal/modules/cjs/loader:769:27)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:76:12)
at MessagePort. (node:internal/main/worker_thread:179:24)
at MessagePort.[nodejs.internal.kHybridDispatch] (node:internal/event_target:459:20)
at MessagePort.exports.emitMessage (node:internal/per_context/messageport:18:26) {
code: 'MODULE_NOT_FOUND',
requireStack: []

@yulingtianxia
Copy link
Member

yulingtianxia commented Mar 5, 2021

应该是 node 版本不对,升级 codegen 到 1.2 版本,node 版本用 v14 试试

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants