Comments (3)
npm i [email protected]
???
you are supposed to install it using cordova plugin add cordova-plugin-localization-strings
!!!
from cordova-plugin-localization-strings.
Thanks for your answer.
It's Ionic project.
I use these commands to install package cordova plugin add cordova-plugin-localization-strings@5
or ionic cordova plugin add cordova-plugin-localization-strings@5
but it still doesn't work, and I have the same error.
Logs :
Failed to fetch plugin cordova-plugin-localization-strings@5 via registry.
Probably this is either a connection problem, or plugin spec is incorrect.
Check your connection and plugin name/version/URL.
Error: npm: Command failed with exit code 1 Error output:
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: strip-ansi-cjs@npm:strip-ansi@^6.0.1 (node_modules/@isaacs/cliui/node_modules/strip-ansi-cjs):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Unsupported URL Type "npm:": npm:strip-ansi@^6.0.1
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: wrap-ansi-cjs@npm:wrap-ansi@^7.0.0 (node_modules/@isaacs/cliui/node_modules/wrap-ansi-cjs):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Unsupported URL Type "npm:": npm:wrap-ansi@^7.0.0
npm ERR! code EUNSUPPORTEDPROTOCOL
npm ERR! Unsupported URL Type "npm:": npm:string-width@^4.2.0
I modify the temporary solution :
npm i cordova-plugin-localization-strings@^4.0
or
cordova plugin add cordova-plugin-localization-strings@^4.0
or
ionic cordova plugin add cordova-plugin-localization-strings@^4.0
from cordova-plugin-localization-strings.
🤔 did you npm rm cordova-plugin-localization-strings
it first?
also, copy your project for a new folder, remove all other plugins or remove everything related to this plugin and then run
ionic cordova plugin add cordova-plugin-localization-strings
(no ^4.0.0 or anything else)
from cordova-plugin-localization-strings.
Related Issues (20)
- What is the default language if there are 2 languages specified HOT 1
- Plugin not working on Release Build iOS HOT 9
- Execution failed for task ':app:mergeDebugResources'. HOT 3
- Doesn't work in Phonegap Build (https://build.phonegap.com) HOT 3
- Not getting localized strings on iOS 13 HOT 2
- Remove lodash dependency? HOT 2
- Custom TRANSLATION_PATH not working or ignored HOT 3
- creating localisation with "-" fails on android HOT 2
- How to set fallback language HOT 3
- npm audit failes with 5 vulnerabilities (4 low, 1 moderate) HOT 4
- Force Android resConfigs HOT 1
- If missing config_android, then empty strings.xml will be created
- Prepare fails on iOS with "Error: Cannot read properties of undefined (reading 'project')" HOT 3
- Cordova plugin version is still on 3.2.1 HOT 3
- (iOS) Does not support encoded characters in project name (&) HOT 2
- projectFile import will break in cordova-ios@7 HOT 1
- Version 5.0.0 - 5.0.2 regex broken on Windows HOT 6
- Automatic tests HOT 1
- Possible VoltBuilder woes
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 cordova-plugin-localization-strings.