0xCC
0xCC
CDCloudflare Developers
Created by Paper on 11/26/2024 in #pages-help
--frozen-lockfile?
@Jacob Then I rebuild again and hit this issue
22:20:32.976 Error: Build failed with 1 error:
22:20:32.976 <stdin>:348:680: ERROR: Could not resolve "async_hooks"


22:20:32.978 namespace: '',
22:20:32.978 suggestion: ''
22:20:32.978 },
22:20:32.978 notes: [
22:20:32.978 {
22:20:32.978 location: null,
22:20:32.979 text: `The package "async_hooks" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.`
22:20:32.979 }
22:20:32.979 ],
22:20:32.979 pluginName: '',
22:20:32.979 text: 'Could not resolve "async_hooks"'
22:20:32.979 }
22:20:32.979 ],
22:20:32.979 warnings: []
22:20:32.976 Error: Build failed with 1 error:
22:20:32.976 <stdin>:348:680: ERROR: Could not resolve "async_hooks"


22:20:32.978 namespace: '',
22:20:32.978 suggestion: ''
22:20:32.978 },
22:20:32.978 notes: [
22:20:32.978 {
22:20:32.978 location: null,
22:20:32.979 text: `The package "async_hooks" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.`
22:20:32.979 }
22:20:32.979 ],
22:20:32.979 pluginName: '',
22:20:32.979 text: 'Could not resolve "async_hooks"'
22:20:32.979 }
22:20:32.979 ],
22:20:32.979 warnings: []
9 replies