Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OptimizedLoadingServer throws error due to babel-core #340

Open
levjj opened this issue Jun 13, 2016 · 0 comments
Open

OptimizedLoadingServer throws error due to babel-core #340

levjj opened this issue Jun 13, 2016 · 0 comments

Comments

@levjj
Copy link
Contributor

levjj commented Jun 13, 2016

This error does not seem critical but it shows up when initializing the optimized cache. It seems that it relies on a file babel-core/browser.js which is missing from the latest version of babel-core.

Reproduce: Install Lively in a clean localhost environment and run npm run start.

[ERROR] console - optimized-loading-cache initialization errored Error: ENOENT: no such file or directory, stat 'node_modules/lively.modules/node_modules/babel-core/browser.js'
    at Error (native)
    at Object.fs.statSync (fs.js:892:18)
    at /home/cs/Projects/lively/LivelyKernel/core/servers/OptimizedLoadingServer.js:78:27
    at prepareFileForConcat (/home/cs/Projects/lively/LivelyKernel/core/servers/OptimizedLoadingServer.js:68:10)
    at /home/cs/Projects/lively/LivelyKernel/core/servers/OptimizedLoadingServer.js:111:37
    at Array.map (native)
    at concatAndWrite (/home/cs/Projects/lively/LivelyKernel/core/servers/OptimizedLoadingServer.js:111:28)
    at /home/cs/Projects/lively/LivelyKernel/core/servers/OptimizedLoadingServer.js:53:11
    at resolveNext (/home/cs/Projects/lively/lively.lang/lib/promise.js:134:25)
    at /home/cs/Projects/lively/lively.lang/lib/promise.js:135:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant