Stats: 3,036,966 members, 7,448,461 topics. Date: Friday, 02 June 2023 at 04:02 PM |
Nairaland Forum / Science/Technology / Programming / Using Nodajs To Create React App (962 Views)
Ideal Time To Create And Install New React App And Its Packages? / Help I Have This Problem In My Create-react-app (ON- Save) / Creating A React App With Webpack & Babel From Scratch (2) (3) (4)
Using Nodajs To Create React App by Bambillo: 2:49pm On Apr 20, 2020 |
I am new to reactJS and I have been getting error while installing npm to create an app through command prompt interface. When I type in: npx create-react-app weather-app Instead of generating all packages to use, the following errors flag: [1/4] Resolving packages... error An unexpected error occurred: "https://registry.npmjs.org/react: error:0909006C:PEM routines:get_name:no start line". Kindly help me debug this (by explaining how to avoid any error) as I remain stagnant despite imbued with ideas that can transform the techie world. Thanks as I await your significant respective responses. |
Re: Using Nodajs To Create React App by afuye(m): 3:38pm On Apr 20, 2020 |
Bambillo: Snap error and upload |
Re: Using Nodajs To Create React App by Bambillo: 10:27am On Apr 21, 2020 |
C:\Users\bamidele\Desktop\portfolio>npx create-react-app myportfolio Creating a new React app in C:\Users\bamidele\Desktop\portfolio\myportfolio. Installing packages. This might take a couple of minutes. Installing react, react-dom, and react-scripts with cra-template... yarn add v1.22.4 [1/4] Resolving packages... error An unexpected error occurred: "https://registry.npmjs.org/react: error:0909006C:PEM routines:get_name:no start line". info If you think this is a bug, please open a bug report with the information provided in "C:\\Users\\bamidele\\Desktop\\portfolio\\myportfolio\\yarn-error.log". info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command. Aborting installation. yarnpkg add --exact react react-dom react-scripts cra-template --cwd C:\Users\bamidele\Desktop\portfolio\myportfolio has failed. Deleting generated file... package.json Deleting generated file... yarn.lock Done.[b][/b] |
Re: Using Nodajs To Create React App by Nobody: 12:29pm On Apr 21, 2020 |
Try this https://stackoverflow.com/questions/55236936/how-can-i-solve-npm-err-error0909006cpem-in-node-js npm set registry http://registry.npmjs.org/ Then run create react app again |
Re: Using Nodajs To Create React App by Bambillo: 2:30pm On Apr 21, 2020 |
Tried this but no success. |
Re: Using Nodajs To Create React App by afuye(m): 3:13pm On Apr 21, 2020 |
RUN THIS COMMAND ON WINDOW del -rf node_modules package-lock.json && npm cache clean && npm install |
Re: Using Nodajs To Create React App by Bambillo: 5:39pm On Apr 21, 2020 |
The line was entered and the same error flag as above repeated. |
Re: Using Nodajs To Create React App by Taofeekdboy(m): 11:09pm On Apr 21, 2020 |
Have you tried changing the name of the app, like removing the hyphen and use underscore. From weather-app to weather_app |
Re: Using Nodajs To Create React App by Bambillo: 6:35am On Apr 22, 2020 |
Ok. I will try the trick and get back. Thank you, bro. |
(1) (Reply)
How To Design An Ios App: The Ultimate Guide And Tips For Successful Mobile App / How Much Does It Cost To Design An Ecommerce App In Nigeria / I Just Finished A Building Animation,i Need Someone To Help With D After Effects
(Go Up)
Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health religion celebs tv-movies music-radio literature webmasters programming techmarket Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) Nairaland - Copyright © 2005 - 2023 Oluwaseun Osewa. All rights reserved. See How To Advertise. 30 |