DenoDDeno
Powered by
DuncanD
Denoβ€’15mo agoβ€’
4 replies
Duncan

Migrating from Node to Deno

I have been tasked with researching the feasibility of migrating our react/nextjs app from node/npm to deno.
I have done the following so far:
1) Cloned the repo
2) deno install
3) deno task dev
4) things seem to work fine
5) Start opening files and see that deno complains a lot about a lack of file extensions plus needing curly braces which is due to ECMA script modules. Will I need to create a script to go through entire project fixing the imports?
6) Also see that the @ we use for our src path alias doesn't work.

Not sure what the recommended steps are to migrate from a project like this (medium sized). I've googled migrating but only found 1 article and that wasn't particularly helpful
Deno banner
DenoJoin
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,934Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

Migrating large Node project to Deno
JoshJJosh / help
3y ago
Migrating from Deno.run to Deno.command, how to readLines?
Ed, Edd n EddyEEd, Edd n Eddy / help
2y ago
migrate from node to deno: p5js project
KitamadoKKitamado / help
3y ago
Seeking help migrating from Deno.run to Deno.Command with spawn
Brandon KalinowskiBBrandon Kalinowski / help
2y ago