Skip to content

V4 rc: options.json not published to npm. Causes build failure #588

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

Closed
ScriptedAlchemy opened this issue Feb 20, 2020 · 5 comments · Fixed by #589
Closed

V4 rc: options.json not published to npm. Causes build failure #588

ScriptedAlchemy opened this issue Feb 20, 2020 · 5 comments · Fixed by #589

Comments

@ScriptedAlchemy
Copy link
Member

@evilebottnawi @sokra we are missing the options.json file. It looks like it's not copied over in the build / npm ignored. Blocking me from attempting to upgrade Next.js to Webpack 5 & I don't have push / publish access. Can someone who does re-publish it with its schema file :)

  • Operating System: OSX
  • Node Version: 11
  • NPM Version: 6
  • webpack Version: 5
  • webpack-dev-middleware Version: 4.0.0-rc.0

Expected Behavior

v4 beta should work

Actual Behavior

beta does not work because the schema options are missing.

Code

{ Error: Cannot find module './options.json'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:587:15)
    at Function.Module._load (internal/modules/cjs/loader.js:513:25)
    at Module.require (internal/modules/cjs/loader.js:643:17)
    at require (internal/modules/cjs/helpers.js:22:18)
    at Object.<anonymous> (/Volumes/zack_dev/OSS/next.js/node_modules/webpack-dev-middleware/dist/index.js:22:39)
    at Module._compile (internal/modules/cjs/loader.js:707:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:718:10)
    at Module.load (internal/modules/cjs/loader.js:605:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:544:12)
    at Function.Module._load (internal/modules/cjs/loader.js:536:3) code: 'MODULE_NOT_FOUND' }
// additional code, HEY YO remove this block if you don't need it

image

How Do We Reproduce?

@ScriptedAlchemy ScriptedAlchemy changed the title options.json not published to npm V4 rc: options.json not published to npm. Causes build failure Feb 20, 2020
@alexander-akait
Copy link
Member

WIP

@ScriptedAlchemy
Copy link
Member Author

LOL looks like we both were on it 😂

@alexander-akait
Copy link
Member

@alexander-akait
Copy link
Member

Feel free to leave feedback on rc version

@ScriptedAlchemy
Copy link
Member Author

Appreciate it Evilebot Ill give it a go tomorrow

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants