-
-
Notifications
You must be signed in to change notification settings - Fork 40
extract-text-webpack-plugin and awesome-typescript-loader missing dependencies #682
Comments
@bearoutthere the latest version of nativescript-dev-webpack are handling these dependencies, and they should not be explicitly installed as dev dependencies. To resolve this run the update script which will remove the obsolete dependencies (and update the versions of the needed ones)
Note that passing the Detailed upgrade instructions can be found here. |
i don't get this npm WARN [email protected] requires a peer of typescript@^2.7 || ^3 but none is installed. You must install peer dependencies yourself. i already have latest version, and there are not 2.7 |
|
I've followed your suggestions here and in the upgrade instructions. I've also removed node_modules, hooks, and platforms. Upgraded NS and TS and then reinstalled everything. And ran the update script with --deps --configs options.
Here's my package.json:
|
I found the reason for the warning, extract-text-webpack-plugin has been deprecated in favor of a different plugin (atleast when using webpack 4) |
Issue Checklist
Tell us about the problem
Clean install throws 2 warnings:
I've seen the same warnings in the forum posts but there's no resolution.
Local environment
Project data
{
"name": "xxxxxxxx",
"license": "SEE LICENSE IN ",
"readme": "NativeScript Application",
"repository": "xxxxxxxxx",
"version": "0.1.0",
"nativescript": {
"id": "xxxxxxxxxx",
"tns-android": {
"version": "4.2.0"
}
},
"scripts": {
"lint": "tslint "app/**/*.ts""
},
"dependencies": {
"ajv": "^6.5.4",
"nativescript-cardview": "^3.1.0",
"nativescript-checkbox": "^3.0.3",
"nativescript-doorbell.io": "0.0.3",
"nativescript-feedback": "^1.1.2",
"nativescript-plugin-firebase": "^7.1.0",
"nativescript-purchase": "^2.0.5",
"nativescript-theme-core": "^1.0.4",
"nativescript-toolbox": "^3.0.1",
"nativescript-ui-dataform": "^3.5.2",
"nativescript-ui-listview": "^3.5.4",
"nativescript-ui-sidedrawer": "^3.5.2",
"tns-core-modules": "^4.2.0"
},
"devDependencies": {
"awesome-typescript-loader": "^5.2.1",
"babel-traverse": "6.26.0",
"babel-types": "6.26.0",
"babylon": "6.18.0",
"extract-text-webpack-plugin": "^3.0.2",
"lazy": "1.0.11",
"nativescript-dev-sass": "^1.6.0",
"nativescript-dev-typescript": "^0.7.4",
"nativescript-dev-webpack": "^0.15.1",
"tslint": "5.8.0",
"typescript": "^3.1.1"
}
}
The text was updated successfully, but these errors were encountered: