Giter VIP home page Giter VIP logo

vs_code_venv's Introduction

vs_code_venv

Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy Unrestricted

Operational Error

This occur because once you create a class (table) you have to do "makemigrations" followed by "migrate" if you don't then they will not find the table and won't be able to perform creating table from django admin page.

Fatal error in launcher: Unable to create process using '"C:\Users\Administrator\Desktop\env\Scripts\python.exe" "C:\General_work\Django\djangoProj\env\Scripts\pip.exe" install djangorestframework': The system cannot find the file specified. so i installed pip as below:

python -m pip install --upgrade pip

after that i installed django rest framework

######################## Line 17:9: Expected an assignment or function call and instead saw an expression no-unused-expressions or eslint error then return (

React Query Page

{ heroData.map((element)=>{ console.log(element);

{element.name}

###### here you have to keep return to return some value from function otherwise they will throw an error.... }) }
) hence, the solution is return (

React Query Page

{ heroData.map((element)=>{ console.log(element); return

{element.name}

#this will return html component while mapping through each data hence it works }) }
)

parsing error: adjacent jsx elements must be wrapped in an enclosing tag. did you want a jsx fragment <>...</>?

while using map() function to loop ___ use

read this

return some value from map function: if there is nothing to return except to write the html then use map(()=>( ) otherwise use map(()=>{ }

error in npm build in netlify

put CI= npm run build

This one will resolve the problems.

npm ERR! Could not resolve dependency: npm ERR! peer react@"^16.8.0 || ^17.0.0" from @material-ui/[email protected] npm ERR! node_modules/@material-ui/core npm ERR! @material-ui/core@"*" from the root project

then use npm install -f @material-ui/core

ERROR in ./node_modules/@mui/system/esm/index.js 1:0-88 export 'keyframes' (reexported as 'keyframes') was not found in '@mui/styled-engine' (possible exports: GlobalStyles, StyledEngineProvider, default, internal_processStyles)

install -- npm install @mui/material @emotion/react @emotion/styled

######################################################################## Node.js #################################################################3 TypeError: products.find is not a function

products= require("./products")

check if the products is an array or not. If it is not then covert it into array or find if the products is inside the object as a key {"products":}, if it is then extract that key or do what products.products.find(()=>{})

vs_code_venv's People

Contributors

bhimray avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.