I'm trying to install Truffle by using this command:
npm install -g truffle#5.0.2
and I get the following message:
npm WARN deprecated mkdirp#0.5.1: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
I downloaded Node.js v16.13.2 as well. Any clue what the error is all about?
Thanks!
The message you have posted is a WARN (warning) and not an ERR (error), so there should be no problem with installing truffle in the system. I don't have windows rn, so I don't know what is your exact issue but if it is just WARN than there should be no problem installing NPM package.
Related
With eas-cli version 0.52.0, the local build generates the apk as expected.
When using eas-cli version >= 0.53.0 I get the following error: Cannot find module '#expo/config-plugins'.
I use the following command as I always did: eas build --profile preview --platform android --local.
Any help? Thanks in advance.
I have the same issue using "expo": "^41.0.0"
I already install npx expo install expo-build-properties and it turns out the version of expo-build-properties is 0.4.1 so I think this version isn't compatible with either the expo version or other packages version so I tried to downgrade the version by editing package.json
so changing from
"expo-build-properties": "^0.4.1",
to
"expo-build-properties": "^0.3.0",
and run yarn install / npm install
Now the build run successful.
If you using "expo-build-properties" in your app.json/app.config.js/app.configInstall the package with npx expo install expo-build-properties to ensure you are using the correct version for your expo sdk.
I had similar problem I have resolved with this command
npx expo install expo-screen-orientation
issue was in versioning npx expo automatically downgraded my version of expo-screen-orientation
from version 5.0.1 to 4.0.3, after that the error was gone
I'm trying to update my expo cli to latest version but it gave an error like this
how to fix this ? I'm doing nothing
try running this:
npm cache clean --force
after that, try installing again
$ ember serve
node_modules appears empty, you may need to run `npm install`
tried changing the node,ember and cordova versions
$ npm install -g node-modules
npm WARN deprecated node-uuid#1.4.8: Use uuid module instead
npm WARN deprecated hawk#1.0.0: This module moved to #hapi/hawk. Please make sure to switch over as this distribution is no longer supported and may contain bugs and critical security issues.
npm WARN deprecated sntp#0.2.4: This module moved to #hapi/sntp. Please make sure to switch over as this distribution is no longer supported and may contain bugs and critical security issues.
npm WARN deprecated cryptiles#0.2.2: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
npm WARN deprecated hoek#0.9.1: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
npm WARN deprecated boom#0.4.2: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
npm WARN deprecated object-keys#0.2.0: Please update to the latest object-keys
C:\Users\vinod raj\AppData\Roaming\npm\node-modules -> C:\Users\vinod raj\AppData\Roaming\npm\node_modules\node-modules\app.js
C:\Users\vinod raj\AppData\Roaming\npm
`-- node-modules#1.0.1
The error message node_modules appears empty, you may need to run npm install thrown by Ember CLI indicates that you haven't installed project's dependencies. You should do so by running npm install (or yarn install if you use the alternative package manager).
You run npm install -g node-modules. This installs a package called node-modules globally. This is not what you want. You want to install the project dependencies locally as specified in package.json and maybe locked to a specific version in a package-lock.json (or yarn.lock if using yarn).
As #jelhan suggested you need to install dependencies via npm or yarn. In case you've done what #jelhan suggested and you're still getting the error, try removing node_modules, dist and temp folders and install dependencies.
cd /path/to/project
rm -rf node_modules dist tmp
npm install
After I started Expo, I got the message I was running an a older version of the client and asked me to run npm install -g expo-cli , so I foolishly did.
After the install was finished I ran expo start and got the following question:
This command requires Expo CLI.
Do you want to install it globally [Y/n]?
To what I replied with: Y and got the following respond:
Installing the package 'expo-cli'...
events.js:167
throw er; // Unhandled 'error' event
^
Error: spawn npm ENOENT
at Process.ChildProcess._handle.onexit (internal/child_process.js:229:19)
at onErrorNT (internal/child_process.js:406:16)
at process._tickCallback (internal/process/next_tick.js:63:19)
Emitted 'error' event at:
at Process.ChildProcess._handle.onexit (internal/child_process.js:235:12)
at onErrorNT (internal/child_process.js:406:16)
at process._tickCallback (internal/process/next_tick.js:63:19)
I've tried:
expo diagnostics
But am met with the same response.
Anyone knows how I can solve this problem?
I restarted my laptop and ran npm install -g expo-cli this somehow solved the problem.
A quick around would be to remove expo and expo.cmd in node_modules/.bin since it seems to be using the expo in node_modules/.bin and not the global one.
enter image description here
below versions of node, npm and ember-cli i am using...
ember-cli: 2.18.0
node: 8.9.4
os: win32 ia32
npm : 5.6.0
please guide me how to address this kind of issues
In error, warning its saying to update minimatch version to 3.0.2 for that you can run the below command,
npm install --save-dev minimatch#3.0.2
After that you can try running ember install ember-cli-tutorial-style.
If this still shows error, you can directly do,
npm install --save-dev ember-cli-tutorial-style
Actually this does not have to do with minimatch warning.
What npm is telling you, is that it cannot find that module (in your case ember-cli-tutorial-style).
Make sure that, this npm package actually exists!