Skip to content
This repository has been archived by the owner on Mar 12, 2024. It is now read-only.

Building from source Error - Missing Bundle #287

Open
jnoon-andretti opened this issue Nov 14, 2023 · 0 comments
Open

Building from source Error - Missing Bundle #287

jnoon-andretti opened this issue Nov 14, 2023 · 0 comments

Comments

@jnoon-andretti
Copy link

I'm following the instructions from the documentation on building from source. The JavaScript bundle isn't being produced.

Below is an exception I get while trying to run npm run webpack-dev-watch

ENOENT: no such file or directory, open '\package.json'
at makeWebpackError (C:\github\hiplot\node_modules\webpack\lib\HookWebpackError.js:48:9)
at C:\github\hiplot\node_modules\webpack\lib\Compilation.js:3060:12
at eval (eval at create (C:\github\hiplot\node_modules\webpack\node_modules\tapable\lib\HookCodeFactory.js:33:10, :17:1)
at fn (C:\github\hiplot\node_modules\webpack\lib\Compilation.js:480:17)
at _next1 (eval at create (C:\github\hiplot\node_modules\webpack\node_modules\tapable\lib\HookCodeFactory.js:33:10), :14:1)
at eval (eval at create (C:\github\hiplot\node_modules\webpack\node_modules\tapable\lib\HookCodeFactory.js:33:10), :33:1)
at fn (C:\github\hiplot\node_modules\webpack\lib\Compilation.js:492:9)
at _next0 (eval at create (C:\github\hiplot\node_modules\webpack\node_modules\tapable\lib\HookCodeFactory.js:33:10), :28:1)
at eval (eval at create (C:\github\hiplot\node_modules\webpack\node_modules\tapable\lib\HookCodeFactory.js:33:10), :45:1)
at fn (C:\github\hiplot\node_modules\webpack\lib\Compilation.js:492:9)
at Hook.eval [as callAsync] (eval at create (C:\github\hiplot\node_modules\webpack\node_modules\tapable\lib\HookCodeFactory.js:33:10), :40:1)
at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (C:\github\hiplot\node_modules\webpack\node_modules\tapable\lib\Hook.js:18:14)
at cont (C:\github\hiplot\node_modules\webpack\lib\Compilation.js:3057:34)
at C:\github\hiplot\node_modules\webpack\lib\Compilation.js:3105:10
at symbolIterator (C:\github\hiplot\node_modules\neo-async\async.js:3485:9)
at done (C:\github\hiplot\node_modules\neo-async\async.js:3527:9)
at C:\github\hiplot\node_modules\neo-async\async.js:2830:7
at done (C:\github\hiplot\node_modules\neo-async\async.js:2865:11)
at C:\github\hiplot\node_modules\neo-async\async.js:2818:7
at C:\github\hiplot\node_modules\webpack\lib\Compilation.js:4657:18
at C:\github\hiplot\node_modules\webpack\lib\HookWebpackError.js:68:3
at Hook.eval [as callAsync] (eval at create (C:\github\hiplot\node_modules\webpack\node_modules\tapable\lib\HookCodeFactory.js:33:10), :15:1)
at Cache.store (C:\github\hiplot\node_modules\webpack\lib\Cache.js:107:20)
at ItemCacheFacade.store (C:\github\hiplot\node_modules\webpack\lib\CacheFacade.js:137:15)
at C:\github\hiplot\node_modules\webpack\lib\Compilation.js:4654:25
at C:\github\hiplot\node_modules\webpack\lib\Cache.js:91:34
at Array. (C:\github\hiplot\node_modules\webpack\lib\cache\MemoryCachePlugin.js:45:13)
at C:\github\hiplot\node_modules\webpack\lib\Cache.js:91:19
at Hook.eval [as callAsync] (eval at create (C:\github\hiplot\node_modules\webpack\node_modules\tapable\lib\HookCodeFactory.js:33:10), :19:1)
at Cache.get (C:\github\hiplot\node_modules\webpack\lib\Cache.js:75:18)

-- inner error --
Error: ENOENT: no such file or directory, open '\package.json'
at Object.openSync (node:fs:601:3)
at Object.readFileSync (node:fs:469:35)
at CacheBackend.provideSync (C:\github\hiplot\node_modules\webpack\node_modules\enhanced-resolve\lib\CachedInputFileSystem.js:233:32)
at WebpackFileSystem.readFileAsUtf8 (C:\github\hiplot\node_modules\license-webpack-plugin\dist\WebpackFileSystem.js:52:24)
at PluginChunkReadHandler.getPackageJson (C:\github\hiplot\node_modules\license-webpack-plugin\dist\PluginChunkReadHandler.js:35:43)
at PluginChunkReadHandler.processModule (C:\github\hiplot\node_modules\license-webpack-plugin\dist\PluginChunkReadHandler.js:45:40)
at C:\github\hiplot\node_modules\license-webpack-plugin\dist\PluginChunkReadHandler.js:29:23
at WebpackModuleFileIterator.internalCallback (C:\github\hiplot\node_modules\license-webpack-plugin\dist\WebpackModuleFileIterator.js:28:13)
at WebpackModuleFileIterator.iterateFiles (C:\github\hiplot\node_modules\license-webpack-plugin\dist\WebpackModuleFileIterator.js:8:9)
at C:\github\hiplot\node_modules\license-webpack-plugin\dist\PluginChunkReadHandler.js:27:32
at WebpackChunkModuleIterator.iterateModules (C:\github\hiplot\node_modules\license-webpack-plugin\dist\WebpackChunkModuleIterator.js:25:21)
at PluginChunkReadHandler.processChunk (C:\github\hiplot\node_modules\license-webpack-plugin\dist\PluginChunkReadHandler.js:26:29)
at _loop_1 (C:\github\hiplot\node_modules\license-webpack-plugin\dist\WebpackCompilerHandler.js:89:37)
at WebpackCompilerHandler.iterateChunks (C:\github\hiplot\node_modules\license-webpack-plugin\dist\WebpackCompilerHandler.js:124:17)
at C:\github\hiplot\node_modules\license-webpack-plugin\dist\WebpackCompilerHandler.js:41:31
at fn (C:\github\hiplot\node_modules\webpack\lib\Compilation.js:478:10)
at _next1 (eval at create (C:\github\hiplot\node_modules\webpack\node_modules\tapable\lib\HookCodeFactory.js:33:10), :14:1)
at eval (eval at create (C:\github\hiplot\node_modules\webpack\node_modules\tapable\lib\HookCodeFactory.js:33:10), :33:1)
at fn (C:\github\hiplot\node_modules\webpack\lib\Compilation.js:492:9)
at _next0 (eval at create (C:\github\hiplot\node_modules\webpack\node_modules\tapable\lib\HookCodeFactory.js:33:10), :28:1)
at eval (eval at create (C:\github\hiplot\node_modules\webpack\node_modules\tapable\lib\HookCodeFactory.js:33:10), :45:1)
at fn (C:\github\hiplot\node_modules\webpack\lib\Compilation.js:492:9)
at Hook.eval [as callAsync] (eval at create (C:\github\hiplot\node_modules\webpack\node_modules\tapable\lib\HookCodeFactory.js:33:10), :40:1)
at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (C:\github\hiplot\node_modules\webpack\node_modules\tapable\lib\Hook.js:18:14)
at cont (C:\github\hiplot\node_modules\webpack\lib\Compilation.js:3057:34)
at C:\github\hiplot\node_modules\webpack\lib\Compilation.js:3105:10
at symbolIterator (C:\github\hiplot\node_modules\neo-async\async.js:3485:9)
at done (C:\github\hiplot\node_modules\neo-async\async.js:3527:9)
at C:\github\hiplot\node_modules\neo-async\async.js:2830:7
at done (C:\github\hiplot\node_modules\neo-async\async.js:2865:11)
caused by plugins in Compilation.hooks.processAssets

Error: ENOENT: no such file or directory, open '\package.json'
at Object.openSync (node:fs:601:3)
at Object.readFileSync (node:fs:469:35)
at CacheBackend.provideSync (C:\github\hiplot\node_modules\webpack\node_modules\enhanced-resolve\lib\CachedInputFileSystem.js:233:32)
at WebpackFileSystem.readFileAsUtf8 (C:\github\hiplot\node_modules\license-webpack-plugin\dist\WebpackFileSystem.js:52:24)
at PluginChunkReadHandler.getPackageJson (C:\github\hiplot\node_modules\license-webpack-plugin\dist\PluginChunkReadHandler.js:35:43)
at PluginChunkReadHandler.processModule (C:\github\hiplot\node_modules\license-webpack-plugin\dist\PluginChunkReadHandler.js:45:40)
at C:\github\hiplot\node_modules\license-webpack-plugin\dist\PluginChunkReadHandler.js:29:23
at WebpackModuleFileIterator.internalCallback (C:\github\hiplot\node_modules\license-webpack-plugin\dist\WebpackModuleFileIterator.js:28:13)
at WebpackModuleFileIterator.iterateFiles (C:\github\hiplot\node_modules\license-webpack-plugin\dist\WebpackModuleFileIterator.js:8:9)
at C:\github\hiplot\node_modules\license-webpack-plugin\dist\PluginChunkReadHandler.js:27:32
at WebpackChunkModuleIterator.iterateModules (C:\github\hiplot\node_modules\license-webpack-plugin\dist\WebpackChunkModuleIterator.js:25:21)
at PluginChunkReadHandler.processChunk (C:\github\hiplot\node_modules\license-webpack-plugin\dist\PluginChunkReadHandler.js:26:29)
at _loop_1 (C:\github\hiplot\node_modules\license-webpack-plugin\dist\WebpackCompilerHandler.js:89:37)
at WebpackCompilerHandler.iterateChunks (C:\github\hiplot\node_modules\license-webpack-plugin\dist\WebpackCompilerHandler.js:124:17)
at C:\github\hiplot\node_modules\license-webpack-plugin\dist\WebpackCompilerHandler.js:41:31
at fn (C:\github\hiplot\node_modules\webpack\lib\Compilation.js:478:10)
at _next1 (eval at create (C:\github\hiplot\node_modules\webpack\node_modules\tapable\lib\HookCodeFactory.js:33:10), :14:1)
at eval (eval at create (C:\github\hiplot\node_modules\webpack\node_modules\tapable\lib\HookCodeFactory.js:33:10), :33:1)
at fn (C:\github\hiplot\node_modules\webpack\lib\Compilation.js:492:9)
at _next0 (eval at create (C:\github\hiplot\node_modules\webpack\node_modules\tapable\lib\HookCodeFactory.js:33:10), :28:1)
at eval (eval at create (C:\github\hiplot\node_modules\webpack\node_modules\tapable\lib\HookCodeFactory.js:33:10), :45:1)
at fn (C:\github\hiplot\node_modules\webpack\lib\Compilation.js:492:9)
at Hook.eval [as callAsync] (eval at create (C:\github\hiplot\node_modules\webpack\node_modules\tapable\lib\HookCodeFactory.js:33:10), :40:1)
at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (C:\github\hiplot\node_modules\webpack\node_modules\tapable\lib\Hook.js:18:14)
at cont (C:\github\hiplot\node_modules\webpack\lib\Compilation.js:3057:34)
at C:\github\hiplot\node_modules\webpack\lib\Compilation.js:3105:10
at symbolIterator (C:\github\hiplot\node_modules\neo-async\async.js:3485:9)
at done (C:\github\hiplot\node_modules\neo-async\async.js:3527:9)
at C:\github\hiplot\node_modules\neo-async\async.js:2830:7
at done (C:\github\hiplot\node_modules\neo-async\async.js:2865:11)

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