Closed sumitkp11 closed 1 year 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) |
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...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site settings.
I just changed a small line on README.md and whole application is rejected?
@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
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 `
@sumitkp11 what do you get with node -v
and npm -v
?
node -v : v16.17.0 npm -v : 8.18.0
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
this is on my TODO just been Ill for a while so will get to it ASAP :pray:
@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!
As 'npx @roxi/routify init' is deprecated so, replacing the line with 'npm init routify'.