roxiness / routify-starter

https://example.routify.dev/
198 stars 55 forks source link

Update README.md #119

Closed sumitkp11 closed 1 year ago

sumitkp11 commented 2 years ago

As 'npx @roxi/routify init' is deprecated so, replacing the line with 'npm init routify'.

vercel[bot] commented 2 years ago

The latest updates on your projects. Learn more about Vercel for Git โ†—๏ธŽ

Name Status Preview Updated
routify-starter โŒ Failed (Inspect) Oct 12, 2022 at 8:37AM (UTC)
netlify[bot] commented 2 years ago

Deploy Preview for nervous-yonath-ea0a10 ready!

Name Link
Latest commit 9bbbf31ec9694189f478f51247283a738f32afe0
Latest deploy log https://app.netlify.com/sites/nervous-yonath-ea0a10/deploys/63467ca7cd0119000a062643
Deploy Preview https://deploy-preview-119--nervous-yonath-ea0a10.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

sumitkp11 commented 2 years ago

I just changed a small line on README.md and whole application is rejected?

jakobrosenberg commented 2 years ago

@sumitkp11 thanks for the PR! That's just Vercel comlaining about Node 12. It's not related to the readme.

@ghostdevv if I run npm init routify I get the following error:

file:///C:/Users/jakob/AppData/Local/npm-cache/_npx/8e782c378b663545/node_modules/create-routify/bin/routify-cli.js:2
const pkg = require('../package.json');

ReferenceError: require is not defined in ES module scope, you can use import instead
This file is being treated as an ES module because it has a '.js' file extension and 'C:\Users\jakob\AppData\Local\npm-cache\_npx\8e782c378b663545\node_modules\create-routify\package.json' contains "type": "module". To treat it as a CommonJS script, rename it to use the '.cjs' file extension.
    at file:///C:/Users/jakob/AppData/Local/npm-cache/_npx/8e782c378b663545/node_modules/create-routify/bin/routify-cli.js:2:13
sumitkp11 commented 2 years ago

When I run npm init routify, I get this: ` C:\Users\sumitprasad\Documents\Practise\RoutifyTest>npm init routify v1.0.0 Routify CLI

โˆš Routify Version: ยป Routify 2

i Cloning template...

All Done!

Now you can: 1) npm install 2) npm run dev

โˆš If you need help, join the Discord: https://discord.com/invite/ntKJD5B `

jakobrosenberg commented 2 years ago

@sumitkp11 what do you get with node -v and npm -v?

sumitkp11 commented 2 years ago

node -v : v16.17.0 npm -v : 8.18.0

jakobrosenberg commented 2 years ago

Strange. I'm on the same majors. I added this to my todo list. Now I just need to remember to look at it after work. :P

ghostdevv commented 2 years ago

this is on my TODO just been Ill for a while so will get to it ASAP :pray:

ghostdevv commented 1 year ago

@jakobrosenberg upon looking into it, I imagine you might have an old version installed or something npm link'd to create-routify as I can't find anything that could break this - going to merge this pr!