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

使用源码方式 gods-pen serve fetch 执行报错 #52

Closed
hainuo opened this issue Apr 25, 2020 · 1 comment
Closed

使用源码方式 gods-pen serve fetch 执行报错 #52

hainuo opened this issue Apr 25, 2020 · 1 comment

Comments

@hainuo
Copy link

hainuo commented Apr 25, 2020

maliang gods-pen serve fetch                                      [11:13:51]
fs.js:35
} = primordials;
    ^

ReferenceError: primordials is not defined
    at fs.js:35:5
    at req_ (/usr/local/lib/node_modules/gods-pen-cli/node_modules/natives/index.js:143:24)
    at Object.req [as require] (/usr/local/lib/node_modules/gods-pen-cli/node_modules/natives/index.js:55:10)
    at Object.<anonymous> (/usr/local/lib/node_modules/gods-pen-cli/node_modules/fstream/node_modules/graceful-fs/fs.js:1:37)
    at Module._compile (internal/modules/cjs/loader.js:1156:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1176:10)
    at Module.load (internal/modules/cjs/loader.js:1000:32)
    at Function.Module._load (internal/modules/cjs/loader.js:899:14)
    at Module.require (internal/modules/cjs/loader.js:1042:19)
    at require (internal/modules/cjs/helpers.js:77:18)
@hainuo
Copy link
Author

hainuo commented Apr 25, 2020

找到问题了是因为我的机器 node版本为12.x 导致的 目前降级到 11.15 发现可以正常使用

@hainuo hainuo closed this as completed Apr 25, 2020
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

1 participant