You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pnpm install package.json, run ts-node-dev
will case error like this
[ERROR] 17:01:05 [Error: ENAMETOOLONG: name too long, open '/var/folders/t5/17zsgxj549106dm_j201sc940000gn/T/.ts-nodeW4hELL/compiled/node_modules__pnpm_saas_fe_zeus_node_3_1_13_bos_fe_wechat_auth_3_2_1_bos_fe_wechat_common_2_1_6_request_2_88_2_saas_fe_node_jupiter_4_1_11_node_modules_saas_fe_zeus_node_dist_index_js_6388085d04795ed56f98e6c5df01c4b6ab8117170fb895107c54fe2416de3a08.js.done'] {
errno: -63,
code: 'ENAMETOOLONG',
syscall: 'open',
path: '/var/folders/t5/17zsgxj549106dm_j201sc940000gn/T/.ts-nodeW4hELL/compiled/node_modules__pnpm_saas_fe_zeus_node_3_1_13_bos_fe_wechat_auth_3_2_1_bos_fe_wechat_common_2_1_6_request_2_88_2_saas_fe_node_jupiter_4_1_11_node_modules_saas_fe_zeus_node_dist_index_js_6388085d04795ed56f98e6c5df01c4b6ab8117170fb895107c54fe2416de3a08.js.done'
}
I read ts-node-dev source code
after compiled, compiledPath fileName too long, case above error compiledPath fileName as node_modules__pnpm_saas_fe_zeus_node_3_1_13_bos_fe_wechat_auth_3_2_1_bos_fe_wechat_common_2_1_6_request_2_88_2_saas_fe_node_jupiter_4_1_11_node_modules_saas_fe_zeus_node_dist_index_js_6388085d04795ed56f98e6c5df01c4b6ab8117170fb895107c54fe2416de3a08
Context
OS version (is it docker or host?), ts-node-dev version
2.0.0
Do you have a repro example (git repo) with simple steps to reproduce your problem?
The text was updated successfully, but these errors were encountered:
yangaihe
changed the title
pnpm install package.json,will case [Error: ENAMETOOLONG: name too long, open
pnpm install package.json,run ts-node-dev, will case [Error: ENAMETOOLONG: name too long, open
Oct 24, 2023
Issue description
pnpm install package.json, run ts-node-dev
will case error like this
[ERROR] 17:01:05 [Error: ENAMETOOLONG: name too long, open '/var/folders/t5/17zsgxj549106dm_j201sc940000gn/T/.ts-nodeW4hELL/compiled/node_modules__pnpm_saas_fe_zeus_node_3_1_13_bos_fe_wechat_auth_3_2_1_bos_fe_wechat_common_2_1_6_request_2_88_2_saas_fe_node_jupiter_4_1_11_node_modules_saas_fe_zeus_node_dist_index_js_6388085d04795ed56f98e6c5df01c4b6ab8117170fb895107c54fe2416de3a08.js.done'] {
errno: -63,
code: 'ENAMETOOLONG',
syscall: 'open',
path: '/var/folders/t5/17zsgxj549106dm_j201sc940000gn/T/.ts-nodeW4hELL/compiled/node_modules__pnpm_saas_fe_zeus_node_3_1_13_bos_fe_wechat_auth_3_2_1_bos_fe_wechat_common_2_1_6_request_2_88_2_saas_fe_node_jupiter_4_1_11_node_modules_saas_fe_zeus_node_dist_index_js_6388085d04795ed56f98e6c5df01c4b6ab8117170fb895107c54fe2416de3a08.js.done'
}
I read ts-node-dev source code
after compiled,
compiledPath
fileName too long, case above errorcompiledPath
fileName asnode_modules__pnpm_saas_fe_zeus_node_3_1_13_bos_fe_wechat_auth_3_2_1_bos_fe_wechat_common_2_1_6_request_2_88_2_saas_fe_node_jupiter_4_1_11_node_modules_saas_fe_zeus_node_dist_index_js_6388085d04795ed56f98e6c5df01c4b6ab8117170fb895107c54fe2416de3a08
Context
OS version (is it docker or host?), ts-node-dev version
2.0.0
Do you have a repro example (git repo) with simple steps to reproduce your problem?
The text was updated successfully, but these errors were encountered: