Skip to content
This repository was archived by the owner on Feb 19, 2023. It is now read-only.
This repository was archived by the owner on Feb 19, 2023. It is now read-only.

Dont't work command 'npm run express' #35

@kelvionald

Description

@kelvionald

Dont't work command 'npm run express':

'''
D:\projects\sandbox\webpack-app-imba-master>npm run express

webpack-app-imba@1.0.0 express D:\projects\sandbox\webpack-app-imba-master
imba src/server.imba

D:\projects\sandbox\webpack-app-imba-master\node_modules\imba\src\imba\core\imba.imba:74
}; globalThis.ImbaContext = ImbaContext;
^

ReferenceError: globalThis is not defined
at Object. (D:\projects\sandbox\webpack-app-imba-master\node_modules\imba\src\imba\core\imba.imba:74:4)
at Module._compile (internal/modules/cjs/loader.js:776:30)
at Object.require.extensions..imba (D:\projects\sandbox\webpack-app-imba-master\node_modules\imba\bin\imba:67:14)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Module.require (internal/modules/cjs/loader.js:690:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object. (D:\projects\sandbox\webpack-app-imba-master\node_modules\imba\src\imba\index.imba:2:1)
at Module._compile (internal/modules/cjs/loader.js:776:30)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! webpack-app-imba@1.0.0 express: imba src/server.imba
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the webpack-app-imba@1.0.0 express script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\1\AppData\Roaming\npm-cache_logs\2021-01-05T22_44_35_822Z-debug.log
'''

My conf:
Windows 10 64 bit
Node v10.16.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions