calvinmetcalf / rollup-plugin-node-builtins

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot find module 'rollup-plugin-node-builtins'

tyler-johnson opened this issue · comments

It seems that the package.json points the main field to a file in the dist/ folder, however the distributed copy in NPM is missing the dist/ folder. I'm guessing it just wasn't built before being published?

forgot the prepublish script, 1.0.3 should be fixed

Well it's still not working:

$ ll node_modules/rollup-plugin-node-builtins/
total 40
drwxr-xr-x   10 tyler  staff    340 Mar 29 14:09 .
drwxr-xr-x  631 tyler  staff  21454 Mar 29 14:09 ..
-rw-r--r--    1 tyler  staff     36 Mar 10 11:25 .babelrc
-rw-r--r--    1 tyler  staff      5 Mar 10 11:25 .npmignore
drwxr-xr-x    3 tyler  staff    102 Mar 29 14:09 node_modules
-rw-r--r--    1 tyler  staff   2949 Mar 29 14:09 package.json
-rw-r--r--    1 tyler  staff   1605 Mar 17 13:02 readme.md
-rw-r--r--    1 tyler  staff    216 Mar 14 11:58 rollup.config.js
drwxr-xr-x    4 tyler  staff    136 Mar 29 14:09 src
drwxr-xr-x    4 tyler  staff    136 Mar 29 14:09 test

fuckit, made it a post install step in 1.0.4

hehe works for me! thanks

commented

This just started happening again for me in 1.0.5 so I had to lock it back to 1.0.4.
Looks like this was filed here: #11

ok try 1.0.6