Comments (5)
Facing Similar issue on my macOs Ventura. it was working perfectly previously
from renative.
@paulNIP could you provide a proper error message? Is it exactly the same? Also your rnv, os, node versions?
from renative.
@TSienki thanks for reporting this issue. I'm getting the same error on Ubuntu 20.04.5, Node v.18.20.2, RNV 1.0.0-rc.18
NOTE: if I used Node v.18.19.0 -> no error, project created successfully ->
~/Desktop/qa$ rnv new
┌─────────────────────────────────────────────────────────────────┐
│ ██████╗ ███████╗███╗ ██╗ █████╗ ████████╗██╗██╗ ██╗███████╗ │
│ ██╔══██╗██╔════╝████╗ ██║██╔══██╗╚══██╔══╝██║██║ ██║██╔════╝ │
│ ██████╔╝█████╗ ██╔██╗ ██║███████║ ██║ ██║██║ ██║█████╗ │
│ ██╔══██╗██╔══╝ ██║╚██╗██║██╔══██║ ██║ ██║╚██╗ ██╔╝██╔══╝ │
│ ██║ ██║███████╗██║ ╚████║██║ ██║ ██║ ██║ ╚████╔╝ ███████╗ │
│ ╚═╝ ╚═╝╚══════╝╚═╝ ╚═══╝╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═══╝ ╚══════╝ │
│ 🚀 v:1.0.0-rc.18 | [renative.org](http://renative.org/) | 5/10/2024, 1:20:40 PM │
│ $ rnv new │
└─────────────────────────────────────────────────────────────────┘
info: Current engine: @rnv/engine-core (../../.nvm/versions/node/v18.19.0/lib/node_modules/rnv/node_modules/@rnv/engine-core/lib)
task: ○ new ↺1
? What's your project Name? (folder will be created) hello-renative
? What workspace to use? rnv
? What template to use? @rnv/template-starter - Multiplatform 'hello world' template
✔ Executing: npm view @rnv/template-starter versions
✔ Executing: npm dist-tag ls @rnv/template-starter
? What @rnv/template-starter version to use? 1.0.0-rc.18 (@next)
✔ Executing: yarn add @rnv/[email protected] --dev
✔ Executing: yarn add @rnv/[email protected] --dev
? How to create config renative.json? Extend template (cleaner, overridable)
? What's your project Title? My Renative App
? What's your App ID? com.mycompany.hellorenative
? What's your project version? 0.1.0
? What platforms would you like to use? web, ios, android
? Do you want to set-up git in your new project? Yes
info: Your project does not have a git repo. Creating one...DONE
✔ Executing: git init
info: Missing directory ./hello-renative/buildHooks.js. COPYING from TEMPATE...DONE
info: Missing directory ./hello-renative/src/app.js. COPYING from TEMPATE...DONE
info: Missing directory ./hello-renative/src/entry.js. COPYING from TEMPATE...DONE
info: Missing file ./hello-renative/src/config.tsx.js. COPYING from TEMPATE...DONE
info: Missing file ./hello-renative/index.js.js. COPYING from TEMPATE...DONE
info: Missing file ./hello-renative/tsconfig.json.js. COPYING from TEMPATE...DONE
info: Missing file ./hello-renative/babel.config.js.js. COPYING from TEMPATE...DONE
info: Missing directory ./hello-renative/typings.js. COPYING from TEMPATE...DONE
info: Missing file ./hello-renative/.gitignore.js. COPYING from TEMPATE...DONE
info: Missing directory ./hello-renative/appConfigs/app.js. COPYING from TEMPATE...DONE
info: Missing directory ./hello-renative/appConfigs/base/assets.js. COPYING from TEMPATE...DONE
info: Missing directory ./hello-renative/appConfigs/base/fonts.js. COPYING from TEMPATE...DONE
info: Missing file ./hello-renative/Gemfile.js. COPYING from TEMPATE...DONE
info: Missing file ./hello-renative/metro.config.js.js. COPYING from TEMPATE...DONE
info: Missing file ./hello-renative/react-native.config.js.js. COPYING from TEMPATE...DONE
info: Missing file ./hello-renative/next.config.js.js. COPYING from TEMPATE...DONE
info: Missing file ./hello-renative/next-env.d.ts.js. COPYING from TEMPATE...DONE
info: Missing directory ./hello-renative/src/pages.js. COPYING from TEMPATE...DONE
info: .rnv folder missing. CREATING...DONE
info: .rnv/schemas folder missing. CREATING...DONE
info: Updating appConfig app with title: My Renative App and id: com.mycompany.hellorenative
? Project is ready. Do you want to install all dependencies now? Yes
✔ Executing: yarn
task: ✔ new
┌─────────────────────────────────────────────────────────────────┐
│ ✔ SUMMARY | 5/10/2024, 1:22:32 PM | [email protected] │
│ $ rnv new │
├─────────────────────────────────────────────────────────────────┤
│ Project: [email protected] │
│ Workspace: rnv │
│ Engine: @rnv/engine-core │
│ Template: @rnv/template-starter │
│ Build Scheme (-s): debug │
│ Env Info: linux | x64 | node v18.19.0 │
│ Executed Time: 0h:1m:51s:343ms │
│
Generated Project Summary:
-------------------------
Project Name (--projectName): hello-renative
Package name: hello-renative
Project Version (--appVersion): 0.1.0
Workspace (--workspace): rnv
App Title (--title): My Renative App
App ID (--id): com.mycompany.hellorenative
Project Template (--template): @rnv/[email protected]
Git Enabled (--gitEnabled): true
Enabled Platforms: web, ios, android
-------------------------
✔ Your project is ready! Run it with:
cd hello-renative
npx rnv run
│ You are trying to run global rnv command in your current project.
│ This might lead to unexpected behaviour.
│ Run your rnv command with npx prefix:
│ npx rnv new
└─────────────────────────────────────────────────────────────────┘
from renative.
@TSienki try to install yarn (npm i yarn -g
), it should fix this issue
from renative.
Closing as answer has been provided, feel free to reopen if needed
from renative.
Related Issues (20)
- [windows] rnv link doesn't work
- [kaios] white blank screen when running on new project HOT 1
- [linux] rnv link breaks new project HOT 1
- [webos] webos cli 3.0 uses diffirent install location which is not recognized by rnv, rnv looks for cli in different location
- [kaios] Project doesn't open HOT 2
- Create new app config on app-harness in order to test if --ci option uses default config from renative.local.json
- [android, androidtv] `npx rnv run -p android -t non-existing IP:port` works differently on different OS HOT 3
- User needs to choose config twice when using -c option
- [ios] [REGRESSION] app-harness fails to run when debug-static-pods scheme is used HOT 2
- [tvos] not possible to see current focused button HOT 1
- [REGRESSION] commandExistsSync incorrectly returns false in some cases
- [REGRESSION] Single-platform integrations ask to pick a platform
- [REGRESSION] Integrations gives error for ios,tvos HOT 1
- [web] Running npx rnv start -p web dumps ts errors HOT 2
- [REGRESSION] templateAndroid child_value is not handled
- [WebOS] @reactNavigation createStackNavigator() causes crash on physical LG webos device but works on Simulator HOT 8
- [tizen] black blank screen on app running from Windows
- [Windows] Fails to bootstrap HOT 2
- WebOS issues under MacOS HOT 9
- Being able to pass a local template to `rnv new` non-interactively
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from renative.