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

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

Open
kelvionald opened this issue Jan 5, 2021 · 0 comments
Open

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

kelvionald opened this issue Jan 5, 2021 · 0 comments

Comments

@kelvionald
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant