-
AuthorPosts
-
July 23, 2018 at 1:56 pm #13935
Marco JongmansParticipantHi,
I installed all the needed packages but I’m getting this below, what should I do?
Typescript Error
Cannot find name ‘DragulaService’.
</div>C:/Users/marco/*******/src/components/question/question.ts
constructor(private config:ConfigService,
private dragulaService: DragulaService) {
</div>
</div>
Typescript Error
Cannot find name ‘GooglePlus’.
</div>C:/Users/marco/*****/src/services/authentication.ts
private iab:InAppBrowser,
private googlePlus: GooglePlus,
private device: Device
</div>
</div>
Typescript Error
Property ‘applicationStorageDirectory’ does not exist on type ‘File’.
</div>C:/Users/marco/*****/src/services/imageCache.ts
private normalizeURlWKWview(url: string) {
const urlIos =
${normalizeURL(this.file.applicationStorageDirectory)}Library/files/${normalizeURL(url)}
;return urlIos.replace(‘/localhost/persistent’, ”);
</div>
</div>
Ionic Framework: 3.9.2
Ionic App Scripts: 3.1.11
Angular Core: 5.2.11
Angular Compiler CLI: 5.2.11
Node: 8.11.3
OS Platform: Windows 10
Navigator Platform: Win32
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/17.17134
July 23, 2018 at 1:59 pm #13938
Marco JongmansParticipantSorry for the double post, you can close that one.
Many thanks!
July 24, 2018 at 11:20 am #13961
AlexKeymasterTake backup of all ionic setup then
rename the node_modules folder in your ionic project (where src folder is) to node_modules_BACKUP and also rename the package.json file to package_BACKUP.json .
then download the package.json file from here : https://bit.ly/2I2F732
Then place it in your ionic project .
Then in terminal of cmd run :
npm install
Then run this command in your ionic project :
ionic cordova platform rm android
ionic cordova platform add [email protected]
January 28, 2019 at 9:45 am #19361
Akshay VajaParticipantD:\myapp>
D:\myapp> npm install -save [email protected]
npm WARN @angular/[email protected] requires a peer of [email protected]>=2.4.2 <2.7 but none is installed. You must install peer dependencies yourself.
npm WARN @ionic-native/[email protected] requires a peer of @ionic-native/[email protected] but none is installed. You must install peer dependencies yourself.
npm WARN @ionic/[email protected] requires a peer of [email protected]^5.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of @angular/[email protected]>=6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of [email protected]>=6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected].5 requires a peer of [email protected]>=2.4.2 <2.8 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of @angular/[email protected]^6.0.3 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of [email protected]^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {“os”:”darwin”,”arch”:”any”} (current: {“os”:”win32″,”arch”:”ia32″})
added 1 package from 1 contributor, updated 1 package and audited 6170 packages in 34.536s
found 0 vulnerabilities
Please help me its not solving help me we need your help can anyone Come on Team Viewer?
February 4, 2019 at 8:07 am #19642
AlexKeymasterwell did you try the solution I mentioned up here :
https://wplms.io/forums/topic/installed-all-packages-but-get-an-error/#post-13961
I can see you ran this command individually : npm install -save [email protected]
-
AuthorPosts
- You must be logged in to reply to this topic.