-
-
Notifications
You must be signed in to change notification settings - Fork 284
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
外部使用用户收集 #140
Comments
启动没问题,访问 http://127.0.0.1:3000/ 报错: 复现步骤: $ npm init ssr-app my-ssr-project |
已知问题,临时解决方案升级node14,可以用nvm管理node版本 |
好的感谢,这个会有长期方案修复的计划么 |
如果你用react,现在就可以修复。vue3场景这里大概率是vite的问题导致的。需要研究下 |
发现问题了,已修复,等会安装最新版本依赖即可 |
修复的还挺快,具体是啥问题 |
node12不支持optional chaining 需要额外处理 |
最新版本已修复 |
不要在无关issue下回复建议新开issue
extrajsorder在vite场景下是开放的但是很明显不是用来解决你的问题的
默认配置无法实现功能的话有问题新开issue给复现
发自我的iPhone
…------------------ 原始邮件 ------------------
发件人: robin-zhou.cn ***@***.***>
发送时间: 2022年1月10日 10:43
收件人: zhangyuang/ssr ***@***.***>
抄送: yuuang ***@***.***>, Author ***@***.***>
主题: Re: [zhangyuang/ssr] 外部使用用户收集 (Issue #140)
我是从原vite用户迁移过来的,然后要用windicss 的vite插件.在经过多次的调试后. 提两个建议,
在vite模式下开放extraJsOrder,不然加载不了windicss.ts.
2.对原插件的使用方式应该类似这样的文档补充,或者代码适配.
` js
const vitePluginWindicss =require("vite-plugin-windicss");
let vitePluginW = vitePluginWindicss.default(windiConfig);
`
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
怎么获取vuex的实例,需要在非组件的js中dispatch |
自己拿到this.$store保存在对象中(不要在无关issue下提问
发自我的iPhone
…------------------ 原始邮件 ------------------
发件人: echo ***@***.***>
发送时间: 2022年4月25日 20:19
收件人: zhangyuang/ssr ***@***.***>
抄送: yuuang ***@***.***>, State change ***@***.***>
主题: Re: [zhangyuang/ssr] 外部使用用户收集 (Issue #140)
怎么获取vuex的实例,需要在非组件的js中dispatch
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you modified the open/close state.Message ID: ***@***.***>
|
怎么引入element-plus |
ssr-common-utils 今天更新的版本使用报错
|
删除lock安装最新版本试试
发自我的iPhone
…------------------ 原始邮件 ------------------
发件人: fmx1151 ***@***.***>
发送时间: 2024年2月21日 17:51
收件人: zhangyuang/ssr ***@***.***>
抄送: yuuang ***@***.***>, State change ***@***.***>
主题: Re: [zhangyuang/ssr] 外部使用用户收集 (Issue #140)
ssr-common-utils 今天更新的版本使用报错
Error: Cannot find module ***@***.***/server-renderer/index.js'
Require stack:
/usr/local/nano/sparkle-marketing/node_modules/ssr-common-utils/cjs/server/cwd.js
/usr/local/nano/sparkle-marketing/node_modules/ssr-common-utils/cjs/server/index.js
/usr/local/nano/sparkle-marketing/dist/main.js
at Module._resolveFilename (node:internal/modules/cjs/loader:1077:15)
at Function.resolve (node:internal/modules/cjs/helpers:125:19)
at loadModuleFromFramework (/usr/local/nano/sparkle-marketing/node_modules/ssr-common-utils/cjs/server/cwd.js:292:20)
at loadConfig (/usr/local/nano/sparkle-marketing/node_modules/ssr-common-utils/cjs/server/loadConfig.js:42:105)
at Object. (/usr/local/nano/sparkle-marketing/node_modules/ssr-core/cjs/render.js:7:57)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
at Module.load (node:internal/modules/cjs/loader:1119:32)
at Module._load (node:internal/modules/cjs/loader:960:12)
at Module.require (node:internal/modules/cjs/loader:1143:19) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/usr/local/nano/sparkle-marketing/node_modules/ssr-common-utils/cjs/server/cwd.js',
'/usr/local/nano/sparkle-marketing/node_modules/ssr-common-utils/cjs/server/index.js',
'/usr/local/nano/sparkle-marketing/dist/main.js'
]
}
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you modified the open/close state.Message ID: ***@***.***>
|
我有同样的问题,直接通过脚手架创建midway-react18-ssr的项目,运行就报这个错误了 |
保证所有ssr的依赖版本都是最新的
发自我的iPhone
…------------------ 原始邮件 ------------------
发件人: Dubhe ***@***.***>
发送时间: 2024年2月29日 11:39
收件人: zhangyuang/ssr ***@***.***>
抄送: yuuang ***@***.***>, State change ***@***.***>
主题: Re: [zhangyuang/ssr] 外部使用用户收集 (Issue #140)
ssr-common-utils 今天更新的版本使用报错 Error: Cannot find module ***@***.***/server-renderer/index.js' Require stack:
/usr/local/nano/sparkle-marketing/node_modules/ssr-common-utils/cjs/server/cwd.js
/usr/local/nano/sparkle-marketing/node_modules/ssr-common-utils/cjs/server/index.js
/usr/local/nano/sparkle-marketing/dist/main.js
at Module._resolveFilename (node:internal/modules/cjs/loader:1077:15)
at Function.resolve (node:internal/modules/cjs/helpers:125:19)
at loadModuleFromFramework (/usr/local/nano/sparkle-marketing/node_modules/ssr-common-utils/cjs/server/cwd.js:292:20)
at loadConfig (/usr/local/nano/sparkle-marketing/node_modules/ssr-common-utils/cjs/server/loadConfig.js:42:105)
at Object. (/usr/local/nano/sparkle-marketing/node_modules/ssr-core/cjs/render.js:7:57)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
at Module.load (node:internal/modules/cjs/loader:1119:32)
at Module._load (node:internal/modules/cjs/loader:960:12)
at Module.require (node:internal/modules/cjs/loader:1143:19) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/usr/local/nano/sparkle-marketing/node_modules/ssr-common-utils/cjs/server/cwd.js',
'/usr/local/nano/sparkle-marketing/node_modules/ssr-common-utils/cjs/server/index.js',
'/usr/local/nano/sparkle-marketing/dist/main.js'
]
}
我有同样的问题,直接通过脚手架创建midway-react18-ssr的项目,运行就报这个错误了
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you modified the open/close state.Message ID: ***@***.***>
|
若您的应用使用本框架进行开发可以提issue或者pr加入到readme当中,也可以直接在本issue下补充回复
The text was updated successfully, but these errors were encountered: