This repository was archived by the owner on May 29, 2019. It is now read-only.
This repository was archived by the owner on May 29, 2019. It is now read-only.
[2.1.1] fails to find ./schema/loader.json
(schema-utils
) #534
Closed
Description
Updating to 2.1.1 results in the following error.
> Error: ENOENT: no such file or directory, open '/path/to/my/project/schema/loader.json'
>> at Error (native)
>> at Object.fs.openSync (fs.js:640:18)
>> at Object.fs.readFileSync (fs.js:508:33)
>> at validateOptions (/path/to/my/project/node_modules/schema-utils/dist/validateOptions.js:35:27)
>> at Function.ExtractTextPlugin.extract (/path/to/my/project/node_modules/extract-text-webpack-plugin/index.js:206:3)
>> at Object.<anonymous> (/path/to/my/project/webpack.config.js:19:32)
>> at Module._compile (module.js:570:32)
>> at Object.Module._extensions..js (module.js:579:10)
>> at Module.load (module.js:487:32)
>> at tryModuleLoad (module.js:446:12)
It is likely that you should use something like path.join(__dirname, 'schema/loader.json')
instead of './schema/loader.json'
in the following lines.
extract-text-webpack-plugin/index.js
Line 127 in 0271b39
extract-text-webpack-plugin/index.js
Line 206 in 0271b39