Skip to content

UnhandledPromiseRejectionWarning while generating a Ext JS CE application #155

@wemersonjanuario

Description

@wemersonjanuario

Hello. I have an error while creating a new app using Ext JS CE (myget)

npm login --registry=https://sencha.myget.org/F/community/npm/ --scope=@sencha
npm install -g @sencha/ext-gen
ext-gen app -a

i [ext]: ext-gen: C:\laragon\www\treinamento/my-app created
i [ext]: ext-gen: package.json created for my-app
i [ext]: ext-gen: webpack.config.js created for my-app
i [ext]: ext-gen: npm install -s started for my-app
i [ext]: ext-gen: npm install -s completed for my-app
(node:69972) UnhandledPromiseRejectionWarning: Error: Cannot find module 'C:\laragon\www\treinamento\my-app\node_modules@sencha\ext\package.json'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:571:15)
at Function.Module._load (internal/modules/cjs/loader.js:497:25)
at Module.require (internal/modules/cjs/loader.js:626:17)
at require (internal/modules/cjs/helpers.js:20:18)
at stepCreate (C:\Users\wemer\AppData\Roaming\npm\node_modules@sencha\ext-gen\ext-gen.js:606:22)
at process._tickCallback (internal/process/next_tick.js:68:7)
(node:69972) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:69972) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions