-
-
Notifications
You must be signed in to change notification settings - Fork 245
Open
Description
[@nativescript/webpack] Error:
Unable to apply chain function from: nativescript-vue.
Error is: Error: Cannot call .tap() on a plugin that has not yet been defined. Call plugin('ForkTsCheckerWebpackPlugin').use(<Plugin>) first.
Error: Invalid plugin configuration: plugin('ForkTsCheckerWebpackPlugin').use(<Plugin>) was not called to specify the plugin
at module.exports.toConfig (/Users/stephenjasonwang/Development/myAwesomeApp/node_modules/webpack-chain/src/Plugin.js:60:15)
at /Users/stephenjasonwang/Development/myAwesomeApp/node_modules/webpack-chain/src/Config.js:129:63
at Array.map (<anonymous>)
at module.exports.toConfig (/Users/stephenjasonwang/Development/myAwesomeApp/node_modules/webpack-chain/src/Config.js:129:40)
at Object.resolveConfig (/Users/stephenjasonwang/Development/myAwesomeApp/node_modules/@nativescript/webpack/dist/index.js:161:34)
at module.exports (/Users/stephenjasonwang/Development/myAwesomeApp/webpack.config.js:9:17)
at Command.<anonymous> (/Users/stephenjasonwang/Development/myAwesomeApp/node_modules/@nativescript/webpack/dist/bin/index.js:67:44)
at Command.listener [as _actionHandler] (/Users/stephenjasonwang/Development/myAwesomeApp/node_modules/commander/lib/command.js:488:17)
at /Users/stephenjasonwang/Development/myAwesomeApp/node_modules/commander/lib/command.js:1227:65
at Command._chainOrCall (/Users/stephenjasonwang/Development/myAwesomeApp/node_modules/commander/lib/command.js:1144:12)
at Command._parseCommand (/Users/stephenjasonwang/Development/myAwesomeApp/node_modules/commander/lib/command.js:1227:27)
at Command._dispatchSubcommand (/Users/stephenjasonwang/Development/myAwesomeApp/node_modules/commander/lib/command.js:1050:25)
at Command._parseCommand (/Users/stephenjasonwang/Development/myAwesomeApp/node_modules/commander/lib/command.js:1193:19)
at Command.parse (/Users/stephenjasonwang/Development/myAwesomeApp/node_modules/commander/lib/command.js:897:10)
at Object.<anonymous> (/Users/stephenjasonwang/Development/myAwesomeApp/node_modules/@nativescript/webpack/dist/bin/index.js:124:21)
at Module._compile (node:internal/modules/cjs/loader:1734:14)
No configuration!
Steps to reproduce:
ns create myAwesomeApp --template @nativescript-vue/template-blank@latest
cd myAwesomeApp
ns preview
using the stackblitz ns preview works for me
https://stackblitz.com/edit/nativescript-vue-nativescript-vue-4tmvxkfs?file=src%2Fcomponents%2FHome.vue&title=NativeScript%20Starter%20Vue3
Metadata
Metadata
Assignees
Labels
No labels