vue-toastification
vue-toastification copied to clipboard
Can't resolve '@nuxtjs/composition-api'
Versions
- 1.0
Describe the bug
setup errors:
Expected behavior
Steps to reproduce
Steps:
- Install normally
- Set up plugin for nuxt (with typescript)
- Followed the steps from https://github.com/Maronato/vue-toastification/issues/67
- Having the same setup and this error still here..
- the setup in package.json
"devDependencies": {
"@babel/core": "^7.12.17",
"@mdi/font": "^5.6.55",
"@nuxt/types": "^2.14.6",
"@nuxt/typescript": "^2.8.1",
"@nuxtjs/moment": "^1.5.0",
"@nuxt/typescript-build": "^2.0.3",
"@nuxtjs/eslint-config-typescript": "^3.0.0",
"@nuxtjs/vuetify": "^1.12.1",
"@typescript-eslint/eslint-plugin": "^4.4.0",
"@typescript-eslint/parser": "^4.0.0",
"babel-eslint": "^10.0.3",
"babel-plugin-dynamic-import-webpack": "^1.1.0",
"babel-plugin-minify-constant-folding": "^0.5.0",
"babel-plugin-syntax-dynamic-import": "^6.18.0",
"babel-plugin-transform-regexp-constructors": "^0.4.3",
"bootstrap": "^4.5.3",
"coffee-loader": "^0.9.0",
"coffeescript": "^2.3.2",
"cross-env": "^5.2.0",
"eslint": "^5.16.0",
"eslint-friendly-formatter": "^3.0.0",
"eslint-loader": "^1.9.0",
"eslint-plugin-vue": "^4.0.0",
"font-awesome": "^4.7.0",
"less": "^3.12.2",
"less-loader": "^7.0.2",
"node-sass": "^4.12.0",
"nodemon": "^1.11.0",
"popper.js": "^1.16.1",
"pug": "^2.0.3",
//"autoprefixer": "10.3.7",
"postcss-sort-media-queries": "4.1.0",
"postcss-svg-slim": "2.0.4",
"pug-plain-loader": "^1.0.0",
"sass-loader": "^10",
"ts-loader": "^6.0.4",
"typescript": "^4.0.3"
},
"resolutions": {
"@types/node": "12.12.37"
},
dependencies:{
"@babel/preset-env": "~7.12.0",
"ts-node": "^8.3.0",
"@nuxt/http": "^0.3.3",
"@nuxtjs/router": "^1.4.0",
"vue-toastification": "1.7.14",
}
the tsconfig
{
"compilerOptions": {
"target": "ES2020",
// These settings are required for TypeScript project references
"declaration": true,
"declarationMap": false,
"sourceMap": false,
"lib": [
"DOM.Iterable",
"DOM",
"ES2020",
"dom",
"esnext.asynciterable"
],
"module": "es2015",
"moduleResolution": "node",
"experimentalDecorators": true,
"noImplicitAny": false,
"noImplicitThis": false,
"strictNullChecks": true,
"removeComments": true,
"suppressImplicitAnyIndexErrors": true,
"allowSyntheticDefaultImports": true,
"allowJs": true,
"baseUrl": ".",
"paths": {
"*": [
//"./src/types/shims-tsx.d.ts",
//"./src/types/vue-shim.d.ts",
"./src/api/*"
]
},
"noUnusedLocals": false,
"types": [
"@types/node",
"@nuxt/types",
"@nuxtjs/moment",
"vue-toastification/nuxt"
]
},
"exclude": [
"nuxt.config.js",
"postcss.config.js",
"src/**/*.js",
"src/**/*.d.ts",
"src/**/*.vue"
]
}
Your Environment
- Device: macos
- OS: 11.3 beta
- Browser chrome
@Maronato
Same on this one
Still not getting updates..
how to solve