Boa Noite!
Ao executar o comando ng new meu-projeto está dando o arro :
Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.
- configuration.context: The provided value "C:\Users\lucia\Desktop\projetos\!Angular\CadastroUsuario" contans exclamation mark (!) which is not allowed because it's reserved for loader syntax.
-> The base directory (absolute path!) for resolving the
entry
option. Ifoutput.pathinfo
is set, the included pathinfo is shortened to this directory. - configuration.output.path: The provided value "C:\Users\lucia\Desktop\projetos\!Angular\CadastroUsuario\dist\CadastroUsuario" contans exclamation mark (!) which is not allowed because it's reserved for loader syntax. -> The output directory as absolute path (required). WebpackOptionsValidationError: Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.
- configuration.context: The provided value "C:\Users\lucia\Desktop\projetos\!Angular\CadastroUsuario" contans exclamation mark (!) which is not allowed because it's reserved for loader syntax.
-> The base directory (absolute path!) for resolving the
entry
option. Ifoutput.pathinfo
is set, the included pathinfo is shortened to this directory. - configuration.output.path: The provided value "C:\Users\lucia\Desktop\projetos\!Angular\CadastroUsuario\dist\CadastroUsuario" contans exclamation mark (!) which is not allowed because it's reserved for loader syntax. -> The output directory as absolute path (required). at webpack (C:\Users\lucia\Desktop\projetos!Angular\CadastroUsuario\node_modules\webpack\lib\webpack.js:24:9) at Observable.rxjs_1.Observable.obs [as subscribe] (C:\Users\lucia\Desktop\projetos!Angular\CadastroUsuario\nodemodules@angular-devkit\build-angular\src\dev-server\index.js:100:37) at Observable.trySubscribe (C:\Users\lucia\Desktop\projetos!Angular\CadastroUsuario\nodemodules\rxjs\internal\Observable.js:44:25) at Observable.subscribe (C:\Users\lucia\Desktop\projetos!Angular\CadastroUsuario\node_modules\rxjs\internal\Observable.js:30:22) at Object.subscribeToResult (C:\Users\lucia\Desktop\projetos!Angular\CadastroUsuario\node_modules\rxjs\internal\util\subscribeToResult.js:12:23) at MergeMapSubscriber.innerSub (C:\Users\lucia\Desktop\projetos!Angular\CadastroUsuario\nodemodules\rxjs\internal\operators\mergeMap.js:82:29) at MergeMapSubscriber.tryNext (C:\Users\lucia\Desktop\projetos!Angular\CadastroUsuario\nodemodules\rxjs\internal\operators\mergeMap.js:76:14) at MergeMapSubscriber.next (C:\Users\lucia\Desktop\projetos!Angular\CadastroUsuario\nodemodules\rxjs\internal\operators\mergeMap.js:59:18) at MergeMapSubscriber.Subscriber.next (C:\Users\lucia\Desktop\projetos!Angular\CadastroUsuario\node_modules\rxjs\internal\Subscriber.js:66:18) at TapSubscriber.next (C:\Users\lucia\Desktop\projetos!Angular\CadastroUsuario\nodemodules\rxjs\internal\operators\tap.js:65:26) at TapSubscriber.Subscriber.next (C:\Users\lucia\Desktop\projetos!Angular\CadastroUsuario\node_modules\rxjs\internal\Subscriber.js:66:18) at MergeMapSubscriber.notifyNext (C:\Users\lucia\Desktop\projetos!Angular\CadastroUsuario\node_modules\rxjs\internal\operators\mergeMap.js:92:26) at InnerSubscriber.next (C:\Users\lucia\Desktop\projetos!Angular\CadastroUsuario\nodemodules\rxjs\internal\InnerSubscriber.js:28:21) at InnerSubscriber.Subscriber.next (C:\Users\lucia\Desktop\projetos!Angular\CadastroUsuario\node_modules\rxjs\internal\Subscriber.js:66:18) at Object.complete (C:\Users\lucia\Desktop\projetos!Angular\CadastroUsuario\node_modules\rxjs\internal\observable\forkJoin.js:57:40) at Object.wrappedComplete (C:\Users\lucia\Desktop\projetos!Angular\CadastroUsuario\node_modules\rxjs\internal\Subscriber.js:188:76)
Meu ambiente está assim:
/ \ _ __ __ _ _ _| | __ _ _ __ / ___| | |_ _|
/ △ \ | '_ \ / | | | | |/ _
| '| | | | | | |
/ _ | | | | (| | || | | (| | | | || | | |
// \_| ||_, |_,||__,|| ___|__||
|___/
Angular CLI: 6.0.7 Node: 8.9.1 OS: win32 x64 Angular: ...
Package Version
@angular-devkit/architect 0.6.7 @angular-devkit/core 0.6.7 @angular-devkit/schematics 0.6.7 @schematics/angular 0.6.7 @schematics/update 0.6.7 rxjs 6.5.2 typescript 2.7.2
Já pesquisei na web e não consegui resolver, os caras falam para instalar o webpack, pelo npm, mas não está rolando!
Fico no aguardo. Att, Luciano