Javier88889999
Javier88889999
Explore posts from servers
CDCloudflare Developers
Created by Javier88889999 on 10/7/2023 in #general-help
Cloudflare pages not compatible with Node.js packages
I am having an error when deploying a SvelteKit app that uses some Node.js packages in the server. I get this error in the logs: The package "path" 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. So, where do I have to use "platform: 'node"" in my project??
5 replies