I just want to make a new project for NUXT JS, in documentation nuxt can install using NPX or NPM. I try to install with that but have error in my cli like this (same thing npx and npm)
npx create-nuxt-app example-app
npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.
'create-nuxt-app' is not recognized as an internal or external command,
operable program or batch file.
my version npm is 9.4.2
and my OS is Windows 10
Can anyone help me to fix this problem?
I try to update my npm but same thing happened, I try to install vue cli it's work but after i run 'create-nuxt-app' command the same problem happened again
It is showing this error, i'm using npx still it is showing using yarn, npx is working fine when i'm using it for react app
It should provide me the next app starter
A temporary fix might be "npx create-next-app#latest --use-npm", so that creat-next-app will use npm instead of yarn while installing.
I am trying to run react native expo, it runsbefore but after try to build an apk, it doest work anymore.
here the error below.
I tried npm start and expo start it doesn't work.
I'd suggest to install the expo-cli globally. In the future you use the cool features that are provided by this cli. Like expo init.
npm install expo-cli -g
In the browser, I get the error
Failed to compile Module not found: Can't resolve
'#material-ui/core/Container'
It's looking for the component inside of my components directory instead of node_modules. I can't change directories into node_modules ../../ because node_modules is outside of src directory and Create React App won't let me.
I've use yarn to remove and $ yarn add #material-ui/core. I've tried yarn run build which gives me the error
Cannot find module: '#material-ui/core/Container'. Make sure this
package is installed. You can install this package by running: yarn
add #material-ui/core/Container.
When I try to add it, I get the error
error Couldn't find package "#material-ui/core/Container" on the "npm"
registry.
Here's the dependencies I have that are related:
"#material-ui/core": "^3.9.3",
"#material-ui/icons": "^3.0.2",
"react": "^16.8.6",
"react-dom": "^16.8.6",
I expect to see the contents of the page not take up the full width of the screen, but instead, I receive a fail to compile error.
Container is not part of the material-ui version specified in your package.json.
To upgrade, run the following:
$ yarn add #material-ui/core#next
You might have to remove the old stable version (if that's even an option for you).
React and react-dom >= 16.8.0 are all that are needed as peer dependencies, so the experimental upgrade of material-ui should be all you need to use Container.
I had a similar issue and I resolved it by calling:
for npm:
npm install #material-ui/core
for yarn:
$ yarn add #material-ui/core#next
If you follow a npx create-react-app new-app with cd new-app and yarn add #material-ui/core it wile compile with yarn start. You might try just starting over.
However, to help your troubleshooting, this error typically happens when you try to use a Material-UI component and forget to import it. Have you tried commenting out all the code and seeing if it compiles?
This error might also indicate that there are no node_modules for what is being imported. So, npm install might solve the problem.
Just install these below packages
#emotion/react
#emotion/styled
#material-ui/core
#material-ui/icons
Just Install: npm install #material-ui/core
This problem is caused by the same material UI package you have installed, latest MUI package is written as #mui/package-name and I installed material-ui-dropzone package and this package does not adapt to new material UI name conversion means it uses the old naming conversion of MUI, for example, #material-ui/package-name
The solution for this problem will be to install core material UI and other MUI packages using the old naming conversion for example #material-ui/core or #material-ui/icons instead of #mui/core or #mui/icons
For those trying to upgrade to Material Ui v5 (MUI v5)
See this section of the migration doc to v5.
Some imports have changed name (not just the prefix)
#material-ui/core -> #mui/material
#material-ui/unstyled -> #mui/base
#material-ui/icons -> #mui/icons-material
[...]
you haven't installed Material-UI for the correct path.
step 1:
If windows-PC selects the correct path using terminal -> cd .\foldername
step2:
install Material-UI
// with npm
npm install #material-ui/core
// with yarn
yarn add #material-ui/core
I'm on Ubuntu 14.04 trying to install this package: https://www.npmjs.com/package/stanford-corenlp
However, whenever I try to do so, it tries to install node-java 0.5.5 as a dependency which fails (gives me node-gyp errors).
I looked this issue up, and it's fixed by using a newer version of node-java. 0.6.1 seems to work fine, but I don't know how to update the dependency to install the stanford-corenlp package.
add
"node-java": "^0.6.1"
in 'dependencies' of your package.json file. Then run npm install. This will install the right version of node-java.
Then try to install standford-corenlp. If they didn't hardcode the node-java version in their package.json, you should be alright