$ npm run build
[email protected] build D:\github\react
npm run version-check && node scripts/rollup/build.js
[email protected] version-check D:\github\react
node ./scripts/tasks/version-check.js
STARTING react.development.js (umd_dev)
Error: Could not load D:\github\react\node_modules\fbjs\lib\warning (imported by D:\github\react\src\isomorphic\modern\class\ReactNoopUpdateQueue.js): ENOENT: no such file or directory, open 'D:\github\react\node_modules\fbjs\lib\warning'
at D:\github\react\node_modules\rollup\dist\rollup.js:9461:10
But I can found the package in the node_modules.(win10 64)
It is quite possible that the build process is broken on Windows as we just rewrote it. Would you like to help fix it?
It seems like that warning.js is resolved to 'D:\github\react\node_modules\fbjs\lib\warning', it's lack of a extension like '.js'
It't due to "rollup-plugin-alias", isFilePath is not work on windows.
See this issue
Has this problem been solved? I still have the same problem
@JeffWong16 would you like to test this out again and see if it's still broken?
Let's track this in https://github.com/facebook/react/issues/9540.
Most helpful comment
It't due to "rollup-plugin-alias", isFilePath is not work on windows.
See this issue