Scotty O
TTCTheo's Typesafe Cult
•Created by Scotty O on 7/31/2023 in #questions
NextJS CLI script
How do I go about running a script as a "CLI" script in my NextJS project? I've tried https://dev.to/philippe/create-a-cli-script-in-your-nextjs-project-2pg2 but it looks like I can't "import" using that (module does not export...)
4 replies
TTCTheo's Typesafe Cult
•Created by Scotty O on 7/3/2023 in #questions
problem importing first npm package
I’m trying to import my first npm package and getting a “cannot find module” error, funnily, with it still working.
I put up a description and links up here, but I’m wondering if this forum is a better place to be seeking help?
https://www.reddit.com/r/nextjs/comments/14p9c00/importing_my_first_npm_module_fails_with_error/
7 replies