

match ( /webpackHotDevClient / ) ) config. NODE_ENV ) // removes react-dev-utils/webpackHotDevClient.js at first in the array // () config.

NODE_ENV = 'development' const fs = require ( 'fs-extra' ) const paths = require ( 'react-scripts/config/paths' ) const webpack = require ( 'webpack' ) const webpackconfig = require ( 'react-scripts/config/' ) const config = webpackconfig ( 'development' ) const pkg = require ( './package.json' ) // work with react-app-rewire and customize-cra const overrides = require ( './config-overrides' ) overrides ( config, process. Npm ERR! A complete log of this run can be found in: There is likely additional logging output above. Npm ERR! This is probably not a problem with npm. (/home/user/project/dash-dev/node_modules/react-scripts/config/paths.js:30:3)Īt Module._compile (internal/modules/cjs/loader.js:689:30)Īt Object.Module._extensions.js (internal/modules/cjs/loader.js:700:10)Īt Module.load (internal/modules/cjs/loader.js:599:32)Īt tryModuleLoad (internal/modules/cjs/loader.js:538:12)Īt Function.Module._load (internal/modules/cjs/loader.js:530:3) I take an error > watch /home/user/project/dash-devĮrror: Cannot find module '/home/user/project/dash/package.json'Īt Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)Īt Function.Module._load (internal/modules/cjs/loader.js:507:25)Īt Module.require (internal/modules/cjs/loader.js:637:17)Īt require (internal/modules/cjs/helpers.js:22:18)Īt Object.

I need to change the dist folder to my name and put it in the path below.Ĭonst appDirectory = path.resolve(fs.realpathSync(process.cwd()), './dash')
