Stack Overflow em Português Asked by João Roberto Velozo on November 19, 2021
Alguém sabe porque esta ocorrendo este erro?
** Angular Live Development Server is listening on localhost:4200, open your browser on http://localhost:4200/ **
91% additional asset processing scripts-webpack-plugin× 「wdm」: Error: ENOENT: no such file or directory, open 'C:cmsnode_modulesjquerydistjquery.js'
at Object.openSync (fs.js:434:3)
at Object.readFileSync (fs.js:339:35)
at Storage.provideSync (C:cmsRoyalnode_modulesenhanced-resolvelibCachedInputFileSystem.js:98:13)
at CachedInputFileSystem.readFileSync (C:cmsRoyalnode_modulesenhanced-resolvelibCachedInputFileSystem.js:259:32)
at Observable.rxjs_1.Observable.obs [as _subscribe] (C:[email protected]:35:51)
at Observable._trySubscribe (C:cmsRoyalnode_modulesrxjsinternalObservable.js:44:25)
at Observable.subscribe (C:cmsRoyalnode_modulesrxjsinternalObservable.js:30:22)
at SyncDelegateHost._doSyncCall (C:[email protected]:22:20)
at SyncDelegateHost.read (C:[email protected]:49:21)
at WebpackCompilerHost.readFileBuffer (C:cmsRoyalnode_modules@ngtoolswebpacksrccompiler_host.js:115:44)
at VirtualFileSystemDecorator.readFile (C:cmsRoyalnode_modules@ngtoolswebpacksrcvirtual_file_system_decorator.js:38:54)
at Promise (C:cmsRoyalnode_modules@angular-devkitbuild-angularsrcangular-cli-filespluginsscripts-webpack-plugin.js:92:49)
at new Promise (<anonymous>)
at scripts.map.fullPath (C:cmsRoyalnode_modules@angular-devkitbuild-angularsrcangular-cli-filespluginsscripts-webpack-plugin.js:91:24)
at Array.map (<anonymous>)
at hook (C:cmsRoyalnode_modules@angular-devkitbuild-angularsrcangular-cli-filespluginsscripts-webpack-plugin.js:90:43)
Realmente era a falta do Jquery :
npm install jquery --save
Answered by Manfrine Tapiramutá on November 19, 2021
Eu estava com esse mesmo problema apenas quando instalava o jquery no projeto. Sendo assim, para resolver o problema você deverá instalar o jquery caso tenha desinstalado.
npm install jquery --save
e depois vá no arquivo angular.json setar onde está a pasta de instalação do jquery.
Lá você deverá adicionar nos scripts a seguinte linha sem o ../
na frente da linha de código. Veja:
"scripts": [
"node_modules/jquery/dist/jquery.min.js"
]
E também instalei o Tether com o comando:
npm install tether
Dentro do diretório do projeto.
Answered by Diogo Santos on November 19, 2021
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP